Optional
filterA filter against which documents can be retrieved.
Optional
includeIf true, the assistant will be instructed to return highlights from the referenced documents that support its response.
Optional
jsonIf true, the assistant will be instructed to return a JSON response.
The MessagesModel to send to the Assistant. Can be a list of strings or a list of objects. If sent as a list of
objects, must have exactly two keys: role
and content
. The role
key can only be one of user
or assistant
.
Optional
modelThe large language model to use for answer generation. Must be one of the models defined in ChatModelEnum. If empty, the assistant will default to using 'gpt-4o' model.
Describes the request format for sending a
chat
orchatStream
request to an assistant.