diff --git a/docs.json b/docs.json index 8efba663..6efb8a4c 100644 --- a/docs.json +++ b/docs.json @@ -22,9 +22,11 @@ "tab": "Documentation", "groups": [ { - "group": "Introduction", + "group": "Getting Started", "pages": [ - "introduction" + "en-us/introduction", + "en-us/features-and-specifications", + "en-us/model-providers" ] }, { diff --git a/en-us/features-and-specifications.md b/en-us/features-and-specifications.md new file mode 100644 index 00000000..07cdbe5d --- /dev/null +++ b/en-us/features-and-specifications.md @@ -0,0 +1,17 @@ +--- +description: >- + For those already familiar with LLM application tech stacks, this document + serves as a shortcut to understand Dify's unique advantages +--- + +# Features and Specifications + +We adopt transparent policies around product specifications to ensure decisions are made based on complete understanding. Such transparency not only benefits your technical selection, but also promotes deeper comprehension within the community for active contributions. + +### Project Basics + +
| Established | March 2023 |
| Open Source License | Apache License 2.0 with commercial licensing |
| Official R&D Team | Over 15 full-time employees |
| Community Contributors | Over 290 people(As of Q2 2024) |
| Backend Technology | Python/Flask/PostgreSQL |
| Frontend Technology | Next.js |
| Codebase Size | Over 130,000 lines |
| Release Frequency | Average once per week |
| LLM Inference Engines | Dify Runtime (LangChain removed since v0.4) |
| Commercial Models Supported | 10+, including OpenAI and Anthropic Onboard new mainstream models within 48 hours |
| MaaS Vendor Supported | 7, Hugging Face, Replicate, AWS Bedrock, NVIDIA, GroqCloud, together.ai,, OpenRouter |
| Local Model Inference Runtimes Supported | 6, Xoribits (recommended), OpenLLM, LocalAI, ChatGLM,Ollama, NVIDIA TIS |
| OpenAI Interface Standard Model Integration Supported | ∞ |
| Multimodal Capabilities | ASR Models Rich-text models up to GPT-4o specs |
| Built-in App Types | Text generation, Chatbot, Agent, Workflow, Chatflow |
| Prompt-as-a-Service Orchestration | Visual orchestration interface widely praised, modify Prompts and preview effects in one place. Orchestration Modes
Prompt Variable Types
|
| Agentic Workflow Features | Industry-leading visual workflow orchestration interface, live-editing node debugging, modular DSL, and native code runtime, designed for building more complex, reliable, and stable LLM applications.
|
| RAG Features | Industry-first visual knowledge base management interface, supporting snippet previews and recall testing. Indexing Methods
Retrieval Methods
Recall Optimization
|
| ETL Capabilities | Automated cleaning for TXT, Markdown, PDF, HTML, DOC, CSV formats. Unstructured service enables maximum support. Sync Notion docs as knowledge bases. |
| Vector Databases Supported | Qdrant (recommended), Weaviate,Zilliz/Milvus, Pgvector, Pgvector-rs,Chroma, OpenSearch, TiDB, Tencent Vector, Oracle, Relyt, Analyticdb, Couchbase |
| Agent Technologies | ReAct, Function Call. Tooling Support
Built-in Tools
|
| Logging | Supported, annotations based on logs |
| Annotation Reply | Based on human-annotated Q&As, used for similarity-based replies. Exportable as data format for model fine-tuning. |
| Content Moderation | OpenAI Moderation or external APIs |
| Team Collaboration | Workspaces, multi-member management |
| API Specs | RESTful, most features covered |
| Deployment Methods | Docker, Helm |
aaPanel 7.0.11 or later
| Please refer to the [aaPanel installation guide](https://www.aapanel.com/new/download.html#install) for more information on how to install aaPanel. | + +## Deployment + +1. Log in to aaPanel and click `Docker` in the menu bar + +2. The first time you will be prompted to install the `Docker` and `Docker Compose` services, click Install Now. If it is already installed, please ignore it. + +3. After the installation is complete, find `Dify` in `One-Click Install` and click `install` + +4. configure basic information such as the domain name, ports to complete the installation +> \[!IMPORTANT] +> +> The domain name is optional, if the domain name is filled, it can be managed through [Website]--> [Proxy Project], and you do not need to check [Allow external access] after filling in the domain name, otherwise you need to check it before you can access it through the port + +5. After installation, enter the domain name or IP+ port set in the previous step in the browser to access. +- Name: application name, default `Dify-characters` +- Version selection: default `latest` +- Domain name: If you need to access directly through the domain name, please configure the domain name here and resolve the domain name to the server +- Allow external access: If you need direct access through `IP+Port`, please check. If you have set up a domain name, please do not check here. +- Port: Default `8088`, can be modified by yourself + + +6. After submission, the panel will automatically initialize the application, which will take about `1-3` minutes. It can be accessed after the initialization is completed. + +### Access Dify + +Access administrator initialization page to set up the admin account: + +```bash +# If you have set domain +http://yourdomain/install + +# If you choose to access through `IP+Port` +http://your_server_ip:8088/install +``` + +Dify web interface address: + +```bash +# If you have set domain +http://yourdomain/ + +# If you choose to access through `IP+Port` +http://your_server_ip:8088/ +``` diff --git a/en-us/getting-started/install-self-hosted/docker-compose.md b/en-us/getting-started/install-self-hosted/docker-compose.md new file mode 100644 index 00000000..c43d230e --- /dev/null +++ b/en-us/getting-started/install-self-hosted/docker-compose.md @@ -0,0 +1,149 @@ +# Deploy with Docker Compose + +## Prerequisites + +> Before installing Dify, make sure your machine meets the following minimum system requirements: +> +> * CPU >= 2 Core +> * RAM >= 4 GiB + +| Operating System | Software | Explanation | +| -------------------------- | ------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| macOS 10.14 or later | Docker Desktop | Set the Docker virtual machine (VM) to use a minimum of 2 virtual CPUs (vCPUs) and 8 GB of initial memory. Otherwise, the installation may fail. For more information, please refer to the [Docker Desktop installation guide for Mac](https://docs.docker.com/desktop/mac/install/). | +| Linux platforms |Docker 19.03 or later
Docker Compose 1.28 or later
Docker 19.03 or later
Docker Compose 1.25.1 or later
Docker Desktop
| Provider | +LLM | +Text Embedding | +Rerank | +Speech to text | +TTS | +|
|---|---|---|---|---|---|---|
| OpenAI | +✔️(🛠️)(👓) | +✔️ | ++ | ✔️ | +✔️ | +|
| Anthropic | +✔️(🛠️) | ++ | + | + | + | |
| Azure OpenAI | +✔️(🛠️)(👓) | +✔️ | ++ | ✔️ | +✔️ | +|
| Gemini | +✔️ | ++ | + | + | + | |
| Google Cloud | +✔️(👓) | +✔️ | ++ | + | + | |
| Nvidia API Catalog | +✔️ | +✔️ | +✔️ | ++ | + | |
| Nvidia NIM | +✔️ | ++ | + | + | + | |
| Nvidia Triton Inference Server | +✔️ | ++ | + | + | + | |
| AWS Bedrock | +✔️ | +✔️ | ++ | + | + | |
| OpenRouter | +✔️ | ++ | + | + | + | |
| Cohere | +✔️ | +✔️ | +✔️ | ++ | + | + |
| together.ai | +✔️ | ++ | + | + | + | |
| Ollama | +✔️ | +✔️ | ++ | + | + | |
| Mistral AI | +✔️ | ++ | + | + | + | |
| groqcloud | +✔️ | ++ | + | + | + | |
| Replicate | +✔️ | +✔️ | ++ | + | + | |
| Hugging Face | +✔️ | +✔️ | ++ | + | + | |
| Xorbits inference | +✔️ | +✔️ | +✔️ | +✔️ | +✔️ | +|
| Zhipu AI | +✔️(🛠️)(👓) | +✔️ | ++ | + | + | |
| Baichuan | +✔️ | +✔️ | ++ | + | + | |
| Spark | +✔️ | ++ | + | + | + | |
| Minimax | +✔️(🛠️) | +✔️ | ++ | + | + | |
| Tongyi | +✔️ | +✔️ | ++ | + | ✔️ | +|
| Wenxin | +✔️ | +✔️ | ++ | + | + | |
| Moonshot AI | +✔️(🛠️) | ++ | + | + | + | |
| Tencent Cloud | ++ | + | + | ✔️ | ++ | |
| Stepfun | +✔️(🛠️)(👓) | ++ | + | + | + | |
| VolcanoEngine | +✔️ | +✔️ | ++ | + | + | |
| 01.AI | +✔️ | ++ | + | + | + | |
| 360 Zhinao | +✔️ | ++ | + | + | + | |
| Azure AI Studio | +✔️ | ++ | ✔️ | ++ | + | |
| deepseek | +✔️(🛠️) | ++ | + | + | + | |
| Tencent Hunyuan | +✔️ | ++ | + | + | + | |
| SILICONFLOW | +✔️ | +✔️ | ++ | + | + | |
| Jina AI | ++ | ✔️ | +✔️ | ++ | + | |
| ChatGLM | +✔️ | ++ | + | + | + | |
| Xinference | +✔️(🛠️)(👓) | +✔️ | +✔️ | ++ | + | |
| OpenLLM | +✔️ | +✔️ | ++ | + | + | |
| LocalAI | + | ✔️ | +✔️ | +✔️ | +✔️ | ++ |
| OpenAI API-Compatible | +✔️ | +✔️ | ++ | ✔️ | ++ | |
| PerfXCloud | +✔️ | +✔️ | ++ | + | + | |
| Lepton AI | +✔️ | ++ | + | + | + | |
| novita.ai | +✔️ | ++ | + | + | + | |
| Amazon Sagemaker | +✔️ | +✔️ | +✔️ | ++ | + | |
| Text Embedding Inference | ++ | ✔️ | +✔️ | ++ | + | |
| GPUStack | +✔️(🛠️)(👓) | +✔️ | +✔️ | ++ | + |