diff --git a/en/.gitbook/assets/image (1) (1) (1) (1) (1) (1) (1) (1).png b/en/.gitbook/assets/image (1) (1) (1) (1) (1) (1) (1) (1).png new file mode 100644 index 0000000..8c20eca Binary files /dev/null and b/en/.gitbook/assets/image (1) (1) (1) (1) (1) (1) (1) (1).png differ diff --git a/en/.gitbook/assets/image (1) (1) (1) (1) (1) (1) (1).png b/en/.gitbook/assets/image (1) (1) (1) (1) (1) (1) (1).png index 8c20eca..d11476b 100644 Binary files a/en/.gitbook/assets/image (1) (1) (1) (1) (1) (1) (1).png and b/en/.gitbook/assets/image (1) (1) (1) (1) (1) (1) (1).png differ diff --git a/en/.gitbook/assets/image (1) (1) (1) (1) (1) (1).png b/en/.gitbook/assets/image (1) (1) (1) (1) (1) (1).png index d11476b..abbd931 100644 Binary files a/en/.gitbook/assets/image (1) (1) (1) (1) (1) (1).png and b/en/.gitbook/assets/image (1) (1) (1) (1) (1) (1).png differ diff --git a/en/.gitbook/assets/image (1) (1) (1) (1) (1).png b/en/.gitbook/assets/image (1) (1) (1) (1) (1).png index abbd931..0fdfeda 100644 Binary files a/en/.gitbook/assets/image (1) (1) (1) (1) (1).png and b/en/.gitbook/assets/image (1) (1) (1) (1) (1).png differ diff --git a/en/.gitbook/assets/image (1) (1) (1) (1).png b/en/.gitbook/assets/image (1) (1) (1) (1).png index 0fdfeda..3db705f 100644 Binary files a/en/.gitbook/assets/image (1) (1) (1) (1).png and b/en/.gitbook/assets/image (1) (1) (1) (1).png differ diff --git a/en/.gitbook/assets/image (1) (1) (1).png b/en/.gitbook/assets/image (1) (1) (1).png index 3db705f..6a3c26b 100644 Binary files a/en/.gitbook/assets/image (1) (1) (1).png and b/en/.gitbook/assets/image (1) (1) (1).png differ diff --git a/en/.gitbook/assets/image (1) (1).png b/en/.gitbook/assets/image (1) (1).png index 6a3c26b..dfacafc 100644 Binary files a/en/.gitbook/assets/image (1) (1).png and b/en/.gitbook/assets/image (1) (1).png differ diff --git a/en/.gitbook/assets/image (1).png b/en/.gitbook/assets/image (1).png index dfacafc..d66d2c8 100644 Binary files a/en/.gitbook/assets/image (1).png and b/en/.gitbook/assets/image (1).png differ diff --git a/en/.gitbook/assets/image (10) (1) (1).png b/en/.gitbook/assets/image (10) (1) (1).png new file mode 100644 index 0000000..5ddefe5 Binary files /dev/null and b/en/.gitbook/assets/image (10) (1) (1).png differ diff --git a/en/.gitbook/assets/image (10) (1).png b/en/.gitbook/assets/image (10) (1).png index 5ddefe5..6f16154 100644 Binary files a/en/.gitbook/assets/image (10) (1).png and b/en/.gitbook/assets/image (10) (1).png differ diff --git a/en/.gitbook/assets/image (10).png b/en/.gitbook/assets/image (10).png index 6f16154..dfcd781 100644 Binary files a/en/.gitbook/assets/image (10).png and b/en/.gitbook/assets/image (10).png differ diff --git a/en/.gitbook/assets/image (11) (1) (1).png b/en/.gitbook/assets/image (11) (1) (1).png new file mode 100644 index 0000000..2ef8774 Binary files /dev/null and b/en/.gitbook/assets/image (11) (1) (1).png differ diff --git a/en/.gitbook/assets/image (11) (1).png b/en/.gitbook/assets/image (11) (1).png index 2ef8774..4bac5b3 100644 Binary files a/en/.gitbook/assets/image (11) (1).png and b/en/.gitbook/assets/image (11) (1).png differ diff --git a/en/.gitbook/assets/image (11).png b/en/.gitbook/assets/image (11).png index 4bac5b3..dfcd781 100644 Binary files a/en/.gitbook/assets/image (11).png and b/en/.gitbook/assets/image (11).png differ diff --git a/en/.gitbook/assets/image (12) (1) (1).png b/en/.gitbook/assets/image (12) (1) (1).png new file mode 100644 index 0000000..b912edf Binary files /dev/null and b/en/.gitbook/assets/image (12) (1) (1).png differ diff --git a/en/.gitbook/assets/image (12) (1).png b/en/.gitbook/assets/image (12) (1).png index b912edf..4bac5b3 100644 Binary files a/en/.gitbook/assets/image (12) (1).png and b/en/.gitbook/assets/image (12) (1).png differ diff --git a/en/.gitbook/assets/image (12).png b/en/.gitbook/assets/image (12).png index 4bac5b3..5efac67 100644 Binary files a/en/.gitbook/assets/image (12).png and b/en/.gitbook/assets/image (12).png differ diff --git a/en/.gitbook/assets/image (13) (1) (1).png b/en/.gitbook/assets/image (13) (1) (1).png new file mode 100644 index 0000000..72ea54e Binary files /dev/null and b/en/.gitbook/assets/image (13) (1) (1).png differ diff --git a/en/.gitbook/assets/image (13) (1).png b/en/.gitbook/assets/image (13) (1).png index 72ea54e..ba87e97 100644 Binary files a/en/.gitbook/assets/image (13) (1).png and b/en/.gitbook/assets/image (13) (1).png differ diff --git a/en/.gitbook/assets/image (13).png b/en/.gitbook/assets/image (13).png index ba87e97..cd02259 100644 Binary files a/en/.gitbook/assets/image (13).png and b/en/.gitbook/assets/image (13).png differ diff --git a/en/.gitbook/assets/image (14) (1) (1).png b/en/.gitbook/assets/image (14) (1) (1).png new file mode 100644 index 0000000..3e26e1a Binary files /dev/null and b/en/.gitbook/assets/image (14) (1) (1).png differ diff --git a/en/.gitbook/assets/image (14) (1).png b/en/.gitbook/assets/image (14) (1).png index 3e26e1a..17b2dd4 100644 Binary files a/en/.gitbook/assets/image (14) (1).png and b/en/.gitbook/assets/image (14) (1).png differ diff --git a/en/.gitbook/assets/image (14).png b/en/.gitbook/assets/image (14).png index 17b2dd4..a9b8900 100644 Binary files a/en/.gitbook/assets/image (14).png and b/en/.gitbook/assets/image (14).png differ diff --git a/en/.gitbook/assets/image (15) (1) (1).png b/en/.gitbook/assets/image (15) (1) (1).png new file mode 100644 index 0000000..09de148 Binary files /dev/null and b/en/.gitbook/assets/image (15) (1) (1).png differ diff --git a/en/.gitbook/assets/image (15) (1).png b/en/.gitbook/assets/image (15) (1).png index 09de148..4f2d7dd 100644 Binary files a/en/.gitbook/assets/image (15) (1).png and b/en/.gitbook/assets/image (15) (1).png differ diff --git a/en/.gitbook/assets/image (15).png b/en/.gitbook/assets/image (15).png index 4f2d7dd..50f1b2b 100644 Binary files a/en/.gitbook/assets/image (15).png and b/en/.gitbook/assets/image (15).png differ diff --git a/en/.gitbook/assets/image (2) (1) (1) (1) (1) (1) (1).png b/en/.gitbook/assets/image (2) (1) (1) (1) (1) (1) (1).png new file mode 100644 index 0000000..4f9324b Binary files /dev/null and b/en/.gitbook/assets/image (2) (1) (1) (1) (1) (1) (1).png differ diff --git a/en/.gitbook/assets/image (2) (1) (1) (1) (1) (1).png b/en/.gitbook/assets/image (2) (1) (1) (1) (1) (1).png index 4f9324b..6ea5c61 100644 Binary files a/en/.gitbook/assets/image (2) (1) (1) (1) (1) (1).png and b/en/.gitbook/assets/image (2) (1) (1) (1) (1) (1).png differ diff --git a/en/.gitbook/assets/image (2) (1) (1) (1) (1).png b/en/.gitbook/assets/image (2) (1) (1) (1) (1).png index 6ea5c61..f19b0c0 100644 Binary files a/en/.gitbook/assets/image (2) (1) (1) (1) (1).png and b/en/.gitbook/assets/image (2) (1) (1) (1) (1).png differ diff --git a/en/.gitbook/assets/image (2) (1) (1) (1).png b/en/.gitbook/assets/image (2) (1) (1) (1).png index f19b0c0..eddf580 100644 Binary files a/en/.gitbook/assets/image (2) (1) (1) (1).png and b/en/.gitbook/assets/image (2) (1) (1) (1).png differ diff --git a/en/.gitbook/assets/image (2) (1) (1).png b/en/.gitbook/assets/image (2) (1) (1).png index eddf580..6a3c26b 100644 Binary files a/en/.gitbook/assets/image (2) (1) (1).png and b/en/.gitbook/assets/image (2) (1) (1).png differ diff --git a/en/.gitbook/assets/image (2) (1).png b/en/.gitbook/assets/image (2) (1).png index 6a3c26b..50f1b2b 100644 Binary files a/en/.gitbook/assets/image (2) (1).png and b/en/.gitbook/assets/image (2) (1).png differ diff --git a/en/.gitbook/assets/image (2).png b/en/.gitbook/assets/image (2).png index 50f1b2b..a81854f 100644 Binary files a/en/.gitbook/assets/image (2).png and b/en/.gitbook/assets/image (2).png differ diff --git a/en/.gitbook/assets/image (3) (1) (1) (1) (1) (1) (1).png b/en/.gitbook/assets/image (3) (1) (1) (1) (1) (1) (1).png new file mode 100644 index 0000000..46e504d Binary files /dev/null and b/en/.gitbook/assets/image (3) (1) (1) (1) (1) (1) (1).png differ diff --git a/en/.gitbook/assets/image (3) (1) (1) (1) (1) (1).png b/en/.gitbook/assets/image (3) (1) (1) (1) (1) (1).png index 46e504d..24035bb 100644 Binary files a/en/.gitbook/assets/image (3) (1) (1) (1) (1) (1).png and b/en/.gitbook/assets/image (3) (1) (1) (1) (1) (1).png differ diff --git a/en/.gitbook/assets/image (3) (1) (1) (1) (1).png b/en/.gitbook/assets/image (3) (1) (1) (1) (1).png index 24035bb..2b9f28f 100644 Binary files a/en/.gitbook/assets/image (3) (1) (1) (1) (1).png and b/en/.gitbook/assets/image (3) (1) (1) (1) (1).png differ diff --git a/en/.gitbook/assets/image (3) (1) (1) (1).png b/en/.gitbook/assets/image (3) (1) (1) (1).png index 2b9f28f..ecb5d46 100644 Binary files a/en/.gitbook/assets/image (3) (1) (1) (1).png and b/en/.gitbook/assets/image (3) (1) (1) (1).png differ diff --git a/en/.gitbook/assets/image (3) (1) (1).png b/en/.gitbook/assets/image (3) (1) (1).png index ecb5d46..090c776 100644 Binary files a/en/.gitbook/assets/image (3) (1) (1).png and b/en/.gitbook/assets/image (3) (1) (1).png differ diff --git a/en/.gitbook/assets/image (3) (1).png b/en/.gitbook/assets/image (3) (1).png index 090c776..dfacafc 100644 Binary files a/en/.gitbook/assets/image (3) (1).png and b/en/.gitbook/assets/image (3) (1).png differ diff --git a/en/.gitbook/assets/image (3).png b/en/.gitbook/assets/image (3).png index dfacafc..82c1759 100644 Binary files a/en/.gitbook/assets/image (3).png and b/en/.gitbook/assets/image (3).png differ diff --git a/en/.gitbook/assets/image (4) (1) (1) (1).png b/en/.gitbook/assets/image (4) (1) (1) (1).png new file mode 100644 index 0000000..f8b59b3 Binary files /dev/null and b/en/.gitbook/assets/image (4) (1) (1) (1).png differ diff --git a/en/.gitbook/assets/image (4) (1) (1).png b/en/.gitbook/assets/image (4) (1) (1).png index f8b59b3..534d1e6 100644 Binary files a/en/.gitbook/assets/image (4) (1) (1).png and b/en/.gitbook/assets/image (4) (1) (1).png differ diff --git a/en/.gitbook/assets/image (4) (1).png b/en/.gitbook/assets/image (4) (1).png index 534d1e6..dfacafc 100644 Binary files a/en/.gitbook/assets/image (4) (1).png and b/en/.gitbook/assets/image (4) (1).png differ diff --git a/en/.gitbook/assets/image (4).png b/en/.gitbook/assets/image (4).png index dfacafc..6abd6b9 100644 Binary files a/en/.gitbook/assets/image (4).png and b/en/.gitbook/assets/image (4).png differ diff --git a/en/.gitbook/assets/image (5) (1) (1).png b/en/.gitbook/assets/image (5) (1) (1).png new file mode 100644 index 0000000..2c0fa11 Binary files /dev/null and b/en/.gitbook/assets/image (5) (1) (1).png differ diff --git a/en/.gitbook/assets/image (5) (1).png b/en/.gitbook/assets/image (5) (1).png index 2c0fa11..dfacafc 100644 Binary files a/en/.gitbook/assets/image (5) (1).png and b/en/.gitbook/assets/image (5) (1).png differ diff --git a/en/.gitbook/assets/image (5).png b/en/.gitbook/assets/image (5).png index dfacafc..3a7c787 100644 Binary files a/en/.gitbook/assets/image (5).png and b/en/.gitbook/assets/image (5).png differ diff --git a/en/.gitbook/assets/image (6) (1) (1).png b/en/.gitbook/assets/image (6) (1) (1).png new file mode 100644 index 0000000..bff16da Binary files /dev/null and b/en/.gitbook/assets/image (6) (1) (1).png differ diff --git a/en/.gitbook/assets/image (6) (1).png b/en/.gitbook/assets/image (6) (1).png index bff16da..111cce5 100644 Binary files a/en/.gitbook/assets/image (6) (1).png and b/en/.gitbook/assets/image (6) (1).png differ diff --git a/en/.gitbook/assets/image (6).png b/en/.gitbook/assets/image (6).png index 111cce5..4aab539 100644 Binary files a/en/.gitbook/assets/image (6).png and b/en/.gitbook/assets/image (6).png differ diff --git a/en/.gitbook/assets/image (7) (1) (1).png b/en/.gitbook/assets/image (7) (1) (1).png new file mode 100644 index 0000000..2406525 Binary files /dev/null and b/en/.gitbook/assets/image (7) (1) (1).png differ diff --git a/en/.gitbook/assets/image (7) (1).png b/en/.gitbook/assets/image (7) (1).png index 2406525..4a9bfe2 100644 Binary files a/en/.gitbook/assets/image (7) (1).png and b/en/.gitbook/assets/image (7) (1).png differ diff --git a/en/.gitbook/assets/image (7).png b/en/.gitbook/assets/image (7).png index 4a9bfe2..8a61895 100644 Binary files a/en/.gitbook/assets/image (7).png and b/en/.gitbook/assets/image (7).png differ diff --git a/en/.gitbook/assets/image (8) (1) (1).png b/en/.gitbook/assets/image (8) (1) (1).png new file mode 100644 index 0000000..cc5a958 Binary files /dev/null and b/en/.gitbook/assets/image (8) (1) (1).png differ diff --git a/en/.gitbook/assets/image (8) (1).png b/en/.gitbook/assets/image (8) (1).png index cc5a958..253b055 100644 Binary files a/en/.gitbook/assets/image (8) (1).png and b/en/.gitbook/assets/image (8) (1).png differ diff --git a/en/.gitbook/assets/image (8).png b/en/.gitbook/assets/image (8).png index 253b055..61ed295 100644 Binary files a/en/.gitbook/assets/image (8).png and b/en/.gitbook/assets/image (8).png differ diff --git a/en/.gitbook/assets/image (9) (1) (1).png b/en/.gitbook/assets/image (9) (1) (1).png new file mode 100644 index 0000000..4623dee Binary files /dev/null and b/en/.gitbook/assets/image (9) (1) (1).png differ diff --git a/en/.gitbook/assets/image (9) (1).png b/en/.gitbook/assets/image (9) (1).png index 4623dee..96f753c 100644 Binary files a/en/.gitbook/assets/image (9) (1).png and b/en/.gitbook/assets/image (9) (1).png differ diff --git a/en/.gitbook/assets/image (9).png b/en/.gitbook/assets/image (9).png index 96f753c..61545c7 100644 Binary files a/en/.gitbook/assets/image (9).png and b/en/.gitbook/assets/image (9).png differ diff --git a/en/.gitbook/assets/image.png b/en/.gitbook/assets/image.png index 50f1b2b..d38f831 100644 Binary files a/en/.gitbook/assets/image.png and b/en/.gitbook/assets/image.png differ diff --git a/en/SUMMARY.md b/en/SUMMARY.md index 9586b54..d38e28c 100644 --- a/en/SUMMARY.md +++ b/en/SUMMARY.md @@ -58,10 +58,13 @@ * [HTTP Request](features/workflow/node/http-request.md) * [Tools](features/workflow/node/tools.md) * [Preview\&Run](features/workflow/preview-and-run/README.md) + * [Preview\&Run](features/workflow/preview-and-run/preview-and-run.md) + * [Step Test](features/workflow/preview-and-run/step-test.md) * [Log](features/workflow/preview-and-run/log.md) * [Checklist](features/workflow/preview-and-run/checklist.md) * [History](features/workflow/preview-and-run/history.md) * [Publish](features/workflow/publish.md) + * [Export/Import](features/workflow/export-import.md) * [RAG (Retrieval Augmented Generation)](features/retrieval-augment/README.md) * [Hybrid Search](features/retrieval-augment/hybrid-search.md) * [Rerank](features/retrieval-augment/rerank.md) diff --git a/en/features/annotation-reply.md b/en/features/annotation-reply.md index 6132788..4d1acd7 100644 --- a/en/features/annotation-reply.md +++ b/en/features/annotation-reply.md @@ -19,7 +19,7 @@ The feature provides an alternative system for enhancing retrieval, skipping the 4. Without a match, the query follows the standard LLM or RAG process. 5. Deactivating Annotation Reply ceases matching replies from the annotations. -

Annotation Reply Process

+

Annotation Reply Process

## Activation diff --git a/en/features/datasets/README.md b/en/features/datasets/README.md index 1b33cf4..47d0a65 100644 --- a/en/features/datasets/README.md +++ b/en/features/datasets/README.md @@ -78,9 +78,9 @@ Modify Documents For technical reasons, if developers make the following changes Dify support customizing the segmented and cleaned text by adding, deleting, and editing paragraphs. You can dynamically adjust your segmentation to make your knowledge more accurate. Click **Document --> paragraph --> Edit** in the knowledge to modify paragraphs content and custom keywords. Click **Document --> paragraph --> Add segment --> Add a segment** to manually add new paragraph. Or click **Document --> paragraph --> Add segment --> Batch add** to batch add new paragraph. -

Edit

+

Edit

-

add

+

add

### Disabling and Archiving of Documents diff --git a/en/features/datasets/sync-from-notion.md b/en/features/datasets/sync-from-notion.md index cfbf14c..3d2c4d2 100644 --- a/en/features/datasets/sync-from-notion.md +++ b/en/features/datasets/sync-from-notion.md @@ -39,11 +39,11 @@ Create an integration in your [integration's settings](https://www.notion.so/my- Click the " **New integration** " button, the type is Internal by default (cannot be modified), select the associated space, enter the name and upload the logo, and click "**Submit**" to create the integration successfully. -
+
Once the integration is created, you can update its settings as needed under the **Capabilities** tab and click the "**Show**" button under **Secrets** and then copy the Secrets. -
+
Copy it and back to the Dify source code , in the **.env** file configuration related environment variables, environment variables as follows: @@ -57,11 +57,11 @@ Copy it and back to the Dify source code , in the **.env** file configuration re To toggle the switch to public settings, you need to **fill in additional information in the Organization Information** form below, including your company name, website, and Retargeting URL, and click the "Submit" button. -
+
After your integration has been successfully made public in your [integration’s settings page](https://www.notion.so/my-integrations), you will be able to access the integration’s secrets in the Secrets tab. -
+
Back to the Dify source code , in the **.env** file configuration related environment variables , environment variables as follows: diff --git a/en/features/retrieval-augment/README.md b/en/features/retrieval-augment/README.md index ff0c856..3afe490 100644 --- a/en/features/retrieval-augment/README.md +++ b/en/features/retrieval-augment/README.md @@ -8,7 +8,7 @@ Developers can utilize this technology to cost-effectively build AI-powered cust In the diagram below, when a user asks, "Who is the President of the United States?", the system doesn't directly relay the question to the large model for an answer. Instead, it first conducts a vector search in a knowledge base (like Wikipedia, as shown in the diagram) for the user's query. It finds relevant content through semantic similarity matching (for instance, "Biden is the current 46th President of the United States…"), and then provides the user's question along with the found knowledge to the large model. This enables the model to have sufficient and complete knowledge to answer the question, thereby yielding a more reliable response. -

Basic Architecture of RAG

+

Basic Architecture of RAG

## Why is this necessary? diff --git a/en/features/retrieval-augment/hybrid-search.md b/en/features/retrieval-augment/hybrid-search.md index 0c7a115..e92d46a 100644 --- a/en/features/retrieval-augment/hybrid-search.md +++ b/en/features/retrieval-augment/hybrid-search.md @@ -29,7 +29,7 @@ In most text search scenarios, it's crucial to ensure that the most relevant res In Hybrid Search, vector and keyword indices are pre-established in the database. Upon user query input, the system searches for the most relevant text in documents using both search methods. -

Hybrid Search

+

Hybrid Search

"Hybrid Search" doesn't have a definitive definition; this article exemplifies it as a combination of Vector Search and Keyword Search. However, the term can also apply to other combinations of search algorithms. For instance, we could combine knowledge graph technology, used for retrieving entity relationships, with Vector Search. diff --git a/en/features/workflow/export-import.md b/en/features/workflow/export-import.md new file mode 100644 index 0000000..b7fb0d4 --- /dev/null +++ b/en/features/workflow/export-import.md @@ -0,0 +1,15 @@ +# Export/Import + +You can export/import application templates as YAML-format DSL (Domain Specific Language) files within the studio to share applications with your team members. + +To import a DSL file in the studio application list: + +
+ +To export a DSL file from the studio application list: + +
+ +To export a DSL file from the workflow orchestration page: + +
diff --git a/en/features/workflow/introduce.md b/en/features/workflow/introduce.md index ce63012..093fca2 100644 --- a/en/features/workflow/introduce.md +++ b/en/features/workflow/introduce.md @@ -9,11 +9,11 @@ Workflow reduces system complexity by breaking complex tasks into smaller steps To address the complexity of user intent recognition in natural language inputs, Chatflow provides problem understanding nodes, such as question classification, question rewriting, sub-question splitting, etc. In addition, it will also provide LLM with the ability to interact with the external environment, i.e., tool invocation capability, such as online search, mathematical calculation, weather query, drawing, etc. -
+
To solve complex business logic in automation and batch processing scenarios, Workflow provides a wealth of logic nodes, such as code nodes, IF/ELSE nodes, merge nodes, template conversion nodes, etc. In addition, it will also provide the ability to trigger by time and event, facilitating the construction of automated processes. -
+
### Common Cases diff --git a/en/features/workflow/key-concept.md b/en/features/workflow/key-concept.md index 64c6d40..1ed97d0 100644 --- a/en/features/workflow/key-concept.md +++ b/en/features/workflow/key-concept.md @@ -42,8 +42,8 @@ Variables are crucial for linking the input and output of nodes within a workflo * **Chatflow Entry**: -
+
* **Workflow Entry**: -
+
diff --git a/en/features/workflow/node/answer.md b/en/features/workflow/node/answer.md index 58e3759..ff31984 100644 --- a/en/features/workflow/node/answer.md +++ b/en/features/workflow/node/answer.md @@ -14,10 +14,10 @@ Answer node can be seamlessly integrated at any point to dynamically deliver con Example 1: Output plain text. -
+
Example 2: Output image and LLM reply. -
+
-
+
diff --git a/en/features/workflow/node/end.md b/en/features/workflow/node/end.md index 91a917b..f497d04 100644 --- a/en/features/workflow/node/end.md +++ b/en/features/workflow/node/end.md @@ -6,8 +6,8 @@ The "End" node serves as the termination point of the process, beyond which no f Single-Path Execution Example: -
+
Multi-Path Execution Example: -
+
diff --git a/en/features/workflow/node/http-request.md b/en/features/workflow/node/http-request.md index 5fe5175..2ed514d 100644 --- a/en/features/workflow/node/http-request.md +++ b/en/features/workflow/node/http-request.md @@ -1,2 +1,7 @@ # HTTP Request +HTTP Request node lets you craft and dispatch HTTP requests to specified endpoints, enabling a wide range of integrations and data exchanges with external services. The node supports all common HTTP request methods, and lets you fully customize over the URL, headers, query parameters, body content, and authorization details of the request. + +
+ +A really handy feature with HTTP request is the ability to dynamically construct the request by inserting variables in different fields. For instance, in a customer support scenario, variables such as username or customer ID can be used to personalize automated responses sent via a POST request, or retrieve individual-specific information related to the customer.The HTTP request returns `body`, `status_code`, `headers`, and `files` as outputs. If the response includes files of [MIME](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics\_of\_HTTP/MIME\_types/Common\_types) types (currently limited to images), the node automatically saves these as `files` for downstream use. diff --git a/en/features/workflow/node/llm.md b/en/features/workflow/node/llm.md index e69a6ad..b23ae6a 100644 --- a/en/features/workflow/node/llm.md +++ b/en/features/workflow/node/llm.md @@ -2,7 +2,7 @@ Invoking a Large Language Model for Question Answering or Natural Language Processing. Within an LLM node, you can select an appropriate model, compose prompts, set the context referenced in the prompts, configure memory settings, and adjust the memory window size. -
+
Configuring an LLM node primarily involves two steps: @@ -13,7 +13,7 @@ Configuring an LLM node primarily involves two steps: Before selecting a model suitable for your task, you must complete the model configuration in "System Settings—Model Provider". The specific configuration method can be referenced in the [model configuration instructions](https://docs.dify.ai/v/zh-hans/guides/model-configuration). After selecting a model, you can configure its parameters. -
+
**Write Prompts** @@ -21,15 +21,15 @@ Within an LLM node, you can customize the model input prompts. If you choose a c For instance, in a knowledge base Q\&A scenario, after linking the "Result" variable from the knowledge base retrieval node in "Context", inserting the "Context" special variable in the prompts will use the text retrieved from the knowledge base as the context background information for the model input. -
+
In the prompt editor, you can bring up the variable insertion menu by typing "/" or "{" to insert special variable blocks or variables from preceding flow nodes into the prompts as context content. -
+
If you opt for a completion model, the system provides preset prompt templates for conversational applications. You can customize the content of the prompts and insert special variable blocks like "Conversation History" and "Context" at appropriate positions by typing "/" or "{", enabling richer conversational functionalities. -
+
**Memory Toggle Settings** In conversational applications (Chatflow), the LLM node defaults to enabling system memory settings. In multi-turn dialogues, the system stores historical dialogue messages and passes them into the model. In workflow applications (Workflow), system memory is turned off by default, and no memory setting options are provided. diff --git a/en/features/workflow/node/question-classifier.md b/en/features/workflow/node/question-classifier.md index 0c1f54b..d9de2e4 100644 --- a/en/features/workflow/node/question-classifier.md +++ b/en/features/workflow/node/question-classifier.md @@ -12,6 +12,6 @@ Configuring the Question Classifier Node involves three main components: **Selecting the Input Variable** In conversational customer scenarios, you can use the user input variable from the "Start Node" (sys.query) as the input for the question classifier. In automated/batch processing scenarios, customer feedback or email content can be utilized as input variables. -**Configuring the Inference Model** The question classifier relies on the natural language processing capabilities of the LLM to categorize text. You will need to configure an inference model for the classifier. Before configuring this model, you might need to complete the model setup in "System Settings - Model Provider". The specific configuration method can be found in the model configuration instructions. After selecting a suitable model, you can configure its parameters. +**Configuring the Inference Model** The question classifier relies on the natural language processing capabilities of the LLM to categorize text. You will need to configure an inference model for the classifier. Before configuring this model, you might need to complete the model setup in "System Settings - Model Provider". The specific configuration method can be found in the [model configuration instructions](https://docs.dify.ai/v/zh-hans/guides/model-configuration). After selecting a suitable model, you can configure its parameters. **Writing Classification Conditions** You can manually add multiple classifications by composing keywords or descriptive sentences that fit each classification. Based on the descriptions of these conditions, the question classifier can route the dialogue to the appropriate process path according to the semantics of the user's input. diff --git a/en/features/workflow/node/tools.md b/en/features/workflow/node/tools.md index b410c0f..fe273da 100644 --- a/en/features/workflow/node/tools.md +++ b/en/features/workflow/node/tools.md @@ -1,2 +1,12 @@ # Tools +Within a workflow, Dify provides both built-in and customizable tools. Before utilizing these tools, you need to "authorize" them. If the built-in tools do not meet your requirements, you can create custom tools within "Dify—Tools". + +
+ +Configuring a tool node generally involves two steps: + +1. **Authorizing the Tool/Creating Custom Tools** +2. **Configuring Tool Inputs and Parameters** + +For guidance on creating custom tools and configuring them, please refer to the tool configuration instructions. diff --git a/en/features/workflow/node/variable-assigner.md b/en/features/workflow/node/variable-assigner.md index 5e0c010..4c324c6 100644 --- a/en/features/workflow/node/variable-assigner.md +++ b/en/features/workflow/node/variable-assigner.md @@ -1,2 +1,11 @@ # Variable Assigner +The Variable Assigner node serves as a hub for collecting branch outputs within the workflow, ensuring that regardless of which branch is taken, the output can be referenced by a single variable. The output can subsequently be manipulated by nodes downstream. + +
+ +Variable Assigner supports multiple types of output variables including `String`,`Number`, `Object`, and `Array`. Given the specified output type, you may add input variables from the dropdown list of variables to the node. The list of variables is derived from previous branch outputs and autofiltered based on the specified type. + +
+ +Variable Assigner gives a single `output` variable of the specified type for downstream use. diff --git a/en/features/workflow/preview-and-run/checklist.md b/en/features/workflow/preview-and-run/checklist.md index c0c577c..00768b0 100644 --- a/en/features/workflow/preview-and-run/checklist.md +++ b/en/features/workflow/preview-and-run/checklist.md @@ -4,3 +4,6 @@ description: Checklist # Checklist +Before entering debug mode, you can check the checklist to see if there are any nodes with incomplete configurations or that have not been connected. + +
diff --git a/en/features/workflow/preview-and-run/history.md b/en/features/workflow/preview-and-run/history.md index 319f575..87dba36 100644 --- a/en/features/workflow/preview-and-run/history.md +++ b/en/features/workflow/preview-and-run/history.md @@ -4,3 +4,6 @@ description: History # History +In the "Run History," you can view the run results and log information from the historical debugging of the current workflow. + +
diff --git a/en/features/workflow/preview-and-run/log.md b/en/features/workflow/preview-and-run/log.md index 87a95d4..e0a363c 100644 --- a/en/features/workflow/preview-and-run/log.md +++ b/en/features/workflow/preview-and-run/log.md @@ -4,3 +4,10 @@ description: Log # Log +Clicking "View Log—Details" allows you to see a comprehensive overview of the run, including information on input/output, metadata, and more, in the details section. + +
+ +Clicking "View Log—Trace" enables you to review the input/output, token consumption, runtime duration, etc., of each node throughout the complete execution process of the workflow. + +
diff --git a/en/features/workflow/preview-and-run/preview-and-run.md b/en/features/workflow/preview-and-run/preview-and-run.md new file mode 100644 index 0000000..b859943 --- /dev/null +++ b/en/features/workflow/preview-and-run/preview-and-run.md @@ -0,0 +1,13 @@ +# Preview\&Run + +Dify Workflow offers a comprehensive set of execution and debugging features. In conversational applications, clicking "Preview" enters debugging mode. + +
+ +In workflow applications, clicking "Run" enters debugging mode. + +
+ +Once in debugging mode, you can debug the configured workflow using the interface on the right side of the screen. + +
diff --git a/en/features/workflow/preview-and-run/step-test.md b/en/features/workflow/preview-and-run/step-test.md new file mode 100644 index 0000000..806367f --- /dev/null +++ b/en/features/workflow/preview-and-run/step-test.md @@ -0,0 +1,9 @@ +# Step Test + +Workflow supports step-by-step debugging of nodes, where you can repetitively test whether the execution of the current node meets expectations. + +
+ +After running a step test, you can review the execution status, input/output, and metadata information. + +
diff --git a/en/features/workflow/publish.md b/en/features/workflow/publish.md index a66ad78..1e75383 100644 --- a/en/features/workflow/publish.md +++ b/en/features/workflow/publish.md @@ -1,2 +1,19 @@ # Publish +After completing debugging, clicking "Publish" in the upper right corner allows you to save and quickly release the workflow as different types of applications. + +
+ +Conversational applications can be published as: + +* Run App +* Embed into Site +* Access API Reference + +Workflow applications can be published as: + +* Run App +* Batch Run App +* Access API Reference + +You can also click "Restore" to preview the last published version of the application. Confirming the restore will use the last published workflow version to overwrite the current workflow version. diff --git a/en/tutorials/model-configuration/xinference.md b/en/tutorials/model-configuration/xinference.md index f4eb82c..19b894d 100644 --- a/en/tutorials/model-configuration/xinference.md +++ b/en/tutorials/model-configuration/xinference.md @@ -33,7 +33,7 @@ There are two ways to deploy Xinference, namely [local deployment](https://githu Visit `http://127.0.0.1:9997`, select the model and specification you need to deploy, as shown below: -
+
As different models have different compatibility on different hardware platforms, please refer to [Xinference built-in models](https://inference.readthedocs.io/en/latest/models/builtin/index.html) to ensure the created model supports the current hardware platform. 4. Obtain the model UID diff --git a/en/user-guide/creating-dify-apps/prompt-engineering/conversation-application.md b/en/user-guide/creating-dify-apps/prompt-engineering/conversation-application.md index 41a020c..01e3f00 100644 --- a/en/user-guide/creating-dify-apps/prompt-engineering/conversation-application.md +++ b/en/user-guide/creating-dify-apps/prompt-engineering/conversation-application.md @@ -22,7 +22,7 @@ Click the "Create Application" button on the homepage to create an application. After the application is successfully created, it will automatically redirect to the application overview page. Click on the left-hand menu: “**Prompt Eng.**” to compose the application. -
+
**2.1 Fill in Prompts** @@ -44,19 +44,19 @@ To add the opening dialogue, click the "Add Feature" button in the upper left co And then edit the opening remarks: -![](<../../../.gitbook/assets/image (15) (1).png>) +![](<../../../.gitbook/assets/image (15) (1) (1).png>) **2.2 Adding Context** If an application wants to generate content based on private contextual conversations, it can use our [knowledge](../../../features/datasets/) feature. Click the "Add" button in the context to add a knowledge base. -![](<../../../.gitbook/assets/image (9) (1).png>) +![](<../../../.gitbook/assets/image (9) (1) (1).png>) **2.3 Debugging** We fill in the user input on the right side and debug the input content. -![](<../../../.gitbook/assets/image (11) (1).png>) +![](<../../../.gitbook/assets/image (11) (1) (1).png>) If the results are not satisfactory, you can adjust the prompts and model parameters. Click on the model name in the upper right corner to set the parameters of the model: diff --git a/en/user-guide/creating-dify-apps/prompt-engineering/text-generation-application.md b/en/user-guide/creating-dify-apps/prompt-engineering/text-generation-application.md index acce097..d5b1249 100644 --- a/en/user-guide/creating-dify-apps/prompt-engineering/text-generation-application.md +++ b/en/user-guide/creating-dify-apps/prompt-engineering/text-generation-application.md @@ -30,13 +30,13 @@ Prompts are used to give a series of instructions and constraints to the AI resp The prompt we are filling in here is: `Translate the content to: {{language}}. The content is as follows:` -![](<../../../.gitbook/assets/image (7) (1).png>) +![](<../../../.gitbook/assets/image (7) (1) (1).png>) **2.2 Adding Context** If the application wants to generate content based on private contextual conversations, our [knowledge](../../../features/datasets/) feature can be used. Click the "Add" button in the context to add a knowledge base. -![](<../../../.gitbook/assets/image (12) (1).png>) +![](<../../../.gitbook/assets/image (12) (1) (1).png>) **2.3 Adding Future: Generate more like this** diff --git a/en/user-guide/creating-dify-apps/use-cases/build-an-notion-ai-assistant.md b/en/user-guide/creating-dify-apps/use-cases/build-an-notion-ai-assistant.md index 20ab952..9fb4581 100644 --- a/en/user-guide/creating-dify-apps/use-cases/build-an-notion-ai-assistant.md +++ b/en/user-guide/creating-dify-apps/use-cases/build-an-notion-ai-assistant.md @@ -94,7 +94,7 @@ _I want you to act as an IT Expert in my Notion workspace, using your knowledge It's recommended to initially enable the AI to actively furnish the users with a starter sentence, providing a clue as to what they can ask. Furthermore, activating the 'Speech to Text' feature can allow users to interact with your AI assistant using their voice. -
+
Finally, Click the "Publish" button on the top right of the page. Now you can click the public URL in the "Overview" section to converse with your personalized AI assistant! diff --git a/en/user-guide/using-dify-apps/chat.md b/en/user-guide/using-dify-apps/chat.md index e958f55..34f4826 100644 --- a/en/user-guide/using-dify-apps/chat.md +++ b/en/user-guide/using-dify-apps/chat.md @@ -32,7 +32,7 @@ Currently we support the following plugins: We can choose the plugins needed for this conversation before the conversation starts. -
+
If you use the Google search plugin, you need to configure the SerpAPI key. @@ -48,7 +48,7 @@ Chat supports knowledge. After selecting the knowledge, the questions asked by t We can select the knowledge needed for this conversation before the conversation starts. -
+
### The process of thinking diff --git a/en/user-guide/using-dify-apps/conversation-application.md b/en/user-guide/using-dify-apps/conversation-application.md index 38cbfe3..d73c42a 100644 --- a/en/user-guide/using-dify-apps/conversation-application.md +++ b/en/user-guide/using-dify-apps/conversation-application.md @@ -16,7 +16,7 @@ If you have the requirement to fill in variables when you apply the layout, you Fill in the necessary content and click the "Start Chat" button to start chatting. -
+
Move to the AI's answer, you can copy the content of the conversation, and give the answer "like" and "dislike". @@ -52,4 +52,4 @@ _Please make sure that the device environment you are using is authorized to use If the "Quotations and Attribution" feature is enabled during the application arrangement, the dialogue returns will automatically show the quoted knowledge document sources. -
+
diff --git a/en/user-guide/using-dify-apps/text-generator.md b/en/user-guide/using-dify-apps/text-generator.md index d3835aa..05cd205 100644 --- a/en/user-guide/using-dify-apps/text-generator.md +++ b/en/user-guide/using-dify-apps/text-generator.md @@ -35,7 +35,7 @@ Click the "Run Batch" tab to enter the batch run page. Click the Download Template button to download the template. Edit the template, fill in the content, and save as a `.csv` file. -
+
#### Step 3 Upload the file and run @@ -49,7 +49,7 @@ If you need to export the generated content, you can click the download "button" Click the "Save" button below the generated results to save the running results. In the "Saved" tab, you can see all saved content. -
+
### Generate more similar results