You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support for open ai structured output mode in agent chat. The ability to give an agent a Pydantic class that it must adhere to in the response.
This could be dumped to json as a message for intermediate agents?
Why is this needed?
This would make integrating AutoGen with api requests easier. e.g. consider an answer agent at the end of a complex agentic group chat. It might need to formulate the answer in a specific json format, once it takes into account all the previous messages.
OpenAI structured data mode makes the likelihood of a correct JSON structure far more likely than prompting alone.
The text was updated successfully, but these errors were encountered:
There was a PR a while back that add the response format option to model client. It is already available for OpenAIChatCompletionClient and AzureOpenAIChatCompletionClient.
What feature would you like to be added?
Support for open ai structured output mode in agent chat. The ability to give an agent a Pydantic class that it must adhere to in the response.
This could be dumped to json as a message for intermediate agents?
Why is this needed?
This would make integrating AutoGen with api requests easier. e.g. consider an answer agent at the end of a complex agentic group chat. It might need to formulate the answer in a specific json format, once it takes into account all the previous messages.
OpenAI structured data mode makes the likelihood of a correct JSON structure far more likely than prompting alone.
The text was updated successfully, but these errors were encountered: