dify-for-dsl  by wwwzhouhui

Dify DSL workflows for LLM application development

created 8 months ago
1,944 stars

Top 23.0% on sourcepulse

GitHubView on GitHub
Project Summary

This repository provides a collection of DSL (Domain Specific Language) workflow scripts designed for the Dify LLM application development platform. It offers pre-built, reusable workflows for various tasks, enabling users to quickly implement advanced AI functionalities without starting from scratch. The target audience includes developers and power users of Dify looking to leverage diverse AI capabilities.

How It Works

The project consists of .yml files, each representing a Dify workflow. These workflows are built by chaining together Dify's core components: LLM models, RAG pipelines, agents, and various tools. The scripts leverage external APIs (e.g., for image generation, text-to-speech, financial data) and internal Dify tools (e.g., document extractors, database query tools) to achieve specific outcomes. This approach allows for rapid prototyping and deployment of complex AI applications by providing ready-to-use, modular workflow definitions.

Quick Start & Requirements

  • Import DSL: Import the .yml files into Dify via "Create App" -> "Import DSL".
  • Dify Version: Requires Dify 0.8.0 or above; many workflows are tested with 0.15.3 and 1.1.3.
  • Dependencies: Specific workflows may require API keys for services like FLUX, Jimeng AI, Akshare, and others. Docker deployment is also supported (docker-compose up --build).
  • Resources: Setup time depends on Dify installation and API key configuration.
  • Documentation: Technical documentation is available via a Feishu link.

Highlighted Details

  • Extensive library of workflows covering AI art generation, data extraction (invoices, financial data), text-to-speech, content creation, web scraping, and more.
  • Demonstrates integration with various third-party APIs and services, including ComfyUI, Jimeng AI, Akshare, and cloud storage solutions.
  • Includes workflows for advanced agentic behavior, RAG, and custom tool integration.
  • Provides video links showcasing specific workflow demonstrations on platforms like Bilibili and YouTube.

Maintenance & Community

The repository is actively maintained by wwwzhouhui, with recent updates in April 2025. It references several supporting open-source projects, including Dify, jimeng-free-api, and akshare. A GitHub Issues section is available for feedback and problem reporting.

Licensing & Compatibility

The repository itself does not explicitly state a license. However, it is built upon Dify, which is an open-source LLM application development platform. Compatibility for commercial use would depend on the licensing of Dify and any third-party APIs used within the workflows.

Limitations & Caveats

  • Some workflows may require specific API keys or configurations for external services.
  • The "Document Extractor" tool does not support .doc files; conversion to .docx is recommended.
  • Initial setup for Dify's model/plugin downloads can be slow without configuring a PIP mirror URL in .env.
Health Check
Last commit

3 days ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
2
Star History
991 stars in the last 90 days

Explore Similar Projects

Starred by Nat Friedman Nat Friedman(Former CEO of GitHub), Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), and
7 more.

langflow by langflow-ai

2.9%
93k
Visual tool for AI agent and workflow creation/deployment
created 2 years ago
updated 1 day ago
Feedback? Help us improve.