Skip to content
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

Add structured output #112

Merged
merged 12 commits into from
Dec 3, 2024
Merged

Conversation

davorrunje
Copy link
Collaborator

@davorrunje davorrunje commented Nov 29, 2024

Why are these changes needed?

Add structured_format parameter to the ConversibleAgent class and use it to define JSON output format of the agent.

Related issue number

Closes #23

Checks

Signed-off-by: Davor Runje <davor@airt.ai>
Signed-off-by: Davor Runje <davor@airt.ai>
Signed-off-by: Sternakt <sternakt@gmail.com>
@davorrunje
Copy link
Collaborator Author

We are waiting for @sternakt to push his changes to this branch.

Signed-off-by: Sternakt <sternakt@gmail.com>
@qingyun-wu
Copy link
Collaborator

@ohdearquant could you help review this? Please approve if it reads good to you! Thank you!

@qingyun-wu
Copy link
Collaborator

qingyun-wu commented Dec 3, 2024

@davorrunje @sternakt It seems meta data of the notebook included in this PR was not updated properly. I made direct changes to the notebook, so we are all good here. Please remember to check meta data in future notebooks. Thank you!

@qingyun-wu qingyun-wu enabled auto-merge December 3, 2024 03:54
Copy link
Collaborator

@ohdearquant ohdearquant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Main changes are the response format and oai client, which is a clean straightforward implementation.

@qingyun-wu qingyun-wu added this pull request to the merge queue Dec 3, 2024
Merged via the queue into main with commit 321e833 Dec 3, 2024
206 of 214 checks passed
@davorrunje davorrunje deleted the 23-feature-request-structured-output branch December 3, 2024 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request]: Structured Output
5 participants