-
Notifications
You must be signed in to change notification settings - Fork 258
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
Make objects json serializable? #391
Comments
I also tried to make output to be JSONL (JSON Lines https://jsonlines.org/ ) and it also failed:
error:
|
Hi there, as soon as
Also you can print each of
Hope that helps! |
Thanks you! So, this works:
This does not work ("voices has no attribute json"):
Iterating over voices , works:
So, looks like each "voice" and "reponse" are Pydantic, but "voices" object is not Pydantic. |
Yes, that's correct. |
Feature Description
Trying to adopt example to pretty print json
currently trying in differnt ways and does not seem to work with
json
pretty printing...Use Case
No response
Alternatives Considered
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: