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

Any way to get OpenAI response within the code when schema validation fails? #161

Open
drewpereli opened this issue Apr 18, 2024 · 0 comments

Comments

@drewpereli
Copy link

I know it's possible to log it with debug mode, but we write our request/response messages to a database (whether they succeed or fail). Is it possible to get the content of failed responses within the code itself?

I know it'd be possible to hack something together with zod preprocessing, but it's not ideal.

Thanks!

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

No branches or pull requests

1 participant