From 7c15102db3b3ca19e8fafc722649cd4ded9dd0d9 Mon Sep 17 00:00:00 2001 From: gdut-yy Date: Fri, 1 Aug 2025 12:01:59 +0800 Subject: [PATCH 01/11] fix: change go-skynet/LocalAI to mudler/LocalAI-examples --- en/development/models-integration/localai.mdx | 2 +- ja-jp/development/models-integration/localai.mdx | 2 +- zh-hans/development/models-integration/localai.mdx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/en/development/models-integration/localai.mdx b/en/development/models-integration/localai.mdx index 407e0fa6..972d65af 100644 --- a/en/development/models-integration/localai.mdx +++ b/en/development/models-integration/localai.mdx @@ -13,7 +13,7 @@ Dify allows integration with LocalAI for local deployment of large language mode You can refer to the official [Getting Started](https://localai.io/basics/getting_started/) guide for deployment, or quickly integrate following the steps below: -(These steps are derived from [LocalAI Data query example](https://github.com/go-skynet/LocalAI/blob/master/examples/langchain-chroma/README)) +(These steps are derived from [LocalAI Data query example](https://github.com/mudler/LocalAI-examples/tree/main/langchain-chroma/README.md)) 1. First, clone the LocalAI code repository and navigate to the specified directory. diff --git a/ja-jp/development/models-integration/localai.mdx b/ja-jp/development/models-integration/localai.mdx index 8c21e273..0b2aea8b 100644 --- a/ja-jp/development/models-integration/localai.mdx +++ b/ja-jp/development/models-integration/localai.mdx @@ -16,7 +16,7 @@ Difyは、LocalAIでデプロイされた大型言語モデルの推論および 公式の[入門ガイド](https://localai.io/basics/getting_started/)を参考にデプロイを行うか、以下の手順で迅速に接続を行うことができます: -(以下の手順は[LocalAI Data query example](https://github.com/go-skynet/LocalAI/blob/master/examples/langchain-chroma/README)から引用しています) +(以下の手順は[LocalAI Data query example](https://github.com/mudler/LocalAI-examples/tree/main/langchain-chroma/README.md)から引用しています) 1. まず、LocalAIのコードリポジトリをクローンし、指定のディレクトリに移動します diff --git a/zh-hans/development/models-integration/localai.mdx b/zh-hans/development/models-integration/localai.mdx index bb48456e..b3005c25 100644 --- a/zh-hans/development/models-integration/localai.mdx +++ b/zh-hans/development/models-integration/localai.mdx @@ -17,7 +17,7 @@ Dify 支持以本地部署的方式接入 LocalAI 部署的大型语言模型推 可参考官方 [Getting Started](https://localai.io/basics/getting_started/) 进行部署,也可参考下方步骤进行快速接入: -(以下步骤来自 [LocalAI Data query example](https://github.com/go-skynet/LocalAI/blob/master/examples/langchain-chroma/README.md)) +(以下步骤来自 [LocalAI Data query example](https://github.com/mudler/LocalAI-examples/tree/main/langchain-chroma/README.md)) 1. 首先拉取 LocalAI 代码仓库,并进入指定目录 From 0e30663ebb5b96fb691bfd085ad662411cf25301 Mon Sep 17 00:00:00 2001 From: tfia Date: Tue, 5 Aug 2025 18:14:11 +0800 Subject: [PATCH 02/11] refactor: update embedding in websites guide (zh), add example --- .../embedding-in-websites.mdx | 187 ++++++++++-------- 1 file changed, 103 insertions(+), 84 deletions(-) diff --git a/zh-hans/guides/application-publishing/embedding-in-websites.mdx b/zh-hans/guides/application-publishing/embedding-in-websites.mdx index 1aff6653..4c3c7c43 100644 --- a/zh-hans/guides/application-publishing/embedding-in-websites.mdx +++ b/zh-hans/guides/application-publishing/embedding-in-websites.mdx @@ -2,29 +2,38 @@ title: 嵌入网站 --- -Dify 支持将你的 AI 应用嵌入到业务网站中,你可以使用该能力在几分钟内制作具有业务数据的官网 AI 客服、业务知识问答等应用。点击 WebApp 卡片上的嵌入按钮,复制嵌入代码,粘贴到你网站的目标位置。 +Dify 支持将你的 AI 应用嵌入到业务网站中,你可以使用该能力在几分钟内制作具有业务数据的官网 AI 客服、业务知识问答等应用。 -当你在网站中使用 Dify 聊天机器人气泡按钮时,你可以自定义按钮的样式、位置和其他设置。 +可以使用 3 种不同的方式将你的 AI 应用嵌入网站,分别为 `