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

OpenAI: Use Structured Outputs #1627

Open
MrSerth opened this issue Sep 1, 2024 · 0 comments
Open

OpenAI: Use Structured Outputs #1627

MrSerth opened this issue Sep 1, 2024 · 0 comments

Comments

@MrSerth
Copy link
Member

MrSerth commented Sep 1, 2024

OpenAI recently introduced Structured Outputs in their API, allowing developers to specify a JSON schema that the response should adhere to. For CodeHarbor, that could be useful to split a potential code response more easily from an explanation when generating unit tests.

The ruby-openai gem we use currently discusses the possibility to integrate structured outputs natively: https://github.com/alexrudall/ruby-openai/issues/508.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant