dify icon indicating copy to clipboard operation
dify copied to clipboard

Feature request: support `structured outputs` for `o3-mini` and other openai reasoning models

Open elliottower opened this issue 10 months ago • 1 comments

Self Checks

  • [x] I have searched for existing issues search for existing issues, including closed ones.
  • [x] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • [x] Please do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing? Tell me about your story.

It looks like you can choose to return a JSON, but can't specify the schema like you can with 4o or other GPT models.

O3: Image

4o: Image

2. Additional context or comments

No response

3. Can you help us with this feature?

  • [ ] I am interested in contributing to this feature.

elliottower avatar Feb 25 '25 21:02 elliottower

Hi, @elliottower. I'm Dosu, and I'm helping the Dify team manage their backlog. I'm marking this issue as stale.

Issue Summary:

  • Request for structured output support in o3-mini and other OpenAI reasoning models.
  • Highlighted absence of JSON schema specification feature, unlike in models like GPT-4o.
  • No comments or further activity on the issue since it was opened.

Next Steps:

  • Please confirm if this issue is still relevant to the latest version of the Dify repository by commenting on the issue.
  • If there is no further activity, the issue will be automatically closed in 15 days.

Thank you for your understanding and contribution!

dosubot[bot] avatar Mar 28 '25 16:03 dosubot[bot]