Skip to content

Model gpt-4o-2024-08-06 Unable to get json response - Expecting value: line 1 column 1 (char 0) #1582

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

Closed
rachelhj opened this issue Apr 21, 2025 · 2 comments

Comments

@rachelhj
Copy link

rachelhj commented Apr 21, 2025

I am using OpenAI model gpt-4o-2024-08-06. It seems like the model is returning results with the format starting with ```json, which isn't what WrenAI expected. Is there any way to fix the prompt so I can tune it to return response without ```json"?

@cyyeh
Copy link
Member

cyyeh commented Apr 21, 2025

@rachelhj please attach your wren ai service container logs

@rara011088
Copy link

@cyyeh (replying here with my other account)
My logs is just like this one here: #1354
Maybe I'll try this solution and see if it works: #1529
Please let me know if there is a better way to fix it.
Thank you!

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

3 participants