send a query to the specified llm, receive a streaming response

Privileges: GAIA_VIEW

This takes in a prompt and performs necessary retrieval and summarization.
It streams SSE events where an event can be of multiple types:

  • data: response for the query
  • follow_up: questions / clarifications for user input
  • progress: progress events that gives Gaia's analysis and reasoning to the question
  • error: Error in the system.

The stream ends after a terminal 'data' or 'error' event

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string | null

Specifies the LLM name.

string | null

Specifies the LLM Id.

llm
object | null

Specifies the LLM params.

datasetNames
array of objects | null

Specifies the list of dataset names

datasetNames
string | null
required

The query sent to the Llm

string | null

Detected language of the query in BCP47 format.

string | null

Conversation ID to add this query to. If not provided, creates a new conversation.

history
array of objects
history
metadata
object | null

Specifies the metadata assocated with chat history.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/event-stream
application/json