From 6934b74540895f1895c7ac1b32262dac7f4378e0 Mon Sep 17 00:00:00 2001 From: RiskeyL <7a8y@163.com> Date: Fri, 17 Apr 2026 17:02:52 +0800 Subject: [PATCH 1/9] style: move trailing colons outside bold asterisks Relocates colons from inside bold markers (`**Start:**`) to after them (`**Start**:`) across en, zh, and ja. Colons that sit inside bold markers can break rendering when adjacent to other inline syntax, so keeping them outside produces more reliable output. Preserves colon width (half-width and full-width) and leaves code fences and inline code spans untouched. Co-Authored-By: Claude Opus 4.7 (1M context) --- .../cheatsheet.mdx | 10 +++---- .../creating-new-model-provider.mdx | 6 ++-- .../develop-a-slack-bot-plugin.mdx | 16 +++++------ .../tool-plugin.mdx | 4 +-- .../customizable-model.mdx | 6 ++-- .../reverse-invocation-app.mdx | 2 +- .../privacy-protection-guidelines.mdx | 4 +-- en/self-host/quick-start/faqs.mdx | 2 +- en/self-host/troubleshooting/integrations.mdx | 8 +++--- .../setting-indexing-methods.mdx | 6 ++-- ...integrate-knowledge-within-application.mdx | 10 +++---- en/use-dify/knowledge/metadata.mdx | 20 ++++++------- en/use-dify/monitor/analysis.mdx | 8 +++--- en/use-dify/monitor/annotation-reply.mdx | 4 +-- .../integrations/integrate-langfuse.mdx | 6 ++-- en/use-dify/monitor/logs.mdx | 10 +++---- en/use-dify/nodes/iteration.mdx | 4 +-- en/use-dify/nodes/list-operator.mdx | 2 +- en/use-dify/nodes/loop.mdx | 6 ++-- en/use-dify/nodes/question-classifier.mdx | 4 +-- en/use-dify/publish/developing-with-apis.mdx | 6 ++-- .../publish/webapp/chatflow-webapp.mdx | 4 +-- .../publish/webapp/embedding-in-websites.mdx | 8 +++--- .../publish/webapp/web-app-settings.mdx | 22 +++++++-------- .../publish/webapp/workflow-webapp.mdx | 6 ++-- .../tutorials/workflow-101/lesson-03.mdx | 2 +- .../tutorials/workflow-101/lesson-05.mdx | 4 +-- .../tutorials/workflow-101/lesson-10.mdx | 2 +- en/use-dify/workspace/app-management.mdx | 18 ++++++------ en/use-dify/workspace/model-providers.mdx | 28 +++++++++---------- .../workspace/personal-account-management.mdx | 22 +++++++-------- en/use-dify/workspace/plugins.mdx | 4 +-- .../workspace/subscription-management.mdx | 8 +++--- .../workspace/team-members-management.mdx | 20 ++++++------- .../cheatsheet.mdx | 10 +++---- .../creating-new-model-provider.mdx | 6 ++-- .../develop-a-slack-bot-plugin.mdx | 16 +++++------ .../tool-plugin.mdx | 4 +-- .../customizable-model.mdx | 6 ++-- .../reverse-invocation-app.mdx | 2 +- .../privacy-protection-guidelines.mdx | 4 +-- ja/self-host/quick-start/faqs.mdx | 2 +- ja/self-host/troubleshooting/integrations.mdx | 8 +++--- .../connect-external-knowledge-base.mdx | 2 +- .../setting-indexing-methods.mdx | 4 +-- .../knowledge-pipeline-orchestration.mdx | 4 +-- ja/use-dify/monitor/analysis.mdx | 8 +++--- ja/use-dify/monitor/annotation-reply.mdx | 12 ++++---- .../integrations/integrate-langfuse.mdx | 6 ++-- ja/use-dify/monitor/logs.mdx | 10 +++---- ja/use-dify/nodes/iteration.mdx | 4 +-- ja/use-dify/nodes/list-operator.mdx | 2 +- ja/use-dify/nodes/loop.mdx | 6 ++-- ja/use-dify/nodes/question-classifier.mdx | 4 +-- ja/use-dify/publish/developing-with-apis.mdx | 10 +++---- .../publish/webapp/chatflow-webapp.mdx | 4 +-- .../publish/webapp/embedding-in-websites.mdx | 8 +++--- .../publish/webapp/web-app-settings.mdx | 16 +++++------ .../publish/webapp/workflow-webapp.mdx | 12 ++++---- .../tutorials/workflow-101/lesson-03.mdx | 4 +-- .../tutorials/workflow-101/lesson-05.mdx | 4 +-- .../tutorials/workflow-101/lesson-10.mdx | 2 +- ja/use-dify/workspace/app-management.mdx | 24 ++++++++-------- ja/use-dify/workspace/model-providers.mdx | 28 +++++++++---------- .../workspace/personal-account-management.mdx | 22 +++++++-------- ja/use-dify/workspace/plugins.mdx | 4 +-- .../workspace/subscription-management.mdx | 12 ++++---- .../workspace/team-members-management.mdx | 26 ++++++++--------- .../cheatsheet.mdx | 10 +++---- .../creating-new-model-provider.mdx | 6 ++-- .../develop-a-slack-bot-plugin.mdx | 16 +++++------ .../tool-plugin.mdx | 4 +-- .../customizable-model.mdx | 6 ++-- .../reverse-invocation-app.mdx | 2 +- .../privacy-protection-guidelines.mdx | 6 ++-- zh/self-host/quick-start/faqs.mdx | 2 +- zh/self-host/troubleshooting/integrations.mdx | 8 +++--- .../setting-indexing-methods.mdx | 26 ++++++++--------- zh/use-dify/monitor/analysis.mdx | 8 +++--- zh/use-dify/monitor/annotation-reply.mdx | 10 +++---- .../integrations/integrate-langfuse.mdx | 6 ++-- zh/use-dify/monitor/logs.mdx | 10 +++---- zh/use-dify/nodes/iteration.mdx | 4 +-- zh/use-dify/nodes/list-operator.mdx | 2 +- zh/use-dify/nodes/loop.mdx | 6 ++-- zh/use-dify/nodes/question-classifier.mdx | 4 +-- zh/use-dify/publish/developing-with-apis.mdx | 10 +++---- .../publish/webapp/chatflow-webapp.mdx | 4 +-- .../publish/webapp/embedding-in-websites.mdx | 4 +-- .../publish/webapp/web-app-settings.mdx | 16 +++++------ .../publish/webapp/workflow-webapp.mdx | 12 ++++---- .../tutorials/workflow-101/lesson-10.mdx | 2 +- zh/use-dify/workspace/app-management.mdx | 24 ++++++++-------- .../workspace/personal-account-management.mdx | 22 +++++++-------- zh/use-dify/workspace/plugins.mdx | 4 +-- .../workspace/subscription-management.mdx | 12 ++++---- .../workspace/team-members-management.mdx | 26 ++++++++--------- 97 files changed, 430 insertions(+), 430 deletions(-) diff --git a/en/develop-plugin/dev-guides-and-walkthroughs/cheatsheet.mdx b/en/develop-plugin/dev-guides-and-walkthroughs/cheatsheet.mdx index 26495352f..2c7d701e9 100644 --- a/en/develop-plugin/dev-guides-and-walkthroughs/cheatsheet.mdx +++ b/en/develop-plugin/dev-guides-and-walkthroughs/cheatsheet.mdx @@ -26,7 +26,7 @@ description: A comprehensive reference guide for Dify plugin development, includ #### Installation Methods for Different Platforms -**macOS [Brew](https://github.com/langgenius/homebrew-dify) (Global Installation):** +**macOS [Brew](https://github.com/langgenius/homebrew-dify) (Global Installation)**: ```bash brew tap langgenius/dify @@ -35,7 +35,7 @@ brew install dify After installation, open a new terminal window and enter the `dify version` command. If it outputs the version information, the installation was successful. -**macOS ARM (M Series Chips):** +**macOS ARM (M Series Chips)**: ```bash # Download dify-plugin-darwin-arm64 @@ -43,7 +43,7 @@ chmod +x dify-plugin-darwin-arm64 ./dify-plugin-darwin-arm64 version ``` -**macOS Intel:** +**macOS Intel**: ```bash # Download dify-plugin-darwin-amd64 @@ -51,7 +51,7 @@ chmod +x dify-plugin-darwin-amd64 ./dify-plugin-darwin-amd64 version ``` -**Linux:** +**Linux**: ```bash # Download dify-plugin-linux-amd64 @@ -59,7 +59,7 @@ chmod +x dify-plugin-linux-amd64 ./dify-plugin-linux-amd64 version ``` -**Global Installation (Recommended):** +**Global Installation (Recommended)**: ```bash # Rename and move to system path diff --git a/en/develop-plugin/dev-guides-and-walkthroughs/creating-new-model-provider.mdx b/en/develop-plugin/dev-guides-and-walkthroughs/creating-new-model-provider.mdx index 5b5354a59..063cceee1 100644 --- a/en/develop-plugin/dev-guides-and-walkthroughs/creating-new-model-provider.mdx +++ b/en/develop-plugin/dev-guides-and-walkthroughs/creating-new-model-provider.mdx @@ -74,13 +74,13 @@ Dify supports two model configuration methods that determine how users will inte These are models that only require unified provider credentials to use. Once a user configures their API key or other authentication details for the provider, they can immediately access all predefined models. -**Example:** The `OpenAI` provider offers predefined models like `gpt-3.5-turbo-0125` and `gpt-4o-2024-05-13`. A user only needs to configure their OpenAI API key once to access all these models. +**Example**: The `OpenAI` provider offers predefined models like `gpt-3.5-turbo-0125` and `gpt-4o-2024-05-13`. A user only needs to configure their OpenAI API key once to access all these models. ### Custom Models (`customizable-model`) These require additional configuration for each specific model instance. This approach is useful when models need individual parameters beyond the provider-level credentials. -**Example:** `Xinference` supports both LLM and Text Embedding, but each model has a unique **model_uid**. Users must configure this model_uid separately for each model they want to use. +**Example**: `Xinference` supports both LLM and Text Embedding, but each model has a unique **model_uid**. Users must configure this model_uid separately for each model they want to use. These configuration methods **can coexist** within a single provider. For instance, a provider might offer some predefined models while also allowing users to add custom models with specific configurations. @@ -280,7 +280,7 @@ For detailed instructions on these steps, please refer to: For each specific model, create a YAML file in the appropriate model type directory (e.g., `models/llm/`) to define its properties, parameters, and features. -**Example (`claude-3-5-sonnet-20240620.yaml`):** +**Example (`claude-3-5-sonnet-20240620.yaml`)**: ```yaml model: claude-3-5-sonnet-20240620 # API identifier for the model diff --git a/en/develop-plugin/dev-guides-and-walkthroughs/develop-a-slack-bot-plugin.mdx b/en/develop-plugin/dev-guides-and-walkthroughs/develop-a-slack-bot-plugin.mdx index 70301f5eb..189ee87e4 100644 --- a/en/develop-plugin/dev-guides-and-walkthroughs/develop-a-slack-bot-plugin.mdx +++ b/en/develop-plugin/dev-guides-and-walkthroughs/develop-a-slack-bot-plugin.mdx @@ -13,7 +13,7 @@ description: This guide provides a complete walkthrough for developing a Slack B scaffolding tool and a pre-created Slack App to build an AI-powered chatbot on Slack. --- -**What You’ll Learn:** +**What You’ll Learn**: Gain a solid understanding of how to build a Slack Bot that’s powered by AI—one that can respond to user questions right inside Slack. If you haven't developed a plugin before, we recommend reading the [Plugin Development Quick Start Guide](/en/develop-plugin/dev-guides-and-walkthroughs/tool-plugin) first. @@ -32,7 +32,7 @@ Slack is an open, real-time communication platform with a robust API. Among its > * **Slack Bot** A chatbot on the Slack platform, acting as a virtual user you can interact with in real-time. > * **Slack Bot Plugin** A plugin in the Dify Marketplace that connects a Dify application with Slack. This guide focuses on how to develop that plugin. -**How It Works (A Simple Overview):** +**How It Works (A Simple Overview)**: 1. **Send a Message to the Slack Bot** @@ -58,13 +58,13 @@ Go to the [Slack API platform](https://api.slack.com/apps), create a Slack app f ![](https://assets-docs.dify.ai/2025/01/c1fd0ac1467faf5a3ebf3818bb234aa8.png) -1. **Enable Webhooks:** +1. **Enable Webhooks**: ![Enable Webhooks](https://assets-docs.dify.ai/2025/01/7112e0710300f1db16827e17f3deac00.png) -2. **Install the App in Your Slack Workspace:** +2. **Install the App in Your Slack Workspace**: ![Install the App in Your Slack Workspace](https://assets-docs.dify.ai/2025/01/88c360ff4f7b04fea52174ce330522fa.png) @@ -102,7 +102,7 @@ This plugin needs to know which Dify app should handle the replies, as well as t Modify the YAML file in the group directory—for example, `group/slack.yaml`. The form’s filename is determined by the info you provided when creating the plugin, so adjust it accordingly. -**Sample Code:** +**Sample Code**: `slack.yaml` @@ -161,7 +161,7 @@ Explanation of the Configuration Fields: Finally, in the `endpoints/slack.yaml` file, change the request method to POST to handle incoming Slack messages properly. -**Sample Code:** +**Sample Code**: `endpoints/slack.yaml` @@ -357,12 +357,12 @@ For a complete Dify plugin project example, visit the [GitHub repository](https: If you want to explore more about plugin development, check the following: -**Quick Starts:** +**Quick Starts**: - [Develop an Extension Plugin](/en/develop-plugin/dev-guides-and-walkthroughs/endpoint) - [Develop a Model Plugin](/en/develop-plugin/dev-guides-and-walkthroughs/creating-new-model-provider) - [Bundle Plugins: Packaging Multiple Plugins](/en/develop-plugin/features-and-specs/advanced-development/bundle) -**Plugin Interface Docs:** +**Plugin Interface Docs**: - [Defining Plugin Information via Manifest File](/en/develop-plugin/features-and-specs/plugin-types/plugin-info-by-manifest) - Manifest structure - [Endpoint](/en/develop-plugin/dev-guides-and-walkthroughs/endpoint) - Endpoint detailed definition - [Reverse Invocation](/en/develop-plugin/features-and-specs/advanced-development/reverse-invocation) - Reverse-calling Dify capabilities diff --git a/en/develop-plugin/dev-guides-and-walkthroughs/tool-plugin.mdx b/en/develop-plugin/dev-guides-and-walkthroughs/tool-plugin.mdx index 739719e50..d500ce620 100644 --- a/en/develop-plugin/dev-guides-and-walkthroughs/tool-plugin.mdx +++ b/en/develop-plugin/dev-guides-and-walkthroughs/tool-plugin.mdx @@ -369,13 +369,13 @@ If you want to publish the plugin to the Dify Marketplace, please ensure that yo ### Explore More -#### **Quick Start:** +#### **Quick Start**: - [Developing Extension Plugins](/en/develop-plugin/dev-guides-and-walkthroughs/endpoint) - [Developing Model Plugins](/en/develop-plugin/dev-guides-and-walkthroughs/creating-new-model-provider) - [Bundle Plugins: Packaging Multiple Plugins](/en/develop-plugin/features-and-specs/advanced-development/bundle) -#### **Plugin Interface Documentation:** +#### **Plugin Interface Documentation**: - [General Specifications](/en/develop-plugin/features-and-specs/plugin-types/general-specifications) - Manifest Structure and Tool Specifications - [Endpoint](/en/develop-plugin/dev-guides-and-walkthroughs/endpoint) - Detailed Endpoint Definition diff --git a/en/develop-plugin/features-and-specs/advanced-development/customizable-model.mdx b/en/develop-plugin/features-and-specs/advanced-development/customizable-model.mdx index 9ec1dc854..391d59906 100644 --- a/en/develop-plugin/features-and-specs/advanced-development/customizable-model.mdx +++ b/en/develop-plugin/features-and-specs/advanced-development/customizable-model.mdx @@ -42,7 +42,7 @@ In your plugin’s `/provider` directory, create a `xinference.yaml` file. The `Xinference` family of models supports **LLM**, **Text Embedding**, and **Rerank** model types, so your `xinference.yaml` must include all three. -**Example:** +**Example**: ```yaml provider: xinference # Identifies the provider @@ -338,13 +338,13 @@ Publish to Dify Marketplace ## Explore More -**Quick Start:** +**Quick Start**: * [Develop Extension Plugin](/en/develop-plugin/features-and-specs/plugin-types/general-specifications) * [Develop Tool Plugin](/en/develop-plugin/dev-guides-and-walkthroughs/tool-plugin) * [Bundle Plugins: Package Multiple Plugins](/en/develop-plugin/features-and-specs/advanced-development/bundle) -**Plugins Endpoint Docs:** +**Plugins Endpoint Docs**: * [Manifest](/en/develop-plugin/features-and-specs/plugin-types/plugin-info-by-manifest) Structure * [Endpoint](/en/develop-plugin/dev-guides-and-walkthroughs/endpoint) Definitions diff --git a/en/develop-plugin/features-and-specs/advanced-development/reverse-invocation-app.mdx b/en/develop-plugin/features-and-specs/advanced-development/reverse-invocation-app.mdx index 079d6ed6c..ea704e847 100644 --- a/en/develop-plugin/features-and-specs/advanced-development/reverse-invocation-app.mdx +++ b/en/develop-plugin/features-and-specs/advanced-development/reverse-invocation-app.mdx @@ -15,7 +15,7 @@ description: This document details how plugins can reverse invoke App services w Reverse invoking an App means that a plugin can access data from an App within Dify. This module supports both streaming and non-streaming App calls. If you are unfamiliar with the basic concepts of reverse invocation, please first read [Reverse Invocation of Dify Services](/en/develop-plugin/features-and-specs/advanced-development/reverse-invocation). -**Interface Types:** +**Interface Types**: * For `Chatbot/Agent/Chatflow` type applications, they are all chat-based applications and thus share the same input and output parameter types. Therefore, they can be uniformly treated as the **Chat Interface.** * For Workflow applications, they occupy a separate **Workflow Interface.** diff --git a/en/develop-plugin/publishing/standards/privacy-protection-guidelines.mdx b/en/develop-plugin/publishing/standards/privacy-protection-guidelines.mdx index 896e6fad2..2d10076ec 100644 --- a/en/develop-plugin/publishing/standards/privacy-protection-guidelines.mdx +++ b/en/develop-plugin/publishing/standards/privacy-protection-guidelines.mdx @@ -25,7 +25,7 @@ Center your privacy policy around the following points: #### 1. List the types of data collected -**Type A:** **Direct Identifiers** +**Type A**: **Direct Identifiers** * Name (e.g., full name, first name, last name) * Email address @@ -47,7 +47,7 @@ Center your privacy policy around the following points: * Health information * Financial information -**Type C: Data that can be combined with other data to identify an individual:** +**Type C: Data that can be combined with other data to identify an individual**: * Age * Gender diff --git a/en/self-host/quick-start/faqs.mdx b/en/self-host/quick-start/faqs.mdx index 157897451..350c95e8c 100644 --- a/en/self-host/quick-start/faqs.mdx +++ b/en/self-host/quick-start/faqs.mdx @@ -26,7 +26,7 @@ unzip dify.zip && rm dify.zip Alternatively, download the ZIP on another device and transfer it manually. -**To upgrade:** +**To upgrade**: ```bash wget -O dify-latest.zip "$(curl -s https://api.github.com/repos/langgenius/dify/releases/latest | jq -r '.zipball_url')" unzip dify-latest.zip && rm dify-latest.zip diff --git a/en/self-host/troubleshooting/integrations.mdx b/en/self-host/troubleshooting/integrations.mdx index af49b8936..e12711ac8 100644 --- a/en/self-host/troubleshooting/integrations.mdx +++ b/en/self-host/troubleshooting/integrations.mdx @@ -30,18 +30,18 @@ Get credentials from [Notion Integrations](https://www.notion.so/my-integrations OpenAI TTS requires FFmpeg for audio stream segmentation. -**macOS:** +**macOS**: ```bash brew install ffmpeg ``` -**Ubuntu:** +**Ubuntu**: ```bash sudo apt-get update sudo apt-get install ffmpeg ``` -**CentOS:** +**CentOS**: ```bash sudo yum install epel-release sudo rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm @@ -49,7 +49,7 @@ sudo yum update sudo yum install ffmpeg ffmpeg-devel ``` -**Windows:** +**Windows**: 1. Download from [FFmpeg website](https://ffmpeg.org/download.html) 2. Extract and move to `C:\Program Files\` 3. Add FFmpeg bin directory to system PATH diff --git a/en/use-dify/knowledge/create-knowledge/setting-indexing-methods.mdx b/en/use-dify/knowledge/create-knowledge/setting-indexing-methods.mdx index 4058a2582..4292f2f79 100644 --- a/en/use-dify/knowledge/create-knowledge/setting-indexing-methods.mdx +++ b/en/use-dify/knowledge/create-knowledge/setting-indexing-methods.mdx @@ -103,7 +103,7 @@ Both retrieval methods are supported in Dify’s knowledge base. The specific re ![Vector Search Settings](https://assets-docs.dify.ai/2024/12/620044faa47a5037f85b32a27a56fce5.png) -**Vector Search Settings:** +**Vector Search Settings**: **Rerank Model**: Disabled by default. When enabled, a third-party Rerank model will sort the text chunks returned by Vector Search to optimize results. This helps the LLM access more precise information and improve output quality. Before enabling this option, go to **Settings** → **Model Providers** and configure the Rerank model’s API key. @@ -123,7 +123,7 @@ Both retrieval methods are supported in Dify’s knowledge base. The specific re **Full-Text Search** -**Definition:** Indexing all terms in the document, allowing users to query any terms and return text fragments containing those terms. +**Definition**: Indexing all terms in the document, allowing users to query any terms and return text fragments containing those terms. ![Full-Text Search Settings](https://assets-docs.dify.ai/2024/12/513bff1ca38ec746b3246502b0311b39.png) @@ -191,7 +191,7 @@ The **"Weight Settings"** and **"Rerank Model"** settings support the following In **Economical Indexing** mode, only the inverted index approach is available. An inverted index is a data structure designed for fast keyword retrieval within documents, commonly used in online search engines. Inverted indexing supports only the **TopK** setting. -**TopK:** Determines how many text chunks, deemed most similar to the user’s query, are retrieved. It also automatically adjusts the number of chunks based on the chosen model’s context window. The default value is **3**, and higher numbers will recall more text chunks. +**TopK**: Determines how many text chunks, deemed most similar to the user’s query, are retrieved. It also automatically adjusts the number of chunks based on the chosen model’s context window. The default value is **3**, and higher numbers will recall more text chunks.

diff --git a/en/use-dify/knowledge/integrate-knowledge-within-application.mdx b/en/use-dify/knowledge/integrate-knowledge-within-application.mdx index c63335459..81e79bade 100644 --- a/en/use-dify/knowledge/integrate-knowledge-within-application.mdx +++ b/en/use-dify/knowledge/integrate-knowledge-within-application.mdx @@ -84,9 +84,9 @@ The **Knowledge Retrieval** node allows you to filter documents using metadata f #### Steps 1. Select Filter Mode: - - **Disabled (Default):** No metadata filtering. + - **Disabled (Default)**: No metadata filtering. - - **Automatic:** Filters auto-configure from query variables in the **Knowledge Retrieval** node. + - **Automatic**: Filters auto-configure from query variables in the **Knowledge Retrieval** node. > Note: Automatic Mode requires model selection for document retrieval. @@ -94,7 +94,7 @@ The **Knowledge Retrieval** node allows you to filter documents using metadata f ![Model_Selection](https://assets-docs.dify.ai/2025/03/fe387793ad9923660f9f9470aacff01b.png) - - **Manual:** Configure filters manually. + - **Manual**: Configure filters manually. ![Manual](https://assets-docs.dify.ai/2025/03/ec6329e265e035e3a0d6941c9313a19d.png) @@ -151,13 +151,13 @@ The **Knowledge Retrieval** node allows you to filter documents using metadata f 5. Add filter values: - - **Variable:** Select from existing **Chatflow/Workflow** variables. + - **Variable**: Select from existing **Chatflow/Workflow** variables. ![Variable](https://assets-docs.dify.ai/2025/03/4c2c55ffcf0f72553fabdf23f86597d0.png) - - **Constant:** Enter specific values. + - **Constant**: Enter specific values. > Time-type fields can only be filtered by constants The date picker is for time-type fields. diff --git a/en/use-dify/knowledge/metadata.mdx b/en/use-dify/knowledge/metadata.mdx index 68710022b..890b9bb64 100644 --- a/en/use-dify/knowledge/metadata.mdx +++ b/en/use-dify/knowledge/metadata.mdx @@ -13,21 +13,21 @@ This guide aims to help you understand metadata and effectively manage your know ### Core Concepts -- **Field:** The label of a metadata field (e.g., "author", "language"). +- **Field**: The label of a metadata field (e.g., "author", "language"). -- **Value:** The information stored in a metadata field (e.g., "Jack", "English"). +- **Value**: The information stored in a metadata field (e.g., "Jack", "English"). ![field_name_and_value](https://assets-docs.dify.ai/2025/03/b6a197aa21ab92db93869fcbfa156b62.png) -- **Value Count:** The number of values contained in a metadata field,including duplicates. (e.g., "3"). +- **Value Count**: The number of values contained in a metadata field,including duplicates. (e.g., "3"). ![metadata_field](https://assets-docs.dify.ai/2025/03/330f26e90438cf50167c4cb6ce30e458.png) -- **Value Type:** The type of value a field can contain. +- **Value Type**: The type of value a field can contain. - Dify supports three value types: - String: For text-based information - Number: For numerical data @@ -263,21 +263,21 @@ To update metadata in bulk: 1. In the editor: -- **Add Values:** Type directly in the field boxes. +- **Add Values**: Type directly in the field boxes. -- **Reset Values:** Click the blue dot that appears on hover. +- **Reset Values**: Click the blue dot that appears on hover. ![reset_values](https://assets-docs.dify.ai/2025/03/01c0cde5a6eafa48e1c6e5438fc2fa6b.png) -- **Delete Values:** Clear the field or delete the **Multiple Value** card. +- **Delete Values**: Clear the field or delete the **Multiple Value** card. ![multiple_values](https://assets-docs.dify.ai/2025/03/5c4323095644d2658881b783246914f1.png) -- **Delete fields:** Click the delete icon (fields appear struck through and grayed out). +- **Delete fields**: Click the delete icon (fields appear struck through and grayed out). > Note: This only deletes the field from this document, not from your knowledge base. @@ -366,11 +366,11 @@ To update a single document's metadata fields and values: 2. Edit metadata: - - **Update Values:** Type directly in value fields or delete it. + - **Update Values**: Type directly in value fields or delete it. > Note: You can only modify the value, not the value name. - - **Delete Fields:** Click the delete icon. + - **Delete Fields**: Click the delete icon. > Note: This only deletes the field from this document, not from your knowledge base. diff --git a/en/use-dify/monitor/analysis.mdx b/en/use-dify/monitor/analysis.mdx index 8bcd095ae..9a156ad8e 100644 --- a/en/use-dify/monitor/analysis.mdx +++ b/en/use-dify/monitor/analysis.mdx @@ -9,9 +9,9 @@ The dashboard tracks four metrics over time to show how your application perform ![Monitoring Dashboard](/images/use-dify/monitor/monitoring-dashboard.png) -**Total Messages:** Conversation volume -**Active Users:** Users with meaningful interactions (more than one exchange) -**Average User Interactions:** Engagement depth per session -**Token Usage:** Resource consumption and costs +**Total Messages**: Conversation volume +**Active Users**: Users with meaningful interactions (more than one exchange) +**Average User Interactions**: Engagement depth per session +**Token Usage**: Resource consumption and costs Use the time selector to view trends over different periods. Click **"Tracing app performance"** to connect external observability platforms like Langfuse or LangSmith for deeper analytics. \ No newline at end of file diff --git a/en/use-dify/monitor/annotation-reply.mdx b/en/use-dify/monitor/annotation-reply.mdx index 59e0a6916..775c5bf6e 100644 --- a/en/use-dify/monitor/annotation-reply.mdx +++ b/en/use-dify/monitor/annotation-reply.mdx @@ -32,9 +32,9 @@ This creates a "fast path" for known good answers while maintaining AI flexibili **Enable in App Configuration** Navigate to **Orchestrate → Add Features** and enable annotation reply. Configure the similarity threshold and embedding model for matching. -**Similarity Threshold:** Higher values require closer matches. Start with moderate settings and adjust based on hit rates. +**Similarity Threshold**: Higher values require closer matches. Start with moderate settings and adjust based on hit rates. -**Embedding Model:** Used to vectorize questions for semantic matching. Changing the model regenerates all embeddings. +**Embedding Model**: Used to vectorize questions for semantic matching. Changing the model regenerates all embeddings. ## Creating Annotations diff --git a/en/use-dify/monitor/integrations/integrate-langfuse.mdx b/en/use-dify/monitor/integrations/integrate-langfuse.mdx index bdb166271..7e6a8d03a 100644 --- a/en/use-dify/monitor/integrations/integrate-langfuse.mdx +++ b/en/use-dify/monitor/integrations/integrate-langfuse.mdx @@ -641,8 +641,8 @@ After configuration, debugging or production data of the application in Dify can The [Langfuse Prompt Management Plugin](https://github.com/gao-ai-com/dify-plugin-langfuse) (community maintained) lets you use prompts that are [managed and versioned in Langfuse](https://langfuse.com/docs/prompt-management/get-started) in your Dify applications, enhancing your LLM application development workflow. Key features include: -- **Get Prompt:** Fetch specific prompts managed in Langfuse. -- **Search Prompts:** Search for prompts in Langfuse using various filters. -- **Update Prompt:** Create new versions of prompts in Langfuse and set tags/labels. +- **Get Prompt**: Fetch specific prompts managed in Langfuse. +- **Search Prompts**: Search for prompts in Langfuse using various filters. +- **Update Prompt**: Create new versions of prompts in Langfuse and set tags/labels. This integration streamlines the process of managing and versioning your prompts, contributing to more efficient development and iteration cycles. You can find the plugin and installation instructions [here](https://github.com/gao-ai-com/dify-plugin-langfuse). diff --git a/en/use-dify/monitor/logs.mdx b/en/use-dify/monitor/logs.mdx index 590c1136e..5f9347fbb 100644 --- a/en/use-dify/monitor/logs.mdx +++ b/en/use-dify/monitor/logs.mdx @@ -16,16 +16,16 @@ Thumbs up/down ratings and user comments are captured alongside the conversation **System Context** Model used, token consumption, response times, and any errors or warnings during processing. -**Exclusions:** Debugging sessions and prompt testing are not included in logs. +**Exclusions**: Debugging sessions and prompt testing are not included in logs. ## Using the Logs Console Access logs from your application's navigation menu. The interface shows: -- **Conversation Timeline:** Chronological list of user interactions -- **Message Details:** Full conversation context with AI responses -- **Performance Data:** Response times and token usage per interaction -- **User Feedback:** Ratings and comments from users and team members +- **Conversation Timeline**: Chronological list of user interactions +- **Message Details**: Full conversation context with AI responses +- **Performance Data**: Response times and token usage per interaction +- **User Feedback**: Ratings and comments from users and team members ## Debugging with Logs diff --git a/en/use-dify/nodes/iteration.mdx b/en/use-dify/nodes/iteration.mdx index 3f34cdb48..ebe71cddc 100644 --- a/en/use-dify/nodes/iteration.mdx +++ b/en/use-dify/nodes/iteration.mdx @@ -13,7 +13,7 @@ The Iteration node processes arrays by running the same workflow steps on each e The node takes an array input and creates a sub-workflow that runs once for each array element. During each iteration, the current item and its index are available as variables that internal nodes can reference. -**Core Components:** +**Core Components**: - **Input Variables** - Array data from upstream nodes - **Internal Workflow** - The processing steps to perform on each element - **Output Variables** - Collected results from all iterations (also an array) @@ -85,7 +85,7 @@ Generate lengthy content by processing chapter outlines individually: ![Long Article Generation Workflow](https://assets-docs.dify.ai/dify-enterprise-mintlify/en/guides/workflow/node/3a403551d48b178d0a41ce2a5748dd2d.png) -**Workflow Steps:** +**Workflow Steps**: 1. **Start Node** - User provides story title and outline 2. **LLM Node** - Generate detailed chapter breakdown diff --git a/en/use-dify/nodes/list-operator.mdx b/en/use-dify/nodes/list-operator.mdx index 8ecce66e7..b3e9b391c 100644 --- a/en/use-dify/nodes/list-operator.mdx +++ b/en/use-dify/nodes/list-operator.mdx @@ -79,7 +79,7 @@ Handle workflows where users upload both documents and images: ![Mixed File Processing Workflow](https://assets-docs.dify.ai/dify-enterprise-mintlify/en/guides/workflow/node/610358293217e54b55b7e1d4d16bf83c.png) -**Implementation Steps:** +**Implementation Steps**: 1. **Configure Mixed Uploads** - Enable file upload features to accept multiple file types 2. **Split by Type** - Use separate List Operator nodes with different filters: diff --git a/en/use-dify/nodes/loop.mdx b/en/use-dify/nodes/loop.mdx index 0d41059c5..7b7dec520 100644 --- a/en/use-dify/nodes/loop.mdx +++ b/en/use-dify/nodes/loop.mdx @@ -59,7 +59,7 @@ Generate random numbers until finding one less than 50: ![Basic Loop Workflow for Random Number Generation](https://assets-docs.dify.ai/2025/04/282013c48b46d3cc4ebf99323da10a31.png) -**Workflow Steps:** +**Workflow Steps**: 1. **Code node** generates random integers between 1-100 2. **If-Else node** checks if number is less than 50 3. **Template node** returns "done" for numbers < 50 to trigger loop termination @@ -75,11 +75,11 @@ Create a poem through iterative refinement, with each version building upon the

``` -**响应式设计:** +**响应式设计**: ```html