dzhng / zod-gpt

Get structured, fully typed, and validated JSON outputs from OpenAI and Anthropic models.
MIT License
574 stars 12 forks source link

Is it possible to get the response data even if the parsing has failed? #4

Closed yannxaver closed 11 months ago

dzhng commented 11 months ago

You should be able to get it via response.content (which lets you access the underlying llm-api return types.