Migrated repository
Go to file
takatost d069c668f8
Model Runtime (#1858)
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
Co-authored-by: Garfield Dai <dai.hai@foxmail.com>
Co-authored-by: chenhe <guchenhe@gmail.com>
Co-authored-by: jyong <jyong@dify.ai>
Co-authored-by: Joel <iamjoel007@gmail.com>
Co-authored-by: Yeuoly <admin@srmxy.cn>
2024-01-02 23:42:00 +08:00
.devcontainer fix devcontainer issue (#1273) 2023-10-07 10:34:25 +08:00
.github Model Runtime (#1858) 2024-01-02 23:42:00 +08:00
api Model Runtime (#1858) 2024-01-02 23:42:00 +08:00
docker Model Runtime (#1858) 2024-01-02 23:42:00 +08:00
images update images (#1549) 2023-11-16 15:07:18 +08:00
sdks Feat/sdk vision support (#1531) 2023-11-20 17:54:01 +08:00
third-party/chrome plug-in application embedded add chrome && ChatBot Chrome plugin update v1.5 (#1480) 2023-11-08 17:59:53 +08:00
web Model Runtime (#1858) 2024-01-02 23:42:00 +08:00
.gitignore feat: qdrant support in docker compose (#1286) 2023-10-08 12:04:04 -05:00
AUTHORS Initial commit 2023-05-15 08:51:32 +08:00
CONTRIBUTING_CN.md feat: update contributing (#1020) 2023-08-25 21:19:13 +08:00
CONTRIBUTING_JA.md feat: update contributing (#1020) 2023-08-25 21:19:13 +08:00
CONTRIBUTING.md Model Runtime (#1858) 2024-01-02 23:42:00 +08:00
LICENSE Update LICENSE (#663) 2023-07-28 09:45:10 +08:00
README_CN.md Update README.md (#1825) 2023-12-22 15:05:11 +08:00
README_ES.md Update README.md (#1825) 2023-12-22 15:05:11 +08:00
README_FR.md Update README.md (#1825) 2023-12-22 15:05:11 +08:00
README_JA.md Update README.md (#1825) 2023-12-22 15:05:11 +08:00
README_KL.md Update README.md (#1825) 2023-12-22 15:05:11 +08:00
README.md Update README.md (#1825) 2023-12-22 15:05:11 +08:00

English | 简体中文 | 日本語 | Español | Klingon | Français

Static Badge chat on Discord follow on Twitter Docker Pulls

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.

Use Cloud Services

Dify.AI Cloud provides all the capabilities of the open-source version, and includes 200 free requests to OpenAI GPT-3.5.

Why Dify

Dify is model-agnostic and boasts a comprehensive tech stack compared to hardcoded development libraries like LangChain. Unlike OpenAI's Assistants API, Dify allows for full local deployment of services.

Feature Dify.AI Assistants API LangChain
Programming Approach API-oriented API-oriented Python Code-oriented
Ecosystem Strategy Open Source Closed and Commercial Open Source
RAG Engine Supported Supported Not Supported
Prompt IDE Included Included None
Supported LLMs Rich Variety Only GPT Rich Variety
Local Deployment Supported Not Supported Not Applicable

Features

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).

2. Prompt IDE: Visual orchestration of applications and services based on LLMs with your team.

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.

4. Agents: A Function Calling based Agent framework that allows users to configure what they see is what they get. Dify includes basic plugin capabilities like Google Search.

5. Continuous Operations: Monitor and analyze application logs and performance, continuously improving Prompts, datasets, or models using production data.

Before You Start

Star us, and you'll get instant notifications for all new releases on GitHub!

star-us

Install the Community Edition

System Requirements

Before installing Dify, make sure your machine meets the following minimum system requirements:

  • CPU >= 2 Core
  • RAM >= 4GB

Quick Start

The easiest way to start the Dify server is to run our docker-compose.yml file. Before running the installation command, make sure that Docker and Docker Compose are installed on your machine:

cd docker
docker compose up -d

After running, you can access the Dify dashboard in your browser at http://localhost/install and start the initialization installation process.

Helm Chart

A big thanks to @BorisPolonsky for providing us with a Helm Chart version, which allows Dify to be deployed on Kubernetes. You can go to https://github.com/BorisPolonsky/dify-helm for deployment information.

Configuration

If you need to customize the configuration, please refer to the comments in our docker-compose.yml 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.

Star History

Star History Chart

Community & Support

We welcome you to contribute to Dify to help make Dify better in various ways, submitting code, issues, new ideas, or sharing the interesting and useful AI applications you have created based on Dify. At the same time, we also welcome you to share Dify at different events, conferences, and social media.

  • Roadmap and Feedback. Best for: sharing feedback and checking out our feature roadmap.
  • GitHub Issues. Best for: bugs and errors you encounter using Dify.AI, see the Contribution Guide.
  • Email Support. Best for: questions you have about using Dify.AI.
  • Discord. Best for: sharing your applications and hanging out with the community.
  • Twitter. Best for: sharing your applications and hanging out with the community.
  • Business License. Best for: business inquiries of licensing Dify.AI for commercial use.

Security Disclosure

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.

License

This repository is available under the Dify Open Source License, which is essentially Apache 2.0 with a few additional restrictions.