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

OpenAI output is not validated #1

Open
seofernando25 opened this issue Oct 27, 2023 · 1 comment
Open

OpenAI output is not validated #1

seofernando25 opened this issue Oct 27, 2023 · 1 comment

Comments

@seofernando25
Copy link
Owner

In rare occasions OpenAI can spit a garbage JSON files.

  • Add a weird prefix such as "Here is your JSON {...} " our " [Output] {...} "
  • And depending if we have curse words or not it may straight out refuse to translate

And we don't check for these edge cases

@seofernando25 seofernando25 changed the title Output is not validated OpenAI output is not validated Oct 27, 2023
@seofernando25
Copy link
Owner Author

Consider using JSON mode

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