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

structured outputs / pydantic #84

Open
Dyke-F opened this issue Jul 17, 2024 · 1 comment
Open

structured outputs / pydantic #84

Dyke-F opened this issue Jul 17, 2024 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@Dyke-F
Copy link

Dyke-F commented Jul 17, 2024

Is there a way to enforce structured outputs?
Like in DSPY or instructor?
Like using "response_model" as a pydantic model in the openai chat completions endpoint?

@mertyg
Copy link
Member

mertyg commented Jul 20, 2024

Totally -- We started integrating Guidance #89 ! This is really important I agree, and I hope we'll get better here soon.

@mertyg mertyg added enhancement New feature or request help wanted Extra attention is needed labels Jul 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants