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

error parsing the JSON object #2

Open
arthur-x88 opened this issue Sep 12, 2024 · 1 comment
Open

error parsing the JSON object #2

arthur-x88 opened this issue Sep 12, 2024 · 1 comment

Comments

@arthur-x88
Copy link

There was an error parsing the JSON object, probably, the model outputted a wrongly formatted JSON object. Try to run the program again :)
Expecting value: line 1 column 1 (char 0)

After running python3 -m app

@diegovelilla
Copy link
Owner

this error is quite common, the model is asked to output in json format (later I learned I can force it with an attribute in the groq call and not via prompting, will change). Either way, sometimes fails since it's still a "small-ish" model for the task it is developing. Will change it but expect the error to still occur while still using LLaMA 3.1 70B. As the error message suggest, just by re-running the program, it will most likely run correctly again. It's a probability game.

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

2 participants