rag_query
Query documents with context using a Retrieval-Augmented Generation (RAG) system. Automatically creates an index if it does not exist, enabling quick access to relevant information from stored repositories and text files.
Instructions
Query a document using RAG. Note: If the index does not exist, it will be created when you query, which may take some time.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
document_id | Yes | ID of the document to query | |
query | Yes | Query to run against the document |
Input Schema (JSON Schema)
{
"properties": {
"document_id": {
"description": "ID of the document to query",
"type": "string"
},
"query": {
"description": "Query to run against the document",
"type": "string"
}
},
"required": [
"document_id",
"query"
],
"type": "object"
}