Answer a question based on the documents matching the provided metadata filter.
The metadata_filter parameter supports MongoDB-like query syntax with operators:
$eq, $ne, $gt, $lt, $gte, $lte, $in, $nin$contains, $containsAny, $notContains, $size$and, $or, $not$type$regex, $iregexjson { "$and": [ { "category": "finance" }, { "tags": { "$contains": ["important"] } }, { "$or": [ { "priority": { "$gt": 2 } }, { "status": "active" } ] } ] }
Request model for asking questions about documents.
If True, optimize the metadata filter based on the question
If True, optimize the question by removing parts covered by metadata filter
Optional metadata filters using MongoDB-like query syntax
Filter by created_at database field. Supports operators: $eq, $ne, $gt, $lt, $gte, $lte, $in, $nin. Use ISO date format (e.g., '2024-01-01T00:00:00')
Filter by updated_at database field. Supports operators: $eq, $ne, $gt, $lt, $gte, $lte, $in, $nin. Use ISO date format (e.g., '2024-01-01T00:00:00')
Format of the answer (MARKDOWN or PLAIN_TEXT)
MARKDOWN, PLAIN_TEXT