query_rag
Answer research questions by retrieving cited verbatim answers from academic paper collections, with optional filtering by year, venue, or authors.
Instructions
Run a RAG query against the paper corpus.
Args: question: The research question to answer. filter: Optional Milvus filter expression. Examples: - 'metadata["year"] == 2023' (papers from 2023) - 'metadata["year"] >= 2020 and metadata["year"] <= 2024' - 'json_contains(metadata["venue"], "acl")' (venue is stored as array) - 'json_contains(metadata["authors"], "John Smith")' (authors is stored as array) collection_ids: Collections to query. Defaults to ['anthology']. Pass multiple for cross-collection RAG (results will be retrieved from all named collections).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | ||
| question | Yes | ||
| collection_ids | No |