Implement a template field for LLM to respond to a specific json_object #12533

Closed
opened 2026-02-21 19:07:51 -05:00 by yindo · 2 comments
Owner

Originally created by @juniorsereno on GitHub (Apr 3, 2025).

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • 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.

Just like in the json_schema where there is a field that allows you to control the json response of LLM, it would be useful to have a field to control the json_object of LLM which does not support json_schema. Is this functionality possible? It would really be useful.

Thank you for the hard work.

2. Additional context or comments

No response

3. Can you help us with this feature?

  • I am interested in contributing to this feature.
Originally created by @juniorsereno on GitHub (Apr 3, 2025). ### Self Checks - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [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. Just like in the json_schema where there is a field that allows you to control the json response of LLM, it would be useful to have a field to control the json_object of LLM which does not support json_schema. Is this functionality possible? It would really be useful. Thank you for the hard work. ### 2. Additional context or comments _No response_ ### 3. Can you help us with this feature? - [x] I am interested in contributing to this feature.
yindo added the 💪 enhancement label 2026-02-21 19:07:51 -05:00
yindo closed this issue 2026-02-21 19:07:51 -05:00
Author
Owner

@Yevanchen commented on GitHub (Apr 7, 2025):

It will release soon

@Yevanchen commented on GitHub (Apr 7, 2025): It will release soon
Author
Owner

@dosubot[bot] commented on GitHub (May 8, 2025):

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

Issue Summary:

  • You requested a template field to control JSON responses when JSON schema is unsupported.
  • This feature aims to enhance functionality, and you expressed interest in contributing.
  • Yevanchen mentioned that the feature will be released soon, indicating progress.

Next Steps:

  • Please confirm if this issue is still relevant to the latest version of the Dify repository by commenting here.
  • If no updates are provided, the issue will be automatically closed in 15 days.

Thank you for your understanding and contribution!

@dosubot[bot] commented on GitHub (May 8, 2025): Hi, @juniorsereno. I'm [Dosu](https://dosu.dev), and I'm helping the Dify team manage their backlog. I'm marking this issue as stale. **Issue Summary:** - You requested a template field to control JSON responses when JSON schema is unsupported. - This feature aims to enhance functionality, and you expressed interest in contributing. - Yevanchen mentioned that the feature will be released soon, indicating progress. **Next Steps:** - Please confirm if this issue is still relevant to the latest version of the Dify repository by commenting here. - If no updates are provided, the issue will be automatically closed in 15 days. Thank you for your understanding and contribution!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#12533