Answer questions using Retrieval-Augmented Generation from your indexed documents with source citations.
Requirements:
Key Features:
Note: Example requests/responses shown here are illustrative. When using the live “Try it” tool, you may see two responses: an HTTP status preview from the client and the API’s JSON body (StandardResponse envelope).
Your API key from account settings
Your bot ID from account settings
The question to answer using indexed documents
"ما هو الاسم الكامل لمحمد صلاح؟"
Names of document indexes to search
["Mohamed Salah"]Number of document chunks to retrieve
1 <= x <= 5010
Maximum number of documents to process
1 <= x <= 5010
Controls creativity in answer generation
0 <= x <= 10.1
Maximum tokens in generated answer
1 <= x <= 40961024
Whether to update global context
false
Whether to stream the response
false