dify icon indicating copy to clipboard operation
dify copied to clipboard

Looking for Dify DSL Specification

Open poppop0911 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 report (我已阅读并同意 Language Policy).
  • [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • [x] Please do not modify this template :) and fill in all the required fields.

Provide a description of requested docs changes

I'm currently exploring Dify and specifically looking for documentation or specifications regarding its DSL (Domain Specific Language) that can be used for LLM output generation. However, I haven't been able to locate any comprehensive documentation about this.

Could someone please point me to:

  • The official DSL specification documentation
  • Any examples of using Dify DSL with LLMs
  • Best practices for implementing DSL generation with Dify

This information would be extremely helpful for implementing structured output generation in my project.

Thank you in advance for any guidance or resources you can provide!

poppop0911 avatar Mar 27 '25 21:03 poppop0911

Hey @poppop0911! 👋 I'm here to help you with any bugs, questions, or contributions you have for Dify. I'm an expert bot and I'm ready to assist you while you wait for a human maintainer.

I wasn't able to find specific documentation or specifications for Dify's Domain Specific Language (DSL) within the repository. However, there is a section in the Dify documentation that addresses structured output generation using DSL. It explains how to use JSON Schema to ensure that the output from a language model adheres to a defined data structure. You can find more details in the document titled "DifyでJSONスキーマ出力を使用する方法" [1][2][3].

Additionally, I found a similar unsolved discussion regarding API documentation for Dify, which might be of interest: HelpDoes the Dify project have API documentation? [4].

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

dosubot[bot] avatar Mar 27 '25 21:03 dosubot[bot]