-
Notifications
You must be signed in to change notification settings - Fork 10.9k
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
structured outputs
not working for 4o-mini
#14475
Comments
The issue you're encountering with the A similar closed issue suggested setting the To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
same as you. --update-- I try to request by curl with the json_schema method, and get the response of normal format. "choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": ""
},
"finish_reason": "stop"
}
], --update-- I try the python demo from Structured Outputs Offical and get the right format. I can't locate the error rigth now. |
Same issue here. |
experiencing the same issue |
Same here. it works for the past months until today. |
I got the similar issue using GPT-4o-2024-11-20. |
For anyone who is interested working on this, please submit a pull request to https://github.com/langgenius/dify-official-plugins. |
I got an answer from dify support team via mail. |
Self Checks
Dify version
1.0.0
Cloud or Self Hosted
Cloud
Steps to reproduce
4o-mini
json_object
Note: It doesn't matter if you select
json_object
orjson_schema
, the error will be the same.✔️ Expected Behavior
a JSON structured output.
❌ Actual Behavior
The text was updated successfully, but these errors were encountered: