-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Ekzhu structured message #6099
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ekzhu structured message #6099
Conversation
… message Pydantic models.
@microsoft-github-policy-service agree [company="{Aegis Enterprise Pty Ltd}"] |
@microsoft-github-policy-service agree company="Aegis Enterprise Pty Ltd" |
Thanks! Can we target this to main once the #5131 is merged? |
Why are these changes needed?
Related issue number
Checks
This does not close #4623 but helps with integrating Structured message into Assistant agents. There are two primary changes:
StructuredMessage
instead of just a simplemodel_dump
if converting.class StructuredMessageComponent(ComponentBase[StructureMessageConfig], Component[StructureMessageConfig])
that uses the Utility classautogen_agentchat.utils.JSONSchemaToPydantic
to deserialize json schema to dynamically generated Pydantic classes.