Streams a response to a natural language query using Server-Sent Events
message
: Contains intermediate response chunks as they are generatederror
: Contains error messages if something goes wrongdone
: Final event containing the complete response with metadatadone
event includes the complete response along with metadata and citationserror
event and close the connectionclose
eventKnowledge engine ID
Streaming response using Server-Sent Events
The response is of type string
.