diff --git a/en/.gitbook/assets/guides/application_orchestrate/prompt-engineering/Access to the Prompt Log (1) (1).png b/en/.gitbook/assets/guides/application_orchestrate/prompt-engineering/Access to the Prompt Log (1) (1).png new file mode 100644 index 0000000..6f9ed66 Binary files /dev/null and b/en/.gitbook/assets/guides/application_orchestrate/prompt-engineering/Access to the Prompt Log (1) (1).png differ diff --git a/en/.gitbook/assets/guides/application_orchestrate/prompt-engineering/history (1) (1).png b/en/.gitbook/assets/guides/application_orchestrate/prompt-engineering/history (1) (1).png new file mode 100644 index 0000000..d221108 Binary files /dev/null and b/en/.gitbook/assets/guides/application_orchestrate/prompt-engineering/history (1) (1).png differ diff --git a/en/.gitbook/assets/guides/extension/api_based_extension/screenshot-20231128-104353 (1) (1).png b/en/.gitbook/assets/guides/extension/api_based_extension/screenshot-20231128-104353 (1) (1).png new file mode 100644 index 0000000..cf9c94d Binary files /dev/null and b/en/.gitbook/assets/guides/extension/api_based_extension/screenshot-20231128-104353 (1) (1).png differ diff --git a/en/.gitbook/assets/guides/monitoring/image (9) (1).png b/en/.gitbook/assets/guides/monitoring/image (9) (1).png new file mode 100644 index 0000000..5481bae Binary files /dev/null and b/en/.gitbook/assets/guides/monitoring/image (9) (1).png differ diff --git a/en/getting-started/readme/features-and-specifications.md b/en/getting-started/readme/features-and-specifications.md index df74bdb..f625051 100644 --- a/en/getting-started/readme/features-and-specifications.md +++ b/en/getting-started/readme/features-and-specifications.md @@ -10,8 +10,8 @@ We adopt transparent policies around product specifications to ensure decisions ### Project Basics -
EstablishedMarch 2023
Open Source LicenseApache License 2.0 with commercial licensing
Official R&D TeamOver 10 full-time employees
Community ContributorsOver 120 people
Backend TechnologyPython/Flask/PostgreSQL
Frontend TechnologyNext.js
Codebase SizeOver 130,000 lines
Release FrequencyAverage once per week
+
EstablishedMarch 2023
Open Source LicenseApache License 2.0 with commercial licensing
Official R&D TeamOver 10 full-time employees
Community ContributorsOver 290 people(As of Q2 2024)
Backend TechnologyPython/Flask/PostgreSQL
Frontend TechnologyNext.js
Codebase SizeOver 130,000 lines
Release FrequencyAverage once per week
### Technical Features -
LLM Inference EnginesDify Runtime (LangChain removed since v0.4)
Commercial Models Supported10+, including OpenAI and Anthropic
Onboard new mainstream models within 48 hours
MaaS Vendor Supported7, Hugging Face, Replicate, AWS Bedrock, NVIDIA, GroqCloud, together.ai,, OpenRouter
Local Model Inference Runtimes Supported6, Xoribits (recommended), OpenLLM, LocalAI, ChatGLM,Ollama, NVIDIA TIS
OpenAI Interface Standard Model Integration Supported
Multimodal Capabilities

ASR Models

Rich-text models up to GPT-4V specs

Built-in App TypesText generation, Conversational, Agent, Workflow, Group(Q2 2024)
Prompt-as-a-Service Orchestration

Visual orchestration interface widely praised, modify Prompts and preview effects in one place.

Orchestration Modes

  • Simple orchestration
  • Assistant orchestration
  • Flow orchestration
  • Multi-Agent orchestration(Q2 2024)

Prompt Variable Types

  • String
  • Radio enum
  • External API
  • File (Q2 2024)
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.


Supported Nodes

  • LLM
  • Knowledge Retrieval
  • Question Classifier
  • IF/ELSE
  • CODE
  • Template
  • HTTP Request
  • Tool
RAG Features

Industry-first visual knowledge base management interface, supporting snippet previews and recall testing.

Indexing Methods

  • Keywords
  • Text vectors
  • LLM-assisted question-snippet model

Retrieval Methods

  • Keywords
  • Text similarity matching
  • Hybrid Search
  • N choose 1
  • Multi-path recall

Recall Optimization

  • Re-rank models
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 SupportedQdrant (recommended), Weaviate,Zilliz/Milvus, Pgvector, Pgvector-rs,Chroma, OpenSearch, TiDB, Tencent Vector, Oracle, Relyt
Agent Technologies

ReAct, Function Call.

Tooling Support

  • Invoke OpenAI Plugin standard tools
  • Directly load OpenAPI Specification APIs as tools

Built-in Tools

  • 30+ tools(As of Q1 2024)
LoggingSupported, annotations based on logs
Annotation ReplyBased on human-annotated Q&As, used for similarity-based replies. Exportable as data format for model fine-tuning.
Content ModerationOpenAI Moderation or external APIs
Team CollaborationWorkspaces, multi-member management
API SpecsRESTful, most features covered
Deployment MethodsDocker, Helm
+
LLM Inference EnginesDify Runtime (LangChain removed since v0.4)
Commercial Models Supported10+, including OpenAI and Anthropic
Onboard new mainstream models within 48 hours
MaaS Vendor Supported7, Hugging Face, Replicate, AWS Bedrock, NVIDIA, GroqCloud, together.ai,, OpenRouter
Local Model Inference Runtimes Supported6, 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 TypesText 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

  • Simple orchestration
  • Assistant orchestration
  • Flow orchestration

Prompt Variable Types

  • String
  • Radio enum
  • External API
  • File (Q3 2024)
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.


Supported Nodes

  • LLM
  • Knowledge Retrieval
  • Question Classifier
  • IF/ELSE
  • CODE
  • Template
  • HTTP Request
  • Tool
RAG Features

Industry-first visual knowledge base management interface, supporting snippet previews and recall testing.

Indexing Methods

  • Keywords
  • Text vectors
  • LLM-assisted question-snippet model

Retrieval Methods

  • Keywords
  • Text similarity matching
  • Hybrid Search
  • N choose 1(Legacy)
  • Multi-path retrieval

Recall Optimization

  • Rerank models
ETL Capabilities

Automated cleaning for TXT, Markdown, PDF, HTML, DOC, CSV formats. Unstructured service enables maximum support.

Sync Notion docs as knowledge bases.
Sync Webpages as knowledge bases.

Vector Databases SupportedQdrant (recommended), Weaviate,Zilliz/Milvus, Pgvector, Pgvector-rs,Chroma, OpenSearch, TiDB, Tencent Vector, Oracle, Relyt
Agent Technologies

ReAct, Function Call.

Tooling Support

  • Invoke OpenAI Plugin standard tools
  • Directly load OpenAPI Specification APIs as tools

Built-in Tools

  • 40+ tools(As of Q2 2024)
LoggingSupported, annotations based on logs
Annotation ReplyBased on human-annotated Q&As, used for similarity-based replies. Exportable as data format for model fine-tuning.
Content ModerationOpenAI Moderation or external APIs
Team CollaborationWorkspaces, multi-member management
API SpecsRESTful, most features covered
Deployment MethodsDocker, Helm
diff --git a/en/getting-started/readme/model-providers.md b/en/getting-started/readme/model-providers.md index 0515b3a..4277e5b 100644 --- a/en/getting-started/readme/model-providers.md +++ b/en/getting-started/readme/model-providers.md @@ -2,7 +2,7 @@ Dify supports the below model providers out-of-box: -
ProviderLLMEmbeddingRerank
OpenAI✔️(🛠️)(👓)✔️
Anthropic✔️
Azure OpenAI✔️(🛠️)(👓)✔️
Google✔️(👓)
Cohere✔️✔️✔️
Bedrock✔️
together.ai✔️
Ollama✔️✔️
Replicate✔️✔️
Hugging Face✔️✔️
Zhipu AI✔️(🛠️)(👓)✔️
Baichuan✔️✔️
Spark✔️
Minimax✔️(🛠️)✔️
Tongyi✔️
Wenxin✔️
Moonshot AI✔️(🛠️)
deepseek✔️(🛠️)
Jina✔️✔️
ChatGLM✔️(🛠️)
Xinference✔️(🛠️)(👓)✔️✔️
OpenLLM✔️✔️
LocalAI✔️✔️
OpenAI API-Compatible✔️✔️
+
ProviderLLMEmbeddingRerank
OpenAI✔️(🛠️)(👓)✔️
Anthropic✔️(🛠️)
Azure OpenAI✔️(🛠️)(👓)✔️
Google✔️(👓)
Cohere✔️✔️✔️
Bedrock✔️
together.ai✔️
Ollama✔️✔️
Replicate✔️✔️
Hugging Face✔️✔️
Zhipu AI✔️(🛠️)(👓)✔️
Baichuan✔️✔️
Spark✔️
Minimax✔️(🛠️)✔️
Tongyi✔️
Wenxin✔️
Moonshot AI✔️(🛠️)
deepseek✔️(🛠️)
Jina✔️✔️
ChatGLM✔️(🛠️)
Xinference✔️(🛠️)(👓)✔️✔️
OpenLLM✔️✔️
LocalAI✔️✔️
OpenAI API-Compatible✔️✔️
where (🛠️) ︎ denotes Function Calling and (👓) denotes support for vision. diff --git a/en/guides/extension/api-based-extension/README.md b/en/guides/extension/api-based-extension/README.md index 798ba1e..a43be05 100644 --- a/en/guides/extension/api-based-extension/README.md +++ b/en/guides/extension/api-based-extension/README.md @@ -7,7 +7,7 @@ Developers can extend module capabilities through the API extension module. Curr Before extending module capabilities, prepare an API and an API Key for authentication, which can also be automatically generated by Dify. In addition to developing the corresponding module capabilities, follow the specifications below so that Dify can invoke the API correctly. -

Add API Extension

+

Add API Extension

## API Specifications @@ -194,11 +194,11 @@ The default port is 8000. The complete address of the API is: `http://127.0.0.1: #### Configure this API in Dify. -
+
#### Select this API extension in the App. -
+
When debugging the App, Dify will request the configured API and send the following content (example): @@ -230,7 +230,7 @@ Since Dify's cloud version can't access internal network API services, you can u 1. Visit the Ngrok official website at [https://ngrok.com](https://ngrok.com/), register, and download the Ngrok file. -
+
2. After downloading, go to the download directory. Unzip the package and run the initialization script as instructed: @@ -241,7 +241,7 @@ $ ./ngrok config add-authtoken 你的Token 3. Check the port of your local API service. -
+
Run the following command to start: @@ -251,7 +251,7 @@ $ ./ngrok http [port number] Upon successful startup, you'll see something like the following: -
+
4. Find the 'Forwarding' address, like the sample domain `https://177e-159-223-41-52.ngrok-free.app`, and use it as your public domain. diff --git a/jp/.gitbook/assets/image (10) (1) (1).png b/jp/.gitbook/assets/image (10) (1) (1).png index d30d2ab..f9ca100 100644 Binary files a/jp/.gitbook/assets/image (10) (1) (1).png and b/jp/.gitbook/assets/image (10) (1) (1).png differ diff --git a/jp/.gitbook/assets/image (12) (1) (1).png b/jp/.gitbook/assets/image (12) (1) (1).png index b48dea6..266b5ed 100644 Binary files a/jp/.gitbook/assets/image (12) (1) (1).png and b/jp/.gitbook/assets/image (12) (1) (1).png differ diff --git a/jp/.gitbook/assets/image (2) (1) (1) (1) (1) (1).png b/jp/.gitbook/assets/image (2) (1) (1) (1) (1) (1).png index 1fb04ec..d60d084 100644 Binary files a/jp/.gitbook/assets/image (2) (1) (1) (1) (1) (1).png and b/jp/.gitbook/assets/image (2) (1) (1) (1) (1) (1).png differ diff --git a/jp/.gitbook/assets/image (2) (1) (1) (1) (1).png b/jp/.gitbook/assets/image (2) (1) (1) (1) (1).png index d60d084..969a0df 100644 Binary files a/jp/.gitbook/assets/image (2) (1) (1) (1) (1).png and b/jp/.gitbook/assets/image (2) (1) (1) (1) (1).png differ diff --git a/jp/.gitbook/assets/image (2) (1) (1) (1).png b/jp/.gitbook/assets/image (2) (1) (1) (1).png index 969a0df..2e07e31 100644 Binary files a/jp/.gitbook/assets/image (2) (1) (1) (1).png and b/jp/.gitbook/assets/image (2) (1) (1) (1).png differ diff --git a/jp/.gitbook/assets/image (2) (1) (1).png b/jp/.gitbook/assets/image (2) (1) (1).png index 2e07e31..df5452b 100644 Binary files a/jp/.gitbook/assets/image (2) (1) (1).png and b/jp/.gitbook/assets/image (2) (1) (1).png differ diff --git a/jp/.gitbook/assets/image (2) (1).png b/jp/.gitbook/assets/image (2) (1).png index df5452b..47b215f 100644 Binary files a/jp/.gitbook/assets/image (2) (1).png and b/jp/.gitbook/assets/image (2) (1).png differ diff --git a/jp/.gitbook/assets/image (3) (1) (1) (1) (1) (1).png b/jp/.gitbook/assets/image (3) (1) (1) (1) (1) (1).png index a23ad8f..cfc2125 100644 Binary files a/jp/.gitbook/assets/image (3) (1) (1) (1) (1) (1).png and b/jp/.gitbook/assets/image (3) (1) (1) (1) (1) (1).png differ diff --git a/jp/.gitbook/assets/image (3) (1) (1) (1) (1).png b/jp/.gitbook/assets/image (3) (1) (1) (1) (1).png index cfc2125..f03320e 100644 Binary files a/jp/.gitbook/assets/image (3) (1) (1) (1) (1).png and b/jp/.gitbook/assets/image (3) (1) (1) (1) (1).png differ diff --git a/jp/.gitbook/assets/image (3) (1) (1) (1).png b/jp/.gitbook/assets/image (3) (1) (1) (1).png index f03320e..a8bb836 100644 Binary files a/jp/.gitbook/assets/image (3) (1) (1) (1).png and b/jp/.gitbook/assets/image (3) (1) (1) (1).png differ diff --git a/jp/.gitbook/assets/image (3) (1) (1).png b/jp/.gitbook/assets/image (3) (1) (1).png index a8bb836..b0946e1 100644 Binary files a/jp/.gitbook/assets/image (3) (1) (1).png and b/jp/.gitbook/assets/image (3) (1) (1).png differ diff --git a/jp/.gitbook/assets/image (5) (1) (1).png b/jp/.gitbook/assets/image (5) (1) (1).png index ddfe5a6..96e141f 100644 Binary files a/jp/.gitbook/assets/image (5) (1) (1).png and b/jp/.gitbook/assets/image (5) (1) (1).png differ diff --git a/jp/.gitbook/assets/image (5) (1).png b/jp/.gitbook/assets/image (5) (1).png index 96e141f..67f8a56 100644 Binary files a/jp/.gitbook/assets/image (5) (1).png and b/jp/.gitbook/assets/image (5) (1).png differ diff --git a/jp/.gitbook/assets/image (5) (2).png b/jp/.gitbook/assets/image (5) (2).png new file mode 100644 index 0000000..67f8a56 Binary files /dev/null and b/jp/.gitbook/assets/image (5) (2).png differ diff --git a/jp/.gitbook/assets/image (74) (1).png b/jp/.gitbook/assets/image (74) (1).png new file mode 100644 index 0000000..1fba498 Binary files /dev/null and b/jp/.gitbook/assets/image (74) (1).png differ diff --git a/jp/.gitbook/assets/screenshot-20231017-092613 (1).png b/jp/.gitbook/assets/screenshot-20231017-092613 (1).png new file mode 100644 index 0000000..43bd4f7 Binary files /dev/null and b/jp/.gitbook/assets/screenshot-20231017-092613 (1).png differ