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

JSON parsing errors with Ollama vision model outputs #1230

Open
6 tasks
nicklas2116 opened this issue Dec 2, 2024 · 0 comments
Open
6 tasks

JSON parsing errors with Ollama vision model outputs #1230

nicklas2116 opened this issue Dec 2, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@nicklas2116
Copy link

  • [x ] This is actually a bug report.
  • I am not getting good LLM Results
  • 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?

  • gpt-3.5-turbo
  • gpt-4-turbo
  • gpt-4
  • [ x] llava, llama3.2-vision, etc.

Describe the bug
Even though these models produce valid structured JSON outputs, the library is unable to parse the output correctly. Different parsing errors each time.

To Reproduce
Just run any of these models.

Expected behavior
Expected the output to be parsable, since it is correct JSON

@github-actions github-actions bot added the bug Something isn't working label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant