diff --git a/zh_CN/.gitbook/assets/choice-model-in-app.png b/zh_CN/.gitbook/assets/choice-model-in-app.png new file mode 100644 index 0000000..02b7704 Binary files /dev/null and b/zh_CN/.gitbook/assets/choice-model-in-app.png differ diff --git a/zh_CN/.gitbook/assets/image (1) (1) (1) (1) (1) (1).png b/zh_CN/.gitbook/assets/image (1) (1) (1) (1) (1) (1).png new file mode 100644 index 0000000..c1d4744 Binary files /dev/null and b/zh_CN/.gitbook/assets/image (1) (1) (1) (1) (1) (1).png differ diff --git a/zh_CN/.gitbook/assets/image (1) (1) (1) (1) (1).png b/zh_CN/.gitbook/assets/image (1) (1) (1) (1) (1).png index c1d4744..bdecbd1 100644 Binary files a/zh_CN/.gitbook/assets/image (1) (1) (1) (1) (1).png and b/zh_CN/.gitbook/assets/image (1) (1) (1) (1) (1).png differ diff --git a/zh_CN/.gitbook/assets/image (1) (1) (1) (1).png b/zh_CN/.gitbook/assets/image (1) (1) (1) (1).png index bdecbd1..4874bed 100644 Binary files a/zh_CN/.gitbook/assets/image (1) (1) (1) (1).png and b/zh_CN/.gitbook/assets/image (1) (1) (1) (1).png differ diff --git a/zh_CN/.gitbook/assets/image (1) (1) (1).png b/zh_CN/.gitbook/assets/image (1) (1) (1).png index 4874bed..c8088e9 100644 Binary files a/zh_CN/.gitbook/assets/image (1) (1) (1).png and b/zh_CN/.gitbook/assets/image (1) (1) (1).png differ diff --git a/zh_CN/.gitbook/assets/image (1) (1).png b/zh_CN/.gitbook/assets/image (1) (1).png index c8088e9..9ebf101 100644 Binary files a/zh_CN/.gitbook/assets/image (1) (1).png and b/zh_CN/.gitbook/assets/image (1) (1).png differ diff --git a/zh_CN/.gitbook/assets/image (1).png b/zh_CN/.gitbook/assets/image (1).png index 9ebf101..7255a2b 100644 Binary files a/zh_CN/.gitbook/assets/image (1).png and b/zh_CN/.gitbook/assets/image (1).png differ diff --git a/zh_CN/.gitbook/assets/image (2) (1) (1) (1).png b/zh_CN/.gitbook/assets/image (2) (1) (1) (1).png new file mode 100644 index 0000000..534d1e6 Binary files /dev/null and b/zh_CN/.gitbook/assets/image (2) (1) (1) (1).png differ diff --git a/zh_CN/.gitbook/assets/image (2) (1) (1).png b/zh_CN/.gitbook/assets/image (2) (1) (1).png index 534d1e6..9bb237e 100644 Binary files a/zh_CN/.gitbook/assets/image (2) (1) (1).png and b/zh_CN/.gitbook/assets/image (2) (1) (1).png differ diff --git a/zh_CN/.gitbook/assets/image (2) (1).png b/zh_CN/.gitbook/assets/image (2) (1).png index 9bb237e..f53e8c4 100644 Binary files a/zh_CN/.gitbook/assets/image (2) (1).png and b/zh_CN/.gitbook/assets/image (2) (1).png differ diff --git a/zh_CN/.gitbook/assets/image (2).png b/zh_CN/.gitbook/assets/image (2).png index f53e8c4..9440bce 100644 Binary files a/zh_CN/.gitbook/assets/image (2).png and b/zh_CN/.gitbook/assets/image (2).png differ diff --git a/zh_CN/.gitbook/assets/image (3) (1) (1).png b/zh_CN/.gitbook/assets/image (3) (1) (1).png new file mode 100644 index 0000000..8c20eca Binary files /dev/null and b/zh_CN/.gitbook/assets/image (3) (1) (1).png differ diff --git a/zh_CN/.gitbook/assets/image (3) (1).png b/zh_CN/.gitbook/assets/image (3) (1).png index 8c20eca..f53e8c4 100644 Binary files a/zh_CN/.gitbook/assets/image (3) (1).png and b/zh_CN/.gitbook/assets/image (3) (1).png differ diff --git a/zh_CN/.gitbook/assets/image (3).png b/zh_CN/.gitbook/assets/image (3).png index f53e8c4..97b7ec8 100644 Binary files a/zh_CN/.gitbook/assets/image (3).png and b/zh_CN/.gitbook/assets/image (3).png differ diff --git a/zh_CN/.gitbook/assets/image (4) (1) (1).png b/zh_CN/.gitbook/assets/image (4) (1) (1).png new file mode 100644 index 0000000..0ef5f75 Binary files /dev/null and b/zh_CN/.gitbook/assets/image (4) (1) (1).png differ diff --git a/zh_CN/.gitbook/assets/image (4) (1).png b/zh_CN/.gitbook/assets/image (4) (1).png index 0ef5f75..7260f11 100644 Binary files a/zh_CN/.gitbook/assets/image (4) (1).png and b/zh_CN/.gitbook/assets/image (4) (1).png differ diff --git a/zh_CN/.gitbook/assets/image (4).png b/zh_CN/.gitbook/assets/image (4).png index 7260f11..5857b50 100644 Binary files a/zh_CN/.gitbook/assets/image (4).png and b/zh_CN/.gitbook/assets/image (4).png differ diff --git a/zh_CN/.gitbook/assets/image-20231210143654461 (1).png b/zh_CN/.gitbook/assets/image-20231210143654461 (1).png new file mode 100644 index 0000000..2e234f6 Binary files /dev/null and b/zh_CN/.gitbook/assets/image-20231210143654461 (1).png differ diff --git a/zh_CN/.gitbook/assets/image-20231210143654461.png b/zh_CN/.gitbook/assets/image-20231210143654461.png new file mode 100644 index 0000000..f1c3015 Binary files /dev/null and b/zh_CN/.gitbook/assets/image-20231210143654461.png differ diff --git a/zh_CN/.gitbook/assets/image.png b/zh_CN/.gitbook/assets/image.png index 5857b50..7255a2b 100644 Binary files a/zh_CN/.gitbook/assets/image.png and b/zh_CN/.gitbook/assets/image.png differ diff --git a/zh_CN/guides/application-design/annotation-reply.md b/zh_CN/guides/application-design/annotation-reply.md index a935160..8c53bde 100644 --- a/zh_CN/guides/application-design/annotation-reply.md +++ b/zh_CN/guides/application-design/annotation-reply.md @@ -53,7 +53,7 @@ 通过进入“应用构建->日志与标注->标注”开启标注回复开关: -

日志与标注中开启标注回复

+

日志与标注中开启标注回复

### 在标注后台设置标注回复参数 @@ -63,7 +63,7 @@ **Embedding 模型**:用于对标注文本进行向量化,切换模型时会重新生成嵌入。 -

设置标注回复参数

+

设置标注回复参数

### 批量导入标注问答对 diff --git a/zh_CN/guides/knowledge-base/sync-from-notion.md b/zh_CN/guides/knowledge-base/sync-from-notion.md index c68033a..04f3626 100644 --- a/zh_CN/guides/knowledge-base/sync-from-notion.md +++ b/zh_CN/guides/knowledge-base/sync-from-notion.md @@ -37,11 +37,11 @@ Notion集成分为**内部集成**(internal integration)和**外部集成** 点击“**New integration**”按钮,类型默认是 **Internal**(不可修改),选择关联的空间,输入集成名称并上传 logo 后,点击“Submit”,集成创建成功。 -
+
创建集成后,您可以根据需要在 Capabilities 选项卡下更新其设置,并在 Secrets 下点击 “Show” 按钮然后复制 Secrets。 -
+
复制后回到 Dify 源代码下,在 **.env** 文件里配置相关环境变量,环境变量如下: diff --git a/zh_CN/guides/model-configuration/README.md b/zh_CN/guides/model-configuration/README.md index 8fc707f..98db6d2 100644 --- a/zh_CN/guides/model-configuration/README.md +++ b/zh_CN/guides/model-configuration/README.md @@ -31,13 +31,13 @@ Dify 目前已支持主流的模型供应商,例如 OpenAI 的 GPT 系列、An Dify 在需要模型时,会根据使用场景来选择设置过的默认模型。在 `设置 > 模型供应商` 中设置默认模型。 -
+
### 接入模型设置 在 Dify 的 `设置 > 模型供应商` 中设置要接入的模型。 -
+
模型供应商分为两种: @@ -69,4 +69,4 @@ Dify 使用了 [PKCS1\_OAEP](https://pycryptodome.readthedocs.io/en/latest/src/c 配置完模型后,就可以在应用中使用这些模型了: -
+
diff --git a/zh_CN/guides/model-configuration/replicate.md b/zh_CN/guides/model-configuration/replicate.md index bc3ea1f..802bc84 100644 --- a/zh_CN/guides/model-configuration/replicate.md +++ b/zh_CN/guides/model-configuration/replicate.md @@ -9,7 +9,7 @@ Dify 支持接入 Replicate 上的 [Language models](https://replicate.com/colle 3. 挑选模型。在 [Language models](https://replicate.com/collections/language-models) 和 [Embedding models](https://replicate.com/collections/embedding-models) 下挑选模型。 4. 在 Dify 的 `设置 > 模型供应商 > Replicate` 中添加模型。 -
+
API key 为第 2 步中设置的 API Key。Model Name 和 Model Version 可以在模型详情页中找到: diff --git a/zh_CN/learn-more/extended-reading/retrieval-augment/rerank.md b/zh_CN/learn-more/extended-reading/retrieval-augment/rerank.md index b5050cc..06cfc96 100644 --- a/zh_CN/learn-more/extended-reading/retrieval-augment/rerank.md +++ b/zh_CN/learn-more/extended-reading/retrieval-augment/rerank.md @@ -39,7 +39,7 @@ Dify 目前已支持 Cohere Rerank 模型,通过进入“模型供应商-> Coh 通过进入“数据集->创建数据集->检索设置”页面并在添加 Rerank 设置。除了在创建数据集可以设置 Rerank ,你也可以在已创建的数据集设置内更改 Rerank 配置,在应用编排的数据集召回模式设置中更改 Rerank 配置。 -

数据集检索模式中设置 Rerank 模型

+

数据集检索模式中设置 Rerank 模型

**TopK:**用于设置 Rerank 后返回相关文档的数量。 @@ -52,4 +52,4 @@ Dify 目前已支持 Cohere Rerank 模型,通过进入“模型供应商-> Coh 关于多路召回模式的说明:🔗 -

数据集多路召回模式中设置 Rerank 模型

+

数据集多路召回模式中设置 Rerank 模型

diff --git a/zh_CN/learn-more/extended-reading/retrieval-augment/retrieval.md b/zh_CN/learn-more/extended-reading/retrieval-augment/retrieval.md index 8647703..6883f97 100644 --- a/zh_CN/learn-more/extended-reading/retrieval-augment/retrieval.md +++ b/zh_CN/learn-more/extended-reading/retrieval-augment/retrieval.md @@ -27,7 +27,7 @@ 以下是多路召回模式的技术流程图: -

多路召回

+

多路召回

由于多路召回模式不依赖于模型的推理能力或数据集描述,该模式在多数据集检索时能够获得质量更高的召回效果,除此之外加入 Rerank 步骤也能有效改进文档召回效果。因此,当创建的知识库问答应用关联了多个数据集时,我们更推荐将召回模式配置为多路召回。\ \ diff --git a/zh_CN/learn-more/faq/llms-use-faq.md b/zh_CN/learn-more/faq/llms-use-faq.md index cf60620..88424ba 100644 --- a/zh_CN/learn-more/faq/llms-use-faq.md +++ b/zh_CN/learn-more/faq/llms-use-faq.md @@ -125,7 +125,7 @@ Query or prefix prompt is too long, you can reduce the preix prompt, or shrink t 如下方表格示例,仅需保留第二行的表头,首行(表格1)为多余表头,需删掉。 -
+
### 20 买了 ChatGPT plus,为什么在 dify 里还不能使用 GPT4?