How this works is that we will pass the Response schema to the OpenAI LLM via their functions parameter.
This is similar to how we pass tools for the agent to use.When the Response function is called by OpenAI, we want to use that as a signal to return to the user.
This notebook covers how to have an agent return a structured output.
This notebook covers how to have an agent return a structured output. ->: How this works is that we will pass the Response schema to the OpenAI LLM via their functions parameter.
This is similar to how we pass tools for the agent to use.When the Response function is called by OpenAI, we want to use that as a signal to return to the user.