OptionalfilterFilter the files used for retrieval by metadata, such as { category: 'returns' }.
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.
OptionalmodelThe large language model to use for answer generation
OptionaltemperatureControls response variability where supported by the model. Lower values favor more consistent answers.
Request format for sending a chat completion request to an assistant.
Example