Hacker News new | ask | show | jobs
by jboschpons 717 days ago
Hey! I ran into the same issues. In order to fix the invalid output you can specify to ChatGPT that you want to recieve the response as a JSON formatted text.
1 comments

I think that is what I did: I had it use the functions api to pass the translations, but it still wouldn't output everything in the small languages.

I was a bit lazy, so I just inform the user to re-run it manually instead of automatically handling it.