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

feat: support openai structured output as objecct #1229

Merged
merged 3 commits into from
Dec 3, 2024

Conversation

willshang76
Copy link
Collaborator

@willshang76 willshang76 commented Nov 27, 2024

Description

Support openai structured output a object.

Motivation and Context

Why is this change required? What problem does it solve?
close #1204

  • I have raised an issue to propose this change (required for new features and bug fixes)

Types of changes

What types of changes does your code introduce? Put an x in all the boxes that apply:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds core functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation (update in the documentation)
  • Example (update in the folder of example)

Implemented Tasks

  • Subtask 1
  • Subtask 2
  • Subtask 3

Checklist

Go over all the following points, and put an x in all the boxes that apply.
If you are unsure about any of these, don't hesitate to ask. We are here to help!

  • I have read the CONTRIBUTION guide. (required)
  • My change requires a change to the documentation.
  • I have updated the tests accordingly. (required for a bug fix or a new feature)
  • I have updated the documentation accordingly.

@willshang76 willshang76 added Message Related to camel messages Model Related to backend models labels Nov 27, 2024
@willshang76 willshang76 self-assigned this Nov 27, 2024
@willshang76 willshang76 added this to the Sprint 17 milestone Nov 27, 2024
@Wendong-Fan Wendong-Fan requested a review from zjrwtx November 30, 2024 20:08
@Wendong-Fan Wendong-Fan linked an issue Dec 3, 2024 that may be closed by this pull request
2 tasks
Copy link
Member

@Wendong-Fan Wendong-Fan left a comment

Choose a reason for hiding this comment

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

Thanks @willshang76

@Wendong-Fan Wendong-Fan merged commit 43336c9 into master Dec 3, 2024
6 checks passed
@Wendong-Fan Wendong-Fan deleted the openai_structured_object branch December 3, 2024 16:53
@zjrwtx
Copy link
Collaborator

zjrwtx commented Dec 3, 2024

I tested well locally,thanks @willshang76 @Wendong-Fan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Message Related to camel messages Model Related to backend models
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

[Feature Request] Support structured output as an object
3 participants