Question Answering
POST/v1/stores/question-answering
Authorization
Bearer token for API authentication. Format: `Bearer YOUR_API_KEY`
Request Body
Question to answer. If not provided, the question will be extracted from the passed messages.
Constraints
IDs or names of stores to search
10
Number of results to return
Constraints
Optional filter conditions
Optional list of file IDs to filter chunks by (inclusion filter)
Constraints
Options for configuring store chunk searches.
false
Whether to stream the answer
Options for question answering.
Response Body
The answer generated by the LLM
Source documents used to generate the answer
Search Files
Perform semantic search across complete store files. This endpoint searches through store files using semantic similarity matching. Unlike chunk search, it returns complete matching files rather than individual chunks. Supports complex search queries with filters and returns relevance-scored results.
Create Embeddings
Create embeddings for text or images using the specified model, encoding format, and normalization.