Skip to content

openai structured output #32

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

openai structured output #32

wants to merge 2 commits into from

Conversation

Araxeus
Copy link
Owner

@Araxeus Araxeus commented Aug 8, 2024

use openai.beta.chat.completions.parse with gpt-4o-2024-08-06 and a custom structured output to guarantee valid output

see https://openai.com/index/introducing-structured-outputs-in-the-api/

Araxeus added 2 commits August 8, 2024 21:48
use `openai.beta.chat.completions.parse` with `gpt-4o-2024-08-06` and a custom structured output to guarantee valid output
Copy link

sonarqubecloud bot commented Aug 8, 2024

@Araxeus
Copy link
Owner Author

Araxeus commented Aug 9, 2024

Seems to somehow be less reliable than the previous version... weird

maybe its because gpt-4o-2024-08-06 is less proficient in hebrew?

@Araxeus Araxeus force-pushed the main branch 3 times, most recently from fffbbca to d01194f Compare December 25, 2024 19:54
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.

1 participant