[ ] I have tried asking for help in the community on discord or discussions and have not received a response.
[ ] I have tried searching the documentation and have not found an answer.
What Model are you using?
[X] gpt-3.5-turbo
[ ] gpt-4-turbo
[ ] gpt-4
[ ] Other (please specify)
Describe the bug
My collegue and I always get a ValidationError "Invalid JSON" when we run our code with instructor. The odd thing is, that sometimes it works without any error, sometimes there is the ValidationError again. We also tried it out with code from the documentation, also does not seem to work.
To Reproduce
Steps to reproduce the behavior, including code snippets of the model and the input data and openai response.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
What Model are you using?
Describe the bug My collegue and I always get a ValidationError "Invalid JSON" when we run our code with instructor. The odd thing is, that sometimes it works without any error, sometimes there is the ValidationError again. We also tried it out with code from the documentation, also does not seem to work.
To Reproduce Steps to reproduce the behavior, including code snippets of the model and the input data and openai response.
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.