Streaming chat completion API that provides real-time response generation via server-sent events.
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 (streamed chunks).
Your API key from account settings
Your bot ID from account settings
The message to send to the AQL model
"ما هي عاصمة مصر وما أهم معالمها السياحية؟"
Optional previous messages for context-aware conversations
Configuration parameters for text generation
Style of response generation:
0 <= x <= 53
Streaming response via server-sent events
Server-sent events stream