Hello.
I’m trying to start OpenAI Assistant with Python, and don’t understand how to use it correctly:
Basically, I want to ask several questions in a single run (I hope that some data remains in the context window), but with a different output format.
To do that I call
But I found that the answer is always formatted with the JSON schema I uploaded in the playground for the test. What can I do to get data in the desired format?
Thank you for the answer; my question is rather generic - how to change the structured output format with the JSON schema dynamically during a single session with assistance?
The parameters the functions accepts, described as a JSON Schema object. See the guide for examples, and the JSON Schema reference for documentation about the format.