Searches the RAG system’s knowledge base using a query and returns the most relevant documents based on the specified retrieval method.
The unique identifier (ID) of the RAG system to query (must be a 24-character hex string).
"654c602a46c3b6d4e28741b0"
The search query string used to retrieve documents.
"type the necessary query"
The maximum number of top relevant documents to return.
10
Factor for Maximum Marginal Relevance (MMR) trade-off (0.0 to 1.0).
0.6
The retrieval strategy to use.
basic, mmr, hyde, time_aware "basic"
Minimum score required for a document to be included (0.0 to 1.0).
0
Factor for time-aware retrieval to weight newer documents higher.
0.7
Documents successfully retrieved.
Placeholder for the retrieved document structure (typically a list of Document objects with relevance scores).