您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. [![](./images/describe.png)](https://dify.ai)
  2. <p align="center">
  3. <a href="./README.md">English</a> |
  4. <a href="./README_CN.md">简体中文</a> |
  5. <a href="./README_JA.md">日本語</a> |
  6. <a href="./README_ES.md">Español</a> |
  7. <a href="./README_KL.md">Klingon</a> |
  8. <a href="./README_FR.md">Français</a>
  9. </p>
  10. <p align="center">
  11. <a href="https://dify.ai" target="_blank">
  12. <img alt="Static Badge" src="https://img.shields.io/badge/AI-Dify?logo=AI&logoColor=%20%23f5f5f5&label=Dify&labelColor=%20%23155EEF&color=%23EAECF0"></a>
  13. <a href="https://discord.gg/FngNHpbcY7" target="_blank">
  14. <img src="https://img.shields.io/discord/1082486657678311454?logo=discord"
  15. alt="chat on Discord"></a>
  16. <a href="https://twitter.com/intent/follow?screen_name=dify_ai" target="_blank">
  17. <img src="https://img.shields.io/twitter/follow/dify_ai?style=social&logo=X"
  18. alt="follow on Twitter"></a>
  19. <a href="https://hub.docker.com/u/langgenius" target="_blank">
  20. <img alt="Docker Pulls" src="https://img.shields.io/docker/pulls/langgenius/dify-web"></a>
  21. </p>
  22. <p align="center">
  23. <a href="https://discord.com/events/1082486657678311454/1211724120996188220" target="_blank">
  24. Dify.AI Upcoming Meetup Event [👉 Click to Join the Event Here 👈]
  25. </a>
  26. <ul align="center" style="text-decoration: none; list-style: none;">
  27. <li> US EST: 09:00 (9:00 AM)</li>
  28. <li> CET: 15:00 (3:00 PM)</li>
  29. <li> CST: 22:00 (10:00 PM)</li>
  30. </ul>
  31. </p>
  32. <p align="center">
  33. <a href="https://dify.ai/blog/dify-ai-unveils-ai-agent-creating-gpts-and-assistants-with-various-llms" target="_blank">
  34. Dify.AI Unveils AI Agent: Creating GPTs and Assistants with Various LLMs
  35. </a>
  36. </p>
  37. **Dify** is an LLM application development platform that has helped built over **100,000** applications. It integrates BaaS and LLMOps, covering the essential tech stack for building generative AI-native applications, including a built-in RAG engine. Dify allows you to **deploy your own version of Assistants API and GPTs, based on any LLMs.**
  38. ![](./images/demo.png)
  39. ## Using our Cloud Services
  40. You can try out [Dify.AI Cloud](https://dify.ai) now. It provides all the capabilities of the self-deployed version, and includes 200 free requests to OpenAI GPT-3.5.
  41. ## Dify vs. LangChain vs. Assistants API
  42. | Feature | Dify.AI | Assistants API | LangChain |
  43. |---------|---------|----------------|-----------|
  44. | **Programming Approach** | API-oriented | API-oriented | Python Code-oriented |
  45. | **Ecosystem Strategy** | Open Source | Close Source | Open Source |
  46. | **RAG Engine** | Supported | Supported | Not Supported |
  47. | **Prompt IDE** | Included | Included | None |
  48. | **Supported LLMs** | Rich Variety | OpenAI-only | Rich Variety |
  49. | **Local Deployment** | Supported | Not Supported | Not Applicable |
  50. ## Features
  51. ![](./images/models.png)
  52. **1. LLM Support**: Integration with OpenAI's GPT family of models, or the open-source Llama2 family models. In fact, Dify supports mainstream commercial models and open-source models (locally deployed or based on MaaS).
  53. **2. Prompt IDE**: Visual orchestration of applications and services based on LLMs with your team.
  54. **3. RAG Engine**: Includes various RAG capabilities based on full-text indexing or vector database embeddings, allowing direct upload of PDFs, TXTs, and other text formats.
  55. **4. AI Agent**: Based on Function Calling and ReAct, the Agent inference framework allows users to customize tools, what you see is what you get. Dify provides more than a dozen built-in tool calling capabilities, such as Google Search, DELL·E, Stable Diffusion, WolframAlpha, etc.
  56. **5. Continuous Operations**: Monitor and analyze application logs and performance, continuously improving Prompts, datasets, or models using production data.
  57. ## Before You Start
  58. **Star us on GitHub, and be instantly notified for new releases!**
  59. ![star-us](https://github.com/langgenius/dify/assets/100913391/95f37259-7370-4456-a9f0-0bc01ef8642f)
  60. - [Website](https://dify.ai)
  61. - [Docs](https://docs.dify.ai)
  62. - [Deployment Docs](https://docs.dify.ai/getting-started/install-self-hosted)
  63. - [FAQ](https://docs.dify.ai/getting-started/faq)
  64. ## Install the Community Edition
  65. ### System Requirements
  66. Before installing Dify, make sure your machine meets the following minimum system requirements:
  67. - CPU >= 2 Core
  68. - RAM >= 4GB
  69. ### Quick Start
  70. The easiest way to start the Dify server is to run our [docker-compose.yml](docker/docker-compose.yaml) file. Before running the installation command, make sure that [Docker](https://docs.docker.com/get-docker/) and [Docker Compose](https://docs.docker.com/compose/install/) are installed on your machine:
  71. ```bash
  72. cd docker
  73. docker compose up -d
  74. ```
  75. After running, you can access the Dify dashboard in your browser at [http://localhost/install](http://localhost/install) and start the initialization installation process.
  76. ### Helm Chart
  77. Big thanks to @BorisPolonsky for providing us with a [Helm Chart](https://helm.sh/) version, which allows Dify to be deployed on Kubernetes.
  78. You can go to https://github.com/BorisPolonsky/dify-helm for deployment information.
  79. ### Configuration
  80. If you need to customize the configuration, please refer to the comments in our [docker-compose.yml](docker/docker-compose.yaml) file and manually set the environment configuration. After making the changes, please run `docker-compose up -d` again. You can see the full list of environment variables in our [docs](https://docs.dify.ai/getting-started/install-self-hosted/environments).
  81. ## Star History
  82. [![Star History Chart](https://api.star-history.com/svg?repos=langgenius/dify&type=Date)](https://star-history.com/#langgenius/dify&Date)
  83. ## Contributing
  84. For those who'd like to contribute code, see our [Contribution Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md).
  85. At the same time, please consider supporting Dify by sharing it on social media and at events and conferences.
  86. ### Contributors
  87. <a href="https://github.com/langgenius/dify/graphs/contributors">
  88. <img src="https://contrib.rocks/image?repo=langgenius/dify" />
  89. </a>
  90. ### Translations
  91. We are looking for contributors to help with translating Dify to languages other than Mandarin or English. If you are interested in helping, please see the [i18n README](https://github.com/langgenius/dify/blob/main/web/i18n/README_EN.md) for more information, and leave us a comment in the `global-users` channel of our [Discord Community Server](https://discord.gg/AhzKf7dNgk).
  92. ## Community & Support
  93. * [Canny](https://feedback.dify.ai/). Best for: sharing feedback and checking out our feature roadmap.
  94. * [GitHub Issues](https://github.com/langgenius/dify/issues). Best for: bugs you encounter using Dify.AI, and feature proposals. See our [Contribution Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md).
  95. * [Email Support](mailto:hello@dify.ai?subject=[GitHub]Questions%20About%20Dify). Best for: questions you have about using Dify.AI.
  96. * [Discord](https://discord.gg/FngNHpbcY7). Best for: sharing your applications and hanging out with the community.
  97. * [Twitter](https://twitter.com/dify_ai). Best for: sharing your applications and hanging out with the community.
  98. * [Business Contact](mailto:business@dify.ai?subject=[GitHub]Business%20License%20Inquiry). Best for: business inquiries of licensing Dify.AI for commercial use.
  99. ### Direct Meetings
  100. **Help us make Dify better. Reach out directly to us**.
  101. | Point of Contact | Purpose |
  102. | :----------------------------------------------------------: | :----------------------------------------------------------: |
  103. | <a href='https://cal.com/guchenhe/15min' target='_blank'><img src='https://i.postimg.cc/fWBqSmjP/Git-Hub-README-Button-3x.png' border='0' alt='Git-Hub-README-Button-3x' height="60" width="214"/></a> | Product design feedback, user experience discussions, feature planning and roadmaps. |
  104. | <a href='https://cal.com/pinkbanana' target='_blank'><img src='https://i.postimg.cc/LsRTh87D/Git-Hub-README-Button-2x.png' border='0' alt='Git-Hub-README-Button-2x' height="60" width="225"/></a> | Technical support, issues, or feature requests |
  105. ## Security Disclosure
  106. To protect your privacy, please avoid posting security issues on GitHub. Instead, send your questions to security@dify.ai and we will provide you with a more detailed answer.
  107. ## License
  108. This repository is available under the [Dify Open Source License](LICENSE), which is essentially Apache 2.0 with a few additional restrictions.