diff --git a/docs.json b/docs.json index 9f043707..40ce7672 100644 --- a/docs.json +++ b/docs.json @@ -866,7 +866,6 @@ { "group": "常见问题", "pages": [ - "zh-hans/learn-more/faq/README", "zh-hans/learn-more/faq/install-faq", "zh-hans/learn-more/faq/llms-use-faq", "zh-hans/learn-more/faq/plugins" diff --git a/en/link-check-report-error.md b/en/link-check-report-error.md new file mode 100644 index 00000000..dc9c30cb --- /dev/null +++ b/en/link-check-report-error.md @@ -0,0 +1,149 @@ +# GitBook链接检查报告(仅错误链接) + +本报告仅显示文档中的无效链接。每行的格式为: +* [文档标题](文档链接) | [无效链接](链接路径) ❌ + +## 来自 community/contribution.md + +* [Become a Contributor](/community/contribution) ✅ | [code of conduct](https://github.com/langgenius/.github/blob/main/CODE\_OF\_CONDUCT.md) ❌ | [this guide](https://github.com/langgenius/dify/blob/main/api/core/model\_runtime/README.md) ❌ | [this guide](https://github.com/langgenius/dify/blob/main/api/core/tools/README.md) ❌ + +## 来自 development/models-integration/hugging-face.md + +* [Integrate Open Source Models from Hugging Face](./development/models-integration/hugging-face) ✅ | [registered address](https://huggingface.co/join) ❌ + +## 来自 development/models-integration/litellm.md + +* [Integrate Models on LiteLLM Proxy](./development/models-integration/litellm) ✅ | [LiteLLM Proxy Server](https://docs.litellm.ai/docs/simple\_proxy) ❌ + +## 来自 development/models-integration/localai.md + +* [Integrate Local Models Deployed by LocalAI](./development/models-integration/localai) ✅ | [LocalAI Data query example](https://github.com/go-skynet/LocalAI/blob/master/examples/langchain-chroma/README.md) ❌ + +## 来自 development/models-integration/ollama.md + +* [Integrate Local Models Deployed by Ollama](./development/models-integration/ollama) ✅ | [ollama](<../../.gitbook/assets/ollama (1) ❌ + +## 来自 getting-started/install-self-hosted/environments.md + +* [Environment Variables Explanation](./getting-started/install-self-hosted/environments) ✅ | [https://api.openai.com/v1](https://api.openai.com/v1) ❌ | [tools](https://github.com/langgenius/dify/blob/main/api/core/tools/provider/_position.yaml) ❌ + +## 来自 getting-started/readme/model-providers.md + +* [List of Model Providers](./getting-started/readme/model-providers) ✅ | [contribution.md](../../community/contribution.md "mention") ❌ + +## 来自 guides/extension/api-based-extension/README.md + +* [API-Based Extension](./guides/extension/api-based-extension/README) ✅ | [cloudflare-workers.md](cloudflare-workers.md "mention") ❌ + +## 来自 guides/extension/api-based-extension/external-data-tool.md + +* [External Data Tool](./guides/extension/api-based-extension/external-data-tool) ✅ | [.](./ "mention") ❌ + +## 来自 guides/extension/code-based-extension/external-data-tool.md + +* [External Data Tool](./guides/extension/code-based-extension/external-data-tool) ✅ | [api-based-extension](../api-based-extension/ "mention") ❌ | [.](./ "mention") ❌ + +## 来自 guides/extension/code-based-extension/moderation.md + +* [Moderation](./guides/extension/code-based-extension/moderation) ✅ | [.](./ "mention") ❌ + +## 来自 guides/knowledge-base/connect-external-knowledge.md + +* [Connect to an External Knowledge Base](./guides/knowledge-base/connect-external-knowledge) ✅ | [how-to-connect-aws-bedrock.md](../../learn-more/use-cases/how-to-connect-aws-bedrock.md "mention") ❌ + +## 来自 guides/model-configuration/README.md + +* [Model](./guides/model-configuration/README) ✅ | [Azure OpenAI Service](https://azure.microsoft.com/en-us/products/ai-services/openai-service/) ❌ + +## 来自 guides/model-configuration/customizable-model.md + +* [Custom Model Integration](./guides/model-configuration/customizable-model) ✅ | [Interfaces](https://github.com/langgenius/dify/blob/main/api/core/model\_runtime/docs/en\_US/interfaces.md) ❌ | [llm.py](https://github.com/langgenius/dify-runtime/blob/main/lib/model\_providers/anthropic/llm/llm.py) ❌ + +## 来自 guides/model-configuration/new-provider.md + +* [Add New Provider](./guides/model-configuration/new-provider) ✅ | [AnthropicProvider](https://github.com/langgenius/dify/blob/main/api/core/model_runtime/model_providers/anthropic/anthropic.py) ❌ + +## 来自 guides/model-configuration/predefined-model.md + +* [Predefined Model Integration](./guides/model-configuration/predefined-model) ✅ | [llm.py](https://github.com/langgenius/dify-runtime/blob/main/lib/model_providers/anthropic/llm/llm.py) ❌ + +## 来自 guides/tools/tool-configuration/perplexity.md + +* [Perplexity Search](./guides/tools/tool-configuration/perplexity) ✅ | [Perplexity](https://www.perplexity.ai/settings/api) ❌ + +## 来自 guides/workflow/node/code.md + +* [Code Execution](./guides/workflow/node/code) ✅ | [Variable References](../key-concept) ❌ + +## 来自 guides/workflow/node/llm.md + +* [LLM](./guides/workflow/node/llm) ✅ | [Prompt Expert Mode (discontinued)](../../../learn-more/extended-reading/prompt-engineering/prompt-engineering-1/) ❌ + +## 来自 guides/workflow/node/parameter-extractor.md + +* [Parameter Extraction](./guides/workflow/node/parameter-extractor) ✅ | [tools](../../tools) ❌ + +## 来自 guides/workflow/variables.md + +* [Variables](./guides/workflow/variables) ✅ | [Variable Assigner](./node/variable-assignment) ❌ + +## 来自 learn-more/extended-reading/how-to-use-json-schema-in-dify.md + +* [How to Use JSON Schema Output in Dify?](./learn-more/extended-reading/how-to-use-json-schema-in-dify) ✅ | [Introduction to Structured Outputs](https://cookbook.openai.com/examples/structured\_outputs\_intro) ❌ + +## 来自 learn-more/faq/use-llms-faq.md + +* [LLM Configuration and Usage](./learn-more/faq/use-llms-faq) ✅ | [OpenAI official documentation](https://platform.openai.com/docs/guides/rate-limits) ❌ + +## 来自 learn-more/use-cases/create-a-midjourney-prompt-bot-with-dify.md + +* [Create a MidJourney Prompt Bot with Dify](./learn-more/use-cases/create-a-midjourney-prompt-bot-with-dify) ✅ | [@op7418](https://twitter.com/op7418) ❌ | [@goocarlos](https://twitter.com/goocarlos) ❌ + +## 来自 plugins/best-practice/develop-a-slack-bot-plugin.md + +* [Develop a Slack Bot Plugin](./plugins/best-practice/develop-a-slack-bot-plugin) ✅ | [Initializing the Development Tool](../tool-initialization) ❌ | [Quick Start: Developing an Extension Plugin](../extension) ❌ | [Reverse Invocation: App](../../../api-documentation/fan-xiang-diao-yong-dify-fu-wu/app) ❌ | [Develop an Extension Plugin](../extension) ❌ | [Develop a Model Plugin](../model/) ❌ | [Bundle Plugins: Packaging Multiple Plugins](../bundle) ❌ | [Manifest](../../../api-documentation/manifest) ❌ | [Endpoint](../../../api-documentation/endpoint) ❌ | [Reverse-Calling Dify Services](../../../api-documentation/fan-xiang-diao-yong-dify-fu-wu/) ❌ | [Tools](../../../api-documentation/tool) ❌ | [Models](../../../api-documentation/model/) ❌ + +## 来自 plugins/introduction.md + +* [Introduction](./plugins/introduction) ✅ | [Local file package](publish-plugins/package-and-publish-plugin-file/) ❌ + +## 来自 plugins/quick-start/develop-plugins/agent-strategy-plugin.md + +* [Agent Strategy Plugin](./plugins/quick-start/develop-plugins/agent-strategy-plugin) ✅ | [“Plugin Management”](https://console-plugin.dify.dev/plugins) ❌ + +## 来自 plugins/quick-start/develop-plugins/extension-plugin.md + +* [Extension Plugin](./plugins/quick-start/develop-plugins/extension-plugin) ✅ | [plugin release guide](../publish-plugins/publish-to-dify-marketplace) ❌ | [Minifest](../schema-definition/manifest) ❌ | [Endpoint](../schema-definition/endpoint) ❌ | [Reverse Invocation of the Dify Service](../schema-definition/reverse-invocation-of-the-dify-service/) ❌ | [Tools](../../guides/tools/) ❌ | [Models](../schema-definition/model/model-schema) ❌ | [Extend Agent Strategy](../schema-definition/agent) ❌ + +## 来自 plugins/quick-start/develop-plugins/model-plugin/README.md + +* [Model Plugin](./plugins/quick-start/develop-plugins/model-plugin/README) ✅ | [Predefined](../../../guides/model-configuration/predefined-model) ❌ | [Custom](../../../guides/model-configuration/customizable-model) ❌ + +## 来自 plugins/quick-start/develop-plugins/model-plugin/create-model-providers.md + +* [Create Model Providers](./plugins/quick-start/develop-plugins/model-plugin/create-model-providers) ✅ | [Schema](../../schema-definition/) ❌ + +## 来自 plugins/quick-start/develop-plugins/model-plugin/predefined-model.md + +* [Integrate the Predefined Model](./plugins/quick-start/develop-plugins/model-plugin/predefined-model) ✅ | [AIModelEntity](../../schema-definition/model/model-designing-rules) ❌ | [Model Design Rules](../../schema-definition/model/model-designing-rules) ❌ | [plugin release guide](../../publish-plugins/publish-to-dify-marketplace) ❌ | [Minifest](../../schema-definition/manifest) ❌ | [Endpoint](../../schema-definition/endpoint) ❌ | [Reverse Invocation of the Dify Service](../../schema-definition/reverse-invocation-of-the-dify-service/) ❌ | [Tools](../../../guides/tools/) ❌ | [Models](../../schema-definition/model/model-schema) ❌ | [Extend Agent Strategy](../../schema-definition/agent) ❌ + +## 来自 plugins/quick-start/develop-plugins/tool-plugin.md + +* [Tool Plugin](./plugins/quick-start/develop-plugins/tool-plugin) ✅ | [ProviderConfig](../schema-definition/general-specifications) ❌ | [tool](../schema-definition/tool) ❌ | [plugin release guide](../publish-plugins/publish-to-dify-marketplace) ❌ | [Minifest](../schema-definition/manifest) ❌ | [Endpoint](../schema-definition/endpoint) ❌ | [Reverse Invocation of the Dify Service](../schema-definition/reverse-invocation-of-the-dify-service/) ❌ | [Tools](../../guides/tools/) ❌ | [Models](../schema-definition/model/model-schema) ❌ | [Extend Agent Strategy](../schema-definition/agent) ❌ + +## 来自 plugins/schema-definition/endpoint.md + +* [Endpoint](./plugins/schema-definition/endpoint) ✅ | [Quick Start: Rainbow Cat project](../develop-plugins/extension-plugin) ❌ + +## 来自 plugins/schema-definition/tool.md + +* [Tool](./plugins/schema-definition/tool) ✅ | [Quick start: Tools](../develop-plugins/tool-plugin) ❌ + +## 来自 workshop/intermediate/customer-service-bot.md + +* [Building a Smart Customer Service Bot Using a Knowledge Base](./workshop/intermediate/customer-service-bot) ✅ | [how-to-connect-aws-bedrock.md](../../learn-more/use-cases/how-to-connect-aws-bedrock.md "mention") ❌ + +## 来自 workshop/intermediate/twitter-chatflow.md + +* [Generating analysis of Twitter account using Chatflow Agent](./workshop/intermediate/twitter-chatflow) ✅ | [February 2, 2023](https://twitter.com/XDevelopers/status/1621026986784337922?ref\_src=twsrc%5Etfw) ❌ | [X@dify\_ai](https://x.com/dify\_ai) ❌ + diff --git a/en/link-check-report.md b/en/link-check-report.md new file mode 100644 index 00000000..2e291a79 --- /dev/null +++ b/en/link-check-report.md @@ -0,0 +1,252 @@ +# GitBook链接检查报告(完整版) + +本报告显示了GitBook文档中的所有链接及其引用的文档。每行的格式为: +* [文档标题](文档链接) | [引用的文档1](链接1) | [引用的文档2](链接2) | ... + + +## Getting Started + +* [Welcome to Dify](./README) ✅ | [**Quick Start**](https://docs.dify.ai/application/creating-an-application) ✅ | [**self-deploy Dify** ](https://docs.dify.ai/getting-started/install-self-hosted) ✅ | [**integrate open source models**](https://docs.dify.ai/advanced/model-configuration) ✅ | [**specifications and roadmap**](https://docs.dify.ai/getting-started/readme/features-and-specifications) ✅ | [**Star us on GitHub**](https://github.com/langgenius/dify) ✅ + * [Features and Specifications](./getting-started/readme/features-and-specifications) ✅ + * [List of Model Providers](./getting-started/readme/model-providers) ✅ | [here](https://github.com/langgenius/dify/discussions/categories/ideas) ✅ | [contribution.md](../../community/contribution.md "mention") ❌ +* [Dify Community](./getting-started/install-self-hosted/README) ✅ | [GitHub](https://github.com/langgenius/dify) ✅ | [Docker Compose Deployment](https://docs.dify.ai/getting-started/install-self-hosted/docker-compose) ✅ | [Local Source Code Start](https://docs.dify.ai/getting-started/install-self-hosted/local-source-code) ✅ | [Contribution Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) ✅ + * [Deploy with Docker Compose](./getting-started/install-self-hosted/docker-compose) ✅ | [Docker Desktop installation guide for Mac](https://docs.docker.com/desktop/mac/install/) ✅ | [Docker installation guide](https://docs.docker.com/engine/install/) ✅ | [the Docker Compose installation guide](https://docs.docker.com/compose/install/) ✅ | [Docker Desktop installation guide for using the WSL 2 backend on Windows.](https://docs.docker.com/desktop/windows/install/#wsl-2-backend) ✅ | [README.md](https://github.com/langgenius/dify/blob/main/docker/README.md) ✅ | [Docker documentation](https://docs.docker.com/compose/install/) ✅ | [FAQs](./faqs) ✅ + * [Start with Local Source Code](./getting-started/install-self-hosted/local-source-code) ✅ | [Docker Desktop installation guide for Mac](https://docs.docker.com/desktop/mac/install/) ✅ | [Docker installation guide](https://docs.docker.com/engine/install/) ✅ | [the Docker Compose installation guide](https://docs.docker.com/compose/install/) ✅ | [Docker Desktop installation guide for using the WSL 2 backend on Windows.](https://docs.docker.com/desktop/windows/install/#wsl-2-backend) ✅ | [Link](https://docs.dify.ai/getting-started/install-self-hosted/install-faq#id-14.-what-to-do-if-this-error-occurs-in-text-to-speech) ✅ | [pyenv](https://github.com/pyenv/pyenv) ✅ | [Poetry](https://python-poetry.org/docs/) ✅ | [Node.js v18.x (LTS)](http://nodejs.org/) ✅ | [NPM version 8.x.x](https://www.npmjs.com/) ✅ | [Yarn](https://yarnpkg.com/) ✅ | [https://nodejs.org/en/download](https://nodejs.org/en/download) ✅ | [http://127.0.0.1:3000](http://127.0.0.1:3000/) ✅ + * [Deploy with aaPanel](./getting-started/install-self-hosted/bt-panel) ✅ | [aaPanel installation guide](https://www.aapanel.com/new/download.html#install) ✅ + * [Start Frontend Docker Container Separately](./getting-started/install-self-hosted/start-the-frontend-docker-container) ✅ | [http://127.0.0.1:3000](http://127.0.0.1:3000/) ✅ + * [Environment Variables Explanation](./getting-started/install-self-hosted/environments) ✅ | [https://api.openai.com/v1](https://api.openai.com/v1) ❌ | [https://docs.gunicorn.org/en/stable/design.html#how-many-workers](https://docs.gunicorn.org/en/stable/design.html#how-many-workers) ✅ | [https://weaviate.io/developers/weaviate/manage-data/import#how-to-set-batch-parameters](https://weaviate.io/developers/weaviate/manage-data/import#how-to-set-batch-parameters) ✅ | [Zilliz Cloud](https://docs.zilliz.com/docs/free-trials) ✅ | [MyScale docs](https://myscale.com/docs/en/text-search/#understanding-fts-index-parameters) ✅ | [Analyticdb documentation](https://help.aliyun.com/zh/analyticdb/analyticdb-for-postgresql/support/create-an-accesskey-pair) ✅ | [Analyticdb documentation](https://help.aliyun.com/zh/analyticdb/analyticdb-for-postgresql/getting-started/create-an-instance-1) ✅ | [Analyticdb documentation](https://help.aliyun.com/zh/analyticdb/analyticdb-for-postgresql/getting-started/createa-a-privileged-account) ✅ | [https://www.notion.so/my-integrations](https://www.notion.so/my-integrations) ✅ | [no-reply@dify.ai](mailto:no-reply@dify.ai) ✅ | [no-reply@dify.ai](mailto:no-reply@dify.ai) ✅ | [tools](https://github.com/langgenius/dify/blob/main/api/core/tools/provider/_position.yaml) ❌ | [model providers](https://github.com/langgenius/dify/blob/main/api/core/model_runtime/model_providers/_position.yaml) ✅ + * [FAQs](./getting-started/install-self-hosted/faqs) ✅ | ["Environment Variables Explanation: Mail-related configuration"](https://docs.dify.ai/getting-started/install-self-hosted/environments#mail-related-configuration) ✅ | [Self-Host Related](../../learn-more/faq/install-faq) ✅ +* [Dify Cloud](./getting-started/cloud) ✅ | [out-of-box ](https://cloud.dify.ai/apps) ✅ | [Plans and Pricing](https://dify.ai/pricing) ✅ | [Sandbox plan](http://cloud.dify.ai) ✅ | [Dify Cloud](https://cloud.dify.ai) ✅ | [create an application](../guides/application-orchestrate/creating-an-application) ✅ +* [Dify Premium on AWS](./getting-started/dify-premium-on-aws) ✅ | [AWS Marketplace](https://aws.amazon.com/marketplace/pp/prodview-t22mebxzwjhu6) ✅ | [Dify Cloud](./cloud) ✅ | [plans](https://dify.ai/pricing) ✅ | [Migrating Community Edition to v1.0.0](https://docs.dify.ai/development/migration/migrate-to-v1) ✅ + +## Guides + +* [Model](./guides/model-configuration/README) ✅ | [OpenAI](https://platform.openai.com/account/api-keys) ✅ | [Azure OpenAI Service](https://azure.microsoft.com/en-us/products/ai-services/openai-service/) ❌ | [Anthropic](https://console.anthropic.com/account/keys) ✅ | [iFLYTEK SPARK](https://www.xfyun.cn/solutions/xinghuoAPI) ✅ | [WENXINYIYAN](https://console.bce.baidu.com/qianfan/ais/console/applicationConsole/application) ✅ | [TONGYI](https://dashscope.console.aliyun.com/api-key\_management?spm=a2c4g.11186623.0.0.3bbc424dxZms9k) ✅ | [Minimax](https://api.minimax.chat/user-center/basic-information/interface-key) ✅ | [Ollama](https://docs.dify.ai/tutorials/model-configuration/ollama) ✅ | [LocalAI](https://github.com/mudler/LocalAI) ✅ | [GPUStack](https://github.com/gpustack/gpustack) ✅ | [Jina Embeddings](https://jina.ai/embeddings/) ✅ | [**Rerank Models**](https://docs.dify.ai/advanced/retrieval-augment/rerank) ✅ | [Jina Reranker](https://jina.ai/reranker) ✅ | [PKCS1\_OAEP](https://pycryptodome.readthedocs.io/en/latest/src/cipher/oaep.html) ✅ | [Hugging Face](../../development/models-integration/hugging-face) ✅ | [Replicate](../../development/models-integration/replicate) ✅ | [Xinference](../../development/models-integration/xinference) ✅ | [OpenLLM](../../development/models-integration/openllm) ✅ + * [Add New Provider](./guides/model-configuration/new-provider) ✅ | [Provider Schema](https://github.com/langgenius/dify/blob/main/api/core/model_runtime/docs/en_US/schema.md) ✅ | [AI Model Entity](https://github.com/langgenius/dify/blob/main/api/core/model_runtime/docs/en_US/schema.md#aimodelentity) ✅ | [`model_credential_schema`](https://github.com/langgenius/dify/blob/main/api/core/model_runtime/docs/en_US/schema.md) ✅ | [YAML configuration information](https://github.com/langgenius/dify/blob/main/api/core/model_runtime/docs/en_US/schema.md) ✅ | [AnthropicProvider](https://github.com/langgenius/dify/blob/main/api/core/model_runtime/model_providers/anthropic/anthropic.py) ❌ | [**Adding Predefined Models**](https://docs.dify.ai/v/zh-hans/guides/model-configuration/predefined-model) ✅ | [**Adding Custom Models**](https://docs.dify.ai/v/zh-hans/guides/model-configuration/customizable-model) ✅ + * [Predefined Model Integration](./guides/model-configuration/predefined-model) ✅ | [Interfaces](https://github.com/langgenius/dify/blob/main/api/core/model_runtime/docs/en_US/interfaces.md) ✅ | [llm.py](https://github.com/langgenius/dify-runtime/blob/main/lib/model_providers/anthropic/llm/llm.py) ❌ + * [Custom Model Integration](./guides/model-configuration/customizable-model) ✅ | [Interfaces](https://github.com/langgenius/dify/blob/main/api/core/model\_runtime/docs/en\_US/interfaces.md) ❌ | [llm.py](https://github.com/langgenius/dify-runtime/blob/main/lib/model\_providers/anthropic/llm/llm.py) ❌ + * [Interfaces](./guides/model-configuration/interfaces) ✅ | [[PromptMessage](#PromptMessage) ✅ | [UserPromptMessage](#UserPromptMessage) ✅ | [SystemPromptMessage](#SystemPromptMessage) ✅ | [UserPromptMessage](#UserPromptMessage) ✅ | [AssistantPromptMessage](#AssistantPromptMessage) ✅ | [ToolPromptMessage](#ToolPromptMessage) ✅ | [[PromptMessageTool](#PromptMessageTool) ✅ | [[LLMResultChunk](#LLMResultChunk) ✅ | [LLMResult](#LLMResult) ✅ | [[LLMResultChunk](#LLMResultChunk) ✅ | [LLMResult](#LLMResult) ✅ | [TextEmbeddingResult](#TextEmbeddingResult) ✅ | [RerankResult](#RerankResult) ✅ + * [Schema](./guides/model-configuration/schema) ✅ | [Provider](#Provider) ✅ | [AIModelEntity](#AIModelEntity) ✅ | [[ModelType](#ModelType) ✅ | [[ConfigurateMethod](#ConfigurateMethod) ✅ | [ProviderCredentialSchema](#ProviderCredentialSchema) ✅ | [ModelCredentialSchema](#ModelCredentialSchema) ✅ | [ModelType](#ModelType) ✅ | [[ModelFeature](#ModelFeature) ✅ | [LLMMode](#LLMMode) ✅ | [[ParameterRule](#ParameterRule) ✅ | [PriceConfig](#PriceConfig) ✅ | [[CredentialFormSchema](#CredentialFormSchema) ✅ | [[CredentialFormSchema](#CredentialFormSchema) ✅ | [FormType](#FormType) ✅ | [[FormOption](#FormOption) ✅ | [[FormShowOnObject](#FormShowOnObject) ✅ | [[FormShowOnObject](#FormShowOnObject) ✅ + * [Load Balancing](./guides/model-configuration/load-balancing) ✅ | [subscribing to SaaS paid services](../../getting-started/cloud) ✅ +* [Application Orchestration](./guides/application-orchestrate/README) ✅ + * [Create Application](./guides/application-orchestrate/creating-an-application) ✅ | [basic concepts](./#application_type) ✅ | [Application Management: Import](https://docs.dify.ai/guides/management/app-management#importing-application) ✅ + * [Chatbot Application](./guides/application-orchestrate/chatbot-application) ✅ | [knowledge](../knowledge-base/) ✅ | [Claude 3.5 Sonnet](https://docs.anthropic.com/en/docs/build-with-claude/pdf-support) ✅ | [Gemini 1.5 Pro](https://ai.google.dev/api/files) ✅ | [Multiple Model Debugging](./multiple-llms-debugging) ✅ | [Publishing](https://docs.dify.ai/guides/application-publishing) ✅ | [WebApp template](https://github.com/langgenius/webapp-conversation) ✅ | [agent](../application-orchestrate/agent) ✅ | [Integrate Knowledge Base within Application](https://docs.dify.ai/guides/knowledge-base/integrate-knowledge-within-application) ✅ + * [Multiple Model Debugging](./guides/application-orchestrate/multiple-llms-debugging) ✅ | [“Model Providers”](https://docs.dify.ai/guides/model-configuration) ✅ + * [Agent](./guides/application-orchestrate/agent) ✅ | [Claude 3.5 Sonnet](https://docs.anthropic.com/en/docs/build-with-claude/pdf-support) ✅ | [Gemini 1.5 Pro](https://ai.google.dev/api/files) ✅ + * [Application Toolkits](./guides/application-orchestrate/app-toolkits/README) ✅ | [applications](../#application_type) ✅ | [Citation and Attribution](https://docs.dify.ai/guides/knowledge-base/retrieval-test-and-citation#id-2.-citation-and-attribution) ✅ | [Annotated Replies](../../annotation/annotation-reply) ✅ + * [Moderation Tool](./guides/application-orchestrate/app-toolkits/moderation-tool) ✅ | [OpenAI's Moderation](https://platform.openai.com/docs/guides/moderation/overview) ✅ +* [Workflow](./guides/workflow/README) ✅ + * [Key Concepts](./guides/workflow/key-concepts) ✅ | [Block Description](node/) ✅ | [Variables](./variables) ✅ | [End node](./node/end) ✅ | [Answer node](./node/answer) ✅ | [start node](./node/start) ✅ | [variables](./variables) ✅ + * [Variables](./guides/workflow/variables) ✅ | [Chatflow](./variables) ✅ | [Variable Assigner](https://docs.dify.ai/guides/workflow/node/variable-assignment) ✅ | [Variable Assigner](./node/variable-assignment) ❌ + * [Node Description](./guides/workflow/node/README) ✅ + * [Start](./guides/workflow/node/start) ✅ | [uploaded files](../file-upload) ✅ + * [End](./guides/workflow/node/end) ✅ | [long story generation workflow](./iteration) ✅ + * [Answer](./guides/workflow/node/answer) ✅ + * [LLM](./guides/workflow/node/llm) ✅ | [model configuration](../../model-configuration/) ✅ | [**citation and attribution**](../../knowledge-base/retrieval-test-and-citation#id-2.-citation-and-attribution) ✅ | [Claude 3.5 Sonnet](https://docs.anthropic.com/en/docs/build-with-claude/pdf-support) ✅ | [File Upload](https://docs.dify.ai/guides/workflow/file-upload) ✅ | [Prompt Expert Mode (discontinued)](../../../learn-more/extended-reading/prompt-engineering/prompt-engineering-1/) ❌ | [official documentation](https://jinja.palletsprojects.com/en/3.1.x/templates/) ✅ | [Error Handling](https://docs.dify.ai/guides/workflow/error-handling) ✅ | [Knowledge Base](../../knowledge-base/) ✅ | [File Upload](../file-upload) ✅ | [Error Handling](https://docs.dify.ai/guides/workflow/error-handling) ✅ + * [Knowledge Retrieval](./guides/workflow/node/knowledge-retrieval) ✅ | [help documentation](https://docs.dify.ai/guides/knowledge-base/create-knowledge-and-upload-documents) ✅ | [Integrate Knowledge Base within Application](https://docs.dify.ai/guides/knowledge-base/integrate-knowledge-within-application) ✅ | [help documentation](https://docs.dify.ai/guides/knowledge-base/retrieval-test-and-citation) ✅ | [help documentation](https://docs.dify.ai/guides/knowledge-base/create-knowledge-and-upload-documents#id-5-indexing-methods) ✅ + * [Question Classifier](./guides/workflow/node/question-classifier) ✅ + * [Conditional Branch IF/ELSE](./guides/workflow/node/ifelse) ✅ + * [Code Execution](./guides/workflow/node/code) ✅ | [Introduction](./code) ✅ | [Usage Scenarios](./code) ✅ | [Local Deployment](./code) ✅ | [Security Policies](./code) ✅ | [Variable References](../key-concept) ❌ | [here](https://github.com/langgenius/dify/tree/main/docker/docker-compose.middleware.yaml) ✅ | [Error Handling](https://docs.dify.ai/zh-hans/guides/workflow/error-handling) ✅ + * [Template](./guides/workflow/node/template) ✅ | [documentation](https://jinja.palletsprojects.com/en/3.1.x/templates/) ✅ + * [Doc Extractor](./guides/workflow/node/doc-extractor) ✅ + * [List Operator](./guides/workflow/node/list-operator) ✅ | [MIME types](https://datatracker.ietf.org/doc/html/rfc2046) ✅ | [Features](../additional-features) ✅ + * [Variable Aggregator](./guides/workflow/node/variable-aggregator) ✅ + * [Variable Assigner](./guides/workflow/node/variable-assigner) ✅ | [conversation variables](https://docs.dify.ai/guides/workflow/key-concepts#conversation-variables) ✅ + * [Iteration](./guides/workflow/node/iteration) ✅ | [Code Node](./code) ✅ | [Parameter Extraction](./parameter-extractor) ✅ | [Knowledge Base Retrieval](./knowledge-retrieval) ✅ | [Iteration](./iteration) ✅ | [Tools](./tools) ✅ | [HTTP Request](./http-request) ✅ + * [Parameter Extraction](./guides/workflow/node/parameter-extractor) ✅ | [tools](../../tools) ❌ | [iteration](./iteration) ✅ | [structured parameter conversion](./iteration) ✅ | [iteration node](./iteration) ✅ | [**HTTP Request**](https://docs.dify.ai/guides/workflow/node/http-request) ✅ + * [HTTP Request](./guides/workflow/node/http-request) ✅ | [Error Handling](https://docs.dify.ai/zh-hans/guides/workflow/error-handling) ✅ + * [Agent](./guides/workflow/node/agent) ✅ | [repository](https://github.com/langgenius/dify-plugins) ✅ + * [Tools](./guides/workflow/node/tools) ✅ | [Tool Configuration Guide](https://docs.dify.ai/guides/tools) ✅ | [Error Handling](https://docs.dify.ai/guides/workflow/error-handling) ✅ | [Tool Configuration Guide](https://docs.dify.ai/guides/tools) ✅ + * [Loop](./guides/workflow/node/loop) ✅ + * [Shortcut Key](./guides/workflow/shortcut-key) ✅ + * [Orchestrate Node](./guides/workflow/orchestrate-node) ✅ + * [File Upload](./guides/workflow/file-upload) ✅ | [ChatFlow](./key-concepts) ✅ | [WorkFlow](./key-concepts) ✅ | ["Start Node"](./node/start) ✅ | ["Additional Features"](./additional-features) ✅ | [Start Node"](./node/start) ✅ | [Claude 3.5 Sonnet](https://docs.anthropic.com/en/docs/build-with-claude/pdf-support) ✅ | [integrate external tools](../extension/api-based-extension/external-data-tool) ✅ + * [Error Handling](./guides/workflow/error-handling/README) ✅ | [LLM](../node/llm) ✅ | [HTTP](../node/http-request) ✅ | [Code](../node/code) ✅ | [Tools](../node/tools) ✅ | [predefined error handling logic](./predefined-error-handling-logic) ✅ | [here](https://assets-docs.dify.ai/2024/12/087861aa20e06bb4f8a2bef7e7ae0522.yml) ✅ + * [Predefined Error Handling Logic](./guides/workflow/error-handling/predefined-error-handling-logic) ✅ | [LLM](../node/llm) ✅ | [HTTP](../node/http-request) ✅ | [Code](../node/code) ✅ | [Tool](../node/tools) ✅ | [ct error types](./error-type) ✅ + * [Error Type](./guides/workflow/error-handling/error-type) ✅ | [Code](../node/code) ✅ | [LLM](../node/llm) ✅ | [HTTP](../node/http-request) ✅ + * [Additional Features](./guides/workflow/additional-features) ✅ | [External Data Tools](../extension/api-based-extension/external-data-tool) ✅ + * [Debug and Preview](./guides/workflow/debug-and-preview/README) ✅ + * [Preview and Run](./guides/workflow/debug-and-preview/yu-lan-yu-yun-hang) ✅ + * [Step Run](./guides/workflow/debug-and-preview/step-run) ✅ + * [Conversation/Run Logs](./guides/workflow/debug-and-preview/log) ✅ + * [Checklist](./guides/workflow/debug-and-preview/checklist) ✅ + * [Run History](./guides/workflow/debug-and-preview/history) ✅ + * [Application Publishing](./guides/workflow/publish) ✅ | [Version Control](https://docs.dify.ai/guides/management/version-control) ✅ + * [Bulletin: Image Upload Replaced by File Upload](./guides/workflow/bulletin) ✅ | [File Upload](./file-upload) ✅ | [Features](./additional-features) ✅ | [variable](./variables) ✅ | [Additional Features](./additional-features) ✅ | [Start](./node/start) ✅ | [Start](./node/start) ✅ | [GitHub](https://github.com/langgenius/dify) ✅ | [Discord channel](https://discord.com/invite/FngNHpbcY7) ✅ +* [Knowledge](./guides/knowledge-base/README) ✅ | [“Connect to an External Knowledge Base”](./connect-external-knowledge) ✅ | [External Knowledge Base](./external-knowledge-api-documentation) ✅ + * [Create Knowledge](./guides/knowledge-base/create-knowledge-and-upload-documents) ✅ | [1.-import-text-data](create-knowledge-and-upload-documents/1.-import-text-data/) ✅ | [2.-choose-a-chunk-mode.md](./create-knowledge-and-upload-documents/2.-choose-a-chunk-mode) ✅ | [3.-select-the-indexing-method-and-retrieval-setting.md](./create-knowledge-and-upload-documents/3.-select-the-indexing-method-and-retrieval-setting) ✅ | [integrate it into your application](./integrate-knowledge-within-application) ✅ | [Knowledge Base and Document Maintenance](./knowledge-and-documents-maintenance) ✅ | [**Unstructured ETL**](https://unstructured.io/) ✅ | [environment variables](../../getting-started/install-self-hosted/environments) ✅ | [official documentation](https://docs.unstructured.io/open-source/core-functionality/partitioning) ✅ | [Metadata](https://docs.dify.ai/guides/knowledge-base/metadata) ✅ + * [1. Import Text Data](./guides/knowledge-base/create-knowledge-and-upload-documents/1.-import-text-data/README) ✅ | [subscription plan](https://dify.ai/pricing) ✅ | [subscription plans](https://dify.ai/pricing) ✅ | [1.1-import-data-from-notion.md](./1.1-import-data-from-notion) ✅ | [sync-from-website.md](../../sync-from-website) ✅ + * [1.1 Import Data from Notion](./guides/knowledge-base/create-knowledge-and-upload-documents/1.-import-text-data/1.1-import-data-from-notion) ✅ | [chunking mode](./1.1-import-data-from-notion) ✅ | [indexing method](../3.-select-the-indexing-method-and-retrieval-setting) ✅ | [official Notion documentation](https://developers.notion.com/docs/authorization) ✅ | [Create Integration](https://www.notion.so/my-integrations) ✅ + * [1.2 Import Data from Website](./guides/knowledge-base/sync-from-website) ✅ | [Jina Reader](https://jina.ai/reader/) ✅ | [Firecrawl](https://www.firecrawl.dev/) ✅ | [Firecrawl](https://www.firecrawl.dev/) ✅ | [Jina Reader](https://jina.ai/reader/) ✅ | [Firecrawl website](https://www.firecrawl.dev/) ✅ | [Jina Reader website](https://jina.ai/reader/) ✅ + * [2. Choose a Chunk Mode](./guides/knowledge-base/create-knowledge-and-upload-documents/2.-choose-a-chunk-mode) ✅ | [ETL](https://docs.dify.ai/guides/knowledge-base/create-knowledge-and-upload-documents#optional-etl-configuration) ✅ | [regex](https://regexr.com/) ✅ | [Set up the Indexing Method](./3.-select-the-indexing-method-and-retrieval-setting) ✅ | [regex](https://regexr.com/) ✅ | [regex](https://regexr.com/) ✅ | [High-Quality Indexing](./3.-select-the-indexing-method-and-retrieval-setting) ✅ | [3.-select-the-indexing-method-and-retrieval-setting.md](./3.-select-the-indexing-method-and-retrieval-setting) ✅ + * [3. Select the Indexing Method and Retrieval Setting](./guides/knowledge-base/create-knowledge-and-upload-documents/3.-select-the-indexing-method-and-retrieval-setting) ✅ | ["Retrieval Settings"](./3.-select-the-indexing-method-and-retrieval-setting) ✅ | [Inverted Index](./3.-select-the-indexing-method-and-retrieval-setting) ✅ | [retrieval-test-and-citation.md](../retrieval-test-and-citation) ✅ + * [Manage Knowledge](./guides/knowledge-base/knowledge-and-documents-maintenance) ✅ | [documentation](./create-knowledge-and-upload-documents/3.-select-the-indexing-method-and-retrieval-setting) ✅ | [documentation](../../learn-more/extended-reading/retrieval-augment/retrieval) ✅ | [maintain-knowledge-documents.md](./knowledge-and-documents-maintenance/maintain-knowledge-documents) ✅ | [maintain-dataset-via-api.md](./knowledge-and-documents-maintenance/maintain-dataset-via-api) ✅ + * [Maintain Documents](./guides/knowledge-base/knowledge-and-documents-maintenance/maintain-knowledge-documents) ✅ | [chunking modes](../create-knowledge-and-upload-documents/2.-choose-a-chunk-mode) ✅ | [General mode](../create-knowledge-and-upload-documents) ✅ | [ Parent-child](./maintain-knowledge-documents) ✅ | [here](https://dify.ai/pricing) ✅ | [Metadata](https://docs.dify.ai/guides/knowledge-base/metadata) ✅ + * [Maintain Knowledge via API](./guides/knowledge-base/knowledge-and-documents-maintenance/maintain-dataset-via-api) ✅ + * [Metadata](./guides/knowledge-base/metadata) ✅ | [Integrate Knowledge Base within Application](https://docs.dify.ai/guides/knowledge-base/integrate-knowledge-within-application) ✅ | [Maintaining Dataset via API](https://docs.dify.ai/guides/knowledge-base/knowledge-and-documents-maintenance/maintain-dataset-via-api) ✅ + * [Integrate Knowledge Base within Application](./guides/knowledge-base/integrate-knowledge-within-application) ✅ | [application type](https://docs.dify.ai/guides/application-orchestrate#application_type) ✅ | [Rerank strategy](https://docs.dify.ai/learn-more/extended-reading/retrieval-augment/rerank) ✅ | [Re-ranking](https://docs.dify.ai/learn-more/extended-reading/retrieval-augment/rerank) ✅ + * [Retrieval Test / Citation and Attributions](./guides/knowledge-base/retrieval-test-and-citation) ✅ | [Retrieval-Augmented Generation (RAG)](../../learn-more/extended-reading/retrieval-augment/) ✅ + * [Knowledge Request Rate Limit](./guides/knowledge-base/knowledge-request-rate-limit) ✅ + * [Connect to an External Knowledge Base](./guides/knowledge-base/connect-external-knowledge) ✅ | [AWS Bedrock](https://aws.amazon.com/bedrock/) ✅ | [External Knowledge Base API](./external-knowledge-api-documentation) ✅ | [External Knowledge API](./external-knowledge-api-documentation) ✅ | [External Knowledge API](./external-knowledge-api-documentation) ✅ | [how-to-connect-aws-bedrock.md](../../learn-more/use-cases/how-to-connect-aws-bedrock.md "mention") ❌ + * [External Knowledge API](./guides/knowledge-base/external-knowledge-api-documentation) ✅ | [Connecting to an External Knowledge Base](https://docs.dify.ai/guides/knowledge-base/connect-external-knowledge-base) ✅ +* [Tools](./guides/tools/README) ✅ | [documentation](https://docs.dify.ai/plugins/introduction) ✅ | [Dify Development Contribution Documentation](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) ✅ | [official documentation](https://swagger.io/specification/) ✅ | [dify-tools-worker](https://github.com/crazywoola/dify-tools-worker) ✅ + * [Quick Tool Integration](./guides/tools/quick-tool-integration) ✅ | [Develop Plugins](https://docs.dify.ai/plugins/quick-start/develop-plugins) ✅ + * [Advanced Tool Integration](./guides/tools/advanced-tool-integration) ✅ | [Develop Plugins](https://docs.dify.ai/plugins/quick-start/develop-plugins) ✅ | [Quick Integration](https://docs.dify.ai/tutorials/quick-tool-integration) ✅ + * [Tool Configuration](./guides/tools/tool-configuration/README) ✅ | [Install and Use Plugins](https://docs.dify.ai/plugins/quick-start/install-plugins) ✅ | [StableDiffusion](./stable-diffusion) ✅ | [SearXNG](./searxng) ✅ + * [Google](./guides/tools/tool-configuration/google) ✅ | [Install and Use Plugins](https://docs.dify.ai/plugins/quick-start/install-plugins) ✅ | [Serp](https://serpapi.com/dashboard) ✅ + * [Bing](./guides/tools/tool-configuration/bing) ✅ | [Install and Use Plugins](https://docs.dify.ai/plugins/quick-start/install-plugins) ✅ | [Azure platform](https://www.microsoft.com/en-us/bing/apis/bing-web-search-api) ✅ + * [SearchApi](./guides/tools/tool-configuration/searchapi) ✅ | [Install and Use Plugins](https://docs.dify.ai/plugins/quick-start/install-plugins) ✅ | [SearchApi](https://www.searchapi.io/) ✅ + * [StableDiffusion](./guides/tools/tool-configuration/stable-diffusion) ✅ | [Install and Use Plugins](https://docs.dify.ai/plugins/quick-start/install-plugins) ✅ | [official repository](https://github.com/AUTOMATIC1111/stable-diffusion-webui) ✅ | [pastel-mix](https://huggingface.co/JamesFlare/pastel-mix) ✅ | [variable](https://docs.dify.ai/v/zh-hans/guides/workflow/variables) ✅ + * [Dall-e](./guides/tools/tool-configuration/dall-e) ✅ | [Install and Use Plugins](https://docs.dify.ai/plugins/quick-start/install-plugins) ✅ | [OpenAI Platform](https://platform.openai.com/) ✅ | [variables](https://docs.dify.ai/guides/workflow/variables) ✅ + * [Perplexity Search](./guides/tools/tool-configuration/perplexity) ✅ | [Install and Use Plugins](https://docs.dify.ai/plugins/quick-start/install-plugins) ✅ | [Perplexity](https://www.perplexity.ai/settings/api) ❌ + * [AlphaVantage](./guides/tools/tool-configuration/alphavantage) ✅ | [@zhuhao](https://github.com/hwzhuhao) ✅ | [Install and Use Plugins](https://docs.dify.ai/plugins/quick-start/install-plugins) ✅ | [AlphaVantage](https://www.alphavantage.co/support/#api-key) ✅ | [variables](https://docs.dify.ai/v/zh-hans/guides/workflow/variables) ✅ + * [Youtube](./guides/tools/tool-configuration/youtube) ✅ | [Install and Use Plugins](https://docs.dify.ai/plugins/quick-start/install-plugins) ✅ | [Youtube](https://www.youtube.com/) ✅ | [Google credential site](https://console.cloud.google.com/apis/credentials) ✅ | [Dify Tools page](https://cloud.dify.ai/tools) ✅ + * [SearXNG](./guides/tools/tool-configuration/searxng) ✅ | [Install and Use Plugins](https://docs.dify.ai/plugins/quick-start/install-plugins) ✅ | [Community Edition](https://docs.dify.ai/getting-started/install-self-hosted/docker-compose) ✅ | [SearXNG installation documentation](https://docs.searxng.org/admin/installation.html) ✅ | [here](https://docs.searxng.org/admin/settings/index.html) ✅ + * [Serper](./guides/tools/tool-configuration/serper) ✅ | [Install and Use Plugins](https://docs.dify.ai/plugins/quick-start/install-plugins) ✅ | [Serper platform](https://serper.dev/signup) ✅ + * [SiliconFlow (Flux AI Supported)](./guides/tools/tool-configuration/siliconflow) ✅ | [Install and Use Plugins](https://docs.dify.ai/plugins/quick-start/install-plugins) ✅ | [SiliconCloud API management page](https://cloud.siliconflow.cn/account/ak) ✅ | [variables](https://docs.dify.ai/v/zh-hans/guides/workflow/variables) ✅ + * [ComfyUI](./guides/tools/tool-configuration/comfyui) ✅ | [Install and Use Plugins](https://docs.dify.ai/plugins/quick-start/install-plugins) ✅ | [ComfyUI](https://www.comfy.org/) ✅ | [official documentation](https://docs.comfy.org/get_started/gettingstarted) ✅ +* [Publishing](./guides/application-publishing/README) ✅ | [Publish as a Single-page Webapp](launch-your-webapp-quickly/) ✅ | [Embedding In Websites](./embedding-in-websites) ✅ | [Developing with APIs](./developing-with-apis) ✅ | [Based on Frontend Templates](./based-on-frontend-templates) ✅ + * [Publish as a Single-page Web App](./guides/application-publishing/launch-your-webapp-quickly/README) ✅ | [https://udify.app/](https://udify.app/) ✅ | [text-generator.md](./text-generator) ✅ | [conversation-application.md](./conversation-application) ✅ | [web-app-settings.md](./web-app-settings) ✅ | [Embedding In Websites](https://docs.dify.ai/guides/application-publishing/embedding-in-websites) ✅ + * [Web App Settings](./guides/application-publishing/launch-your-webapp-quickly/web-app-settings) ✅ + * [Text Generator Application](./guides/application-publishing/launch-your-webapp-quickly/text-generator) ✅ + * [Conversation Application](./guides/application-publishing/launch-your-webapp-quickly/conversation-application) ✅ | [Citation and Attribution](https://docs.dify.ai/guides/knowledge-base/retrieval-test-and-citation#id-2.-citation-and-attribution) ✅ + * [Embedding In Websites](./guides/application-publishing/embedding-in-websites) ✅ + * [Developing with APIs](./guides/application-publishing/developing-with-apis) ✅ + * [Re-develop Based on Frontend Templates](./guides/application-publishing/based-on-frontend-templates) ✅ | [Conversational app](https://github.com/langgenius/webapp-conversation) ✅ | [Text generation app](https://github.com/langgenius/webapp-text-generator) ✅ +* [Annotation](./guides/annotation/README) ✅ + * [Logs and Annotation](./guides/annotation/logs) ✅ | [pricing page](https://dify.ai/pricing) ✅ | [Community Edition](https://docs.dify.ai/getting-started/install-self-hosted/docker-compose) ✅ + * [Annotation Reply](./guides/annotation/annotation-reply) ✅ +* [Monitoring](./guides/monitoring/README) ✅ + * [Data Analysis](./guides/monitoring/analysis) ✅ + * [Integrate External Ops Tools](./guides/monitoring/integrate-external-ops-tools/README) ✅ + * [Integrate LangSmith](./guides/monitoring/integrate-external-ops-tools/integrate-langsmith) ✅ | [LangSmith](https://www.langchain.com/langsmith) ✅ | [LangSmith](https://www.langchain.com/langsmith) ✅ + * [Integrate Langfuse](./guides/monitoring/integrate-external-ops-tools/integrate-langfuse) ✅ | [https://langfuse.com/](https://langfuse.com/) ✅ | [official website](https://langfuse.com/) ✅ + * [Integrate Opik](./guides/monitoring/integrate-external-ops-tools/integrate-opik) ✅ | [Opik](https://www.comet.com/site/products/opik/) ✅ | [Opik](https://www.comet.com/signup?from=llm) ✅ +* [Extension](./guides/extension/README) ✅ | [api-based-extension](api-based-extension/) ✅ | [code-based-extension](code-based-extension/) ✅ + * [API-Based Extension](./guides/extension/api-based-extension/README) ✅ | [https://ngrok.com](https://ngrok.com/) ✅ | [cloudflare-workers.md](cloudflare-workers.md "mention") ❌ + * [External Data Tool](./guides/extension/api-based-extension/external-data-tool) ✅ | [External Data Tool](https://docs.dify.ai/guides/knowledge-base/external-data-tool) ✅ | [.](./ "mention") ❌ + * [Deploy API Tools with Cloudflare Workers](./guides/extension/api-based-extension/cloudflare-workers) ✅ | [Example GitHub Repository](https://github.com/crazywoola/dify-extension-workers) ✅ | [Cloudflare Workers](https://workers.cloudflare.com/) ✅ | [Cloudflare Workers CLI](https://developers.cloudflare.com/workers/cli-wrangler/install-update) ✅ | [Example GitHub Repository](https://github.com/crazywoola/dify-extension-workers) ✅ + * [Moderation](./guides/extension/api-based-extension/moderation) ✅ + * [Code-Based Extension](./guides/extension/code-based-extension/README) ✅ | [External Data Tool](https://docs.dify.ai/guides/extension/api-based-extension/external-data-tool) ✅ | [Moderation](https://docs.dify.ai/guides/extension/api-based-extension/moderation) ✅ + * [External Data Tool](./guides/extension/code-based-extension/external-data-tool) ✅ | [api-based-extension](../api-based-extension/ "mention") ❌ | [.](./ "mention") ❌ + * [Moderation](./guides/extension/code-based-extension/moderation) ✅ | [.](./ "mention") ❌ +* [Collaboration](./guides/workspace/README) ✅ | [Discover](./app) ✅ + * [Discover](./guides/workspace/app) ✅ + * [Invite and Manage Members](./guides/workspace/invite-and-manage-members) ✅ +* [Management](./guides/management/README) ✅ + * [App Management](./guides/management/app-management) ✅ | [Tool](../workflow/node/tools) ✅ | [Upgrade Dify](https://docs.dify.ai/getting-started/install-self-hosted/docker-compose#upgrade-dify) ✅ + * [Team Members Management](./guides/management/team-members-management) ✅ | [environment variables](https://docs.dify.ai/getting-started/install-self-hosted/environments) ✅ + * [Personal Account Management](./guides/management/personal-account-management) ✅ | [GitHub repository](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) ✅ + * [Subscription Management](./guides/management/subscription-management) ✅ | [Marked replies](https://docs.dify.ai/guides/biao-zhu/logs) ✅ | [Dify pricing](https://dify.ai/pricing) ✅ + * [Version Control](./guides/management/version-control) ✅ + +## Workshop + +* [Basic](./workshop/basic/README) ✅ + * [How to Build an AI Image Generation App](./workshop/basic/build-ai-image-generation-app) ✅ | [Click here](https://platform.stability.ai/account/keys) ✅ | [Dify - Tools - Stability](https://cloud.dify.ai/tools) ✅ | [groq API Management Page](https://console.groq.com/keys) ✅ +* [Intermediate](./workshop/intermediate/README) ✅ + * [Build An Article Reader Using File Upload](./workshop/intermediate/article-reader) ✅ | [File Upload](../../guides/workflow/file-upload) ✅ + * [Building a Smart Customer Service Bot Using a Knowledge Base](./workshop/intermediate/customer-service-bot) ✅ | [Dify help documentation](https://docs.dify.ai) ✅ | [help documentation](https://docs.dify.ai) ✅ | [how-to-connect-aws-bedrock.md](../../learn-more/use-cases/how-to-connect-aws-bedrock.md "mention") ❌ + * [Generating analysis of Twitter account using Chatflow Agent](./workshop/intermediate/twitter-chatflow) ✅ | [wordware.ai](https://www.wordware.ai/) ✅ | [February 2, 2023](https://twitter.com/XDevelopers/status/1621026986784337922?ref\_src=twsrc%5Etfw) ❌ | [crawlbase.com](https://crawlbase.com) ✅ | [https://cloud.dify.ai/signin](https://cloud.dify.ai/signin) ✅ | [Crawlbase docs](https://crawlbase.com/docs/crawling-api/scrapers/#twitter-profile) ✅ | [Crawlbase docs](https://crawlbase.com/docs/crawling-api/scrapers/#twitter-profile) ✅ | [https://crawlbase.com/dashboard/account/docs](https://crawlbase.com/dashboard/account/docs) ✅ | [wordware.ai](http://wordware.ai) ✅ | [X@dify\_ai](https://x.com/dify\_ai) ❌ | [https://github.com/langgenius/dify](https://github.com/langgenius/dify) ✅ + +## Community + +* [Seek Support](./community/support) ✅ | [GitHub](https://github.com/langgenius/dify) ✅ | [Discord community](https://discord.gg/8Tpq4AcN9c) ✅ | [Reddit](https://www.reddit.com/r/difyai/) ✅ | [hello@dify.ai](mailto:hello@dify.ai) ✅ +* [Become a Contributor](./community/contribution) ✅ | [License and Contributor Agreement](https://github.com/langgenius/dify/blob/main/LICENSE) ✅ | [code of conduct](https://github.com/langgenius/.github/blob/main/CODE\_OF\_CONDUCT.md) ❌ | [Find](https://github.com/langgenius/dify/issues?q=is:issue+is:closed) ✅ | [open](https://github.com/langgenius/dify/issues/new/choose) ✅ | [@perzeusss](https://github.com/perzeuss) ✅ | [Feature Request Copilot](https://udify.app/chat/MK2kVSnw1gakVwMX) ✅ | [@yeuoly](https://github.com/Yeuoly) ✅ | [@jyong](https://github.com/JohnJyong) ✅ | [@GarfieldDai](https://github.com/GarfieldDai) ✅ | [@iamjoel](https://github.com/iamjoel) ✅ | [@zxhlyh](https://github.com/zxhlyh) ✅ | [@guchenhe](https://github.com/guchenhe) ✅ | [@crazywoola](https://github.com/crazywoola) ✅ | [@takatost](https://github.com/takatost) ✅ | [community feedback board](https://github.com/langgenius/dify/discussions/categories/ideas) ✅ | [Docker](https://www.docker.com/) ✅ | [Docker Compose](https://docs.docker.com/compose/install/) ✅ | [Node.js v18.x (LTS)](http://nodejs.org) ✅ | [npm](https://www.npmjs.com/) ✅ | [Yarn](https://yarnpkg.com/) ✅ | [Python](https://www.python.org/) ✅ | [Backend README](https://github.com/langgenius/dify/blob/main/api/README.md) ✅ | [Frontend README](https://github.com/langgenius/dify/blob/main/web/README.md) ✅ | [installation FAQ](https://docs.dify.ai/learn-more/faq/install-faq) ✅ | [http://localhost:3000](http://localhost:3000) ✅ | [this guide](https://github.com/langgenius/dify/blob/main/api/core/model\_runtime/README.md) ❌ | [this guide](https://github.com/langgenius/dify/blob/main/api/core/tools/README.md) ❌ | [Dify-docs](https://github.com/langgenius/dify-docs/tree/main/en/guides/tools/tool-configuration) ✅ | [Flask](https://flask.palletsprojects.com/en/3.0.x/) ✅ | [SQLAlchemy](https://www.sqlalchemy.org/) ✅ | [Celery](https://docs.celeryq.dev/en/stable/getting-started/introduction.html) ✅ | [Next.js](https://nextjs.org/) ✅ | [Tailwind CSS](https://tailwindcss.com/) ✅ | [React-i18next](https://react.i18next.com/) ✅ | [GitHub's pull request tutorial](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests) ✅ | [README](https://github.com/langgenius/dify/blob/main/README.md) ✅ | [Discord](https://discord.com/invite/8Tpq4AcN9c) ✅ +* [Contributing to Dify Documentation](./community/docs-contribution) ✅ | [open-source project](https://github.com/langgenius/dify-docs) ✅ | [Issues page](https://github.com/langgenius/dify-docs/issues) ✅ | [Discord](https://discord.com/invite/8Tpq4AcN9c) ✅ + +## Plugins + +* [Introduction](./plugins/introduction) ✅ | [Dify Marketplace](https://marketplace.dify.ai/) ✅ | [GitHub](publish-plugins/publish-plugin-on-personal-github-repo/) ✅ | [Local file package](publish-plugins/package-and-publish-plugin-file/) ❌ | [Quick Start: Model Plugin](https://docs.dify.ai/plugins/quick-start/develop-plugins/model-plugin) ✅ | [Quick Start: Tool Plugin](./quick-start/develop-plugins/tool-plugin) ✅ | [Quick Start: Agent Strategy Plugin](./quick-start/develop-plugins/agent-strategy-plugin) ✅ | [Quick Start: Extension Plugin](./quick-start/develop-plugins/extension-plugin) ✅ | [Plugin Development: Bundle Plugin](./quick-start/develop-plugins/bundle) ✅ | [Dify Marketplace](https://marketplace.dify.ai/) ✅ | [install-plugins.md](./quick-start/install-plugins) ✅ | [develop-plugins](quick-start/develop-plugins/) ✅ | [Dify Marketplace](https://marketplace.dify.ai/) ✅ | [GitHub repository](https://github.com/langgenius/dify-plugins) ✅ | [publish-to-dify-marketplace](publish-plugins/publish-to-dify-marketplace/) ✅ | [publish-to-dify-marketplace](publish-plugins/publish-to-dify-marketplace/) ✅ | [package-plugin-file-and-publish.md](./publish-plugins/package-plugin-file-and-publish) ✅ +* [Quick Start](./plugins/quick-start/README) ✅ | [install-plugins.md](./install-plugins) ✅ | [tool-plugin.md](./develop-plugins/tool-plugin) ✅ | [model-plugin](develop-plugins/model-plugin/) ✅ | [agent-strategy-plugin.md](./develop-plugins/agent-strategy-plugin) ✅ | [extension-plugin.md](./develop-plugins/extension-plugin) ✅ | [bundle.md](./develop-plugins/bundle) ✅ | [schema-definition](../schema-definition/) ✅ + * [Install and Use Plugins](./plugins/quick-start/install-plugins) ✅ | [Publishing Plugins on GitHub](../publish-plugins/publish-plugin-on-personal-github-repo) ✅ | [packaging your plugin](../publish-plugins/package-plugin-file-and-publish) ✅ | [develop-plugins](develop-plugins/) ✅ + * [Develop Plugins](./plugins/quick-start/develop-plugins/README) ✅ | [initialize-development-tools.md](./initialize-development-tools) ✅ | [tool-plugin.md](./tool-plugin) ✅ | [model-plugin](model-plugin/) ✅ | [extension-plugin.md](./extension-plugin) ✅ | [General Specifications](../../schema-definition/general-specifications) ✅ | [Manifest Definitions](../../schema-definition/manifest) ✅ | [Tool Integration Definitions](../../schema-definition/tool) ✅ | [Model Integration Introduction](../../schema-definition/model/) ✅ | [Endpoint Definitions](../../schema-definition/endpoint) ✅ | [Extended Agent Strategy](../../schema-definition/agent) ✅ | [Reverse Invocation of the Dify](../../schema-definition/reverse-invocation-of-the-dify-service/) ✅ | [Reverse Invoking Apps](../../schema-definition/reverse-invocation-of-the-dify-service/app) ✅ | [Reverse Invoking Models](../../schema-definition/reverse-invocation-of-the-dify-service/model) ✅ | [Reverse Invoking Nodes](../../schema-definition/reverse-invocation-of-the-dify-service/node) ✅ | [Reverse Invoking Tools](../../schema-definition/reverse-invocation-of-the-dify-service/tool) ✅ | [Plugin Persistence Storage Capabilities](../../schema-definition/persistent-storage) ✅ | [Dify Plugin Contribution Guidelines](../../publish-plugins/publish-to-dify-marketplace/) ✅ | [GitHub Publishing Guidelines](../../publish-plugins/publish-plugin-on-personal-github-repo) ✅ + * [Initialize Development Tools](./plugins/quick-start/develop-plugins/initialize-development-tools) ✅ | [Dify plugin GitHub page](https://github.com/langgenius/dify-plugin-daemon/releases) ✅ | [Python installation](https://pythontest.com/python/installing-python-3-11/) ✅ | [tool-plugin.md](./tool-plugin) ✅ | [model-plugin](model-plugin/) ✅ | [agent-strategy-plugin.md](./agent-strategy-plugin) ✅ | [extension-plugin.md](./extension-plugin) ✅ | [bundle.md](./bundle) ✅ + * [Tool Plugin](./plugins/quick-start/develop-plugins/tool-plugin) ✅ | [Initializing Development Tools](./initialize-development-tools) ✅ | [Schema Definition](../../schema-definition/) ✅ | [ProviderConfig](../schema-definition/general-specifications) ❌ | [tool](../schema-definition/tool) ❌ | [Dify Plugins code repository](https://github.com/langgenius/dify-plugins) ✅ | [plugin release guide](../publish-plugins/publish-to-dify-marketplace) ❌ | [Dify Marketplace](https://marketplace.dify.ai/) ✅ | [Develop Extension Type Plugin](./extension-plugin) ✅ | [Develop Model Type Plugin](model-plugin/) ✅ | [Bundle Type Plugin: Package Multiple Plugins](./bundle) ✅ | [Minifest](../schema-definition/manifest) ❌ | [Endpoint](../schema-definition/endpoint) ❌ | [Reverse Invocation of the Dify Service](../schema-definition/reverse-invocation-of-the-dify-service/) ❌ | [Tools](../../guides/tools/) ❌ | [Models](../schema-definition/model/model-schema) ❌ | [Extend Agent Strategy](../schema-definition/agent) ❌ + * [Model Plugin](./plugins/quick-start/develop-plugins/model-plugin/README) ✅ | [Create Model Provider](./create-model-providers) ✅ | [Predefined](../../../guides/model-configuration/predefined-model) ❌ | [Custom](../../../guides/model-configuration/customizable-model) ❌ | [Debug Plugin](../../debug-plugin) ✅ + * [Create Model Providers](./plugins/quick-start/develop-plugins/model-plugin/create-model-providers) ✅ | [Initializing Development Tools](../initialize-development-tools) ✅ | [Schema](../../schema-definition/) ❌ | [Develop Predefined Models](../../../../guides/model-configuration/predefined-model) ✅ | [Develop Custom Models](../../../../guides/model-configuration/customizable-model) ✅ + * [Integrate the Predefined Model](./plugins/quick-start/develop-plugins/model-plugin/predefined-model) ✅ | [model provider](./create-model-providers) ✅ | [AIModelEntity](../../schema-definition/model/model-designing-rules) ❌ | [Github repository](https://github.com/langgenius/dify-official-plugins/tree/main/models/anthropic/models/llm) ✅ | [Model Design Rules](../../schema-definition/model/model-designing-rules) ❌ | [Github repository](https://github.com/langgenius/dify-official-plugins/tree/main/models) ✅ | [Github code repository](https://github.com/langgenius/dify-official-plugins/blob/main/models/anthropic/models/llm/llm.py) ✅ | [debug-plugin.md](../../debug-plugin) ✅ | [Dify Plugins code repository](https://github.com/langgenius/dify-plugins) ✅ | [plugin release guide](../../publish-plugins/publish-to-dify-marketplace) ❌ | [Dify Marketplace](https://marketplace.dify.ai/) ✅ | [Develop Extension Type Plugin](../extension-plugin) ✅ | [Develop Model Type Plugin](./) ✅ | [Bundle Type Plugin: Package Multiple Plugins](../bundle) ✅ | [Minifest](../../schema-definition/manifest) ❌ | [Endpoint](../../schema-definition/endpoint) ❌ | [Reverse Invocation of the Dify Service](../../schema-definition/reverse-invocation-of-the-dify-service/) ❌ | [Tools](../../../guides/tools/) ❌ | [Models](../../schema-definition/model/model-schema) ❌ | [Extend Agent Strategy](../../schema-definition/agent) ❌ + * [Integrate the Customizable Model](./plugins/quick-start/develop-plugins/model-plugin/customizable-model) ✅ | [Xinference model](https://inference.readthedocs.io/en/latest/) ✅ | [predefined models](./predefined-model) ✅ | [Model Documentation](https://docs.dify.ai/zh-hans/plugins/schema-definition/model) ✅ | [GitHub Repository](https://github.com/langgenius/dify-official-plugins/tree/main/models/xinference) ✅ | [debug-plugin.md](../../debug-plugin) ✅ | [Develop Extension Plugin](../extension-plugin) ✅ | [Develop Tool Plugin](../tool-plugin) ✅ | [Bundle Plugins: Package Multiple Plugins](../bundle) ✅ | [Manifest](../../../schema-definition/manifest) ✅ | [Endpoint](../../../schema-definition/endpoint) ✅ | [Reverse-Invocation of the Dify Service](../../../schema-definition/reverse-invocation-of-the-dify-service/) ✅ | [Tools](../../../schema-definition/tool) ✅ | [Models](../../../schema-definition/model/) ✅ + * [Agent Strategy Plugin](./plugins/quick-start/develop-plugins/agent-strategy-plugin) ✅ | [Initializing the Development Tool](./initialize-development-tools) ✅ | [“Plugin Management”](https://console-plugin.dify.dev/plugins) ❌ | [Dify Plugins repository](https://github.com/langgenius/dify-plugins) ✅ | [Plugin Publishing Guidelines](https://docs.dify.ai/plugins/publish-plugins/publish-to-dify-marketplace) ✅ | [Dify Marketplace](https://marketplace.dify.ai/) ✅ | [complete Function Calling implementation](https://github.com/langgenius/dify-official-plugins/blob/main/agent-strategies/cot_agent/strategies/function_calling.py) ✅ + * [Extension Plugin](./plugins/quick-start/develop-plugins/extension-plugin) ✅ | [Initializing Development Tools](./initialize-development-tools) ✅ | [Dify Plugins code repository](https://github.com/langgenius/dify-plugins) ✅ | [plugin release guide](../publish-plugins/publish-to-dify-marketplace) ❌ | [Dify Marketplace](https://marketplace.dify.ai/) ✅ | [Develop Extension Type Plugin](./extension-plugin) ✅ | [Develop Model Type Plugin](model-plugin/) ✅ | [Bundle Type Plugin: Package Multiple Plugins](./bundle) ✅ | [Minifest](../schema-definition/manifest) ❌ | [Endpoint](../schema-definition/endpoint) ❌ | [Reverse Invocation of the Dify Service](../schema-definition/reverse-invocation-of-the-dify-service/) ❌ | [Tools](../../guides/tools/) ❌ | [Models](../schema-definition/model/model-schema) ❌ | [Extend Agent Strategy](../schema-definition/agent) ❌ | [Develop a Slack Bot Plugin](../../best-practice/develop-a-slack-bot-plugin) ✅ + * [Bundle](./plugins/quick-start/develop-plugins/bundle) ✅ | [Initializing Development Tools](./initialize-development-tools) ✅ + * [Debug Plugin](./plugins/quick-start/debug-plugin) ✅ | ["Plugin"](https://cloud.dify.ai/plugins) ✅ +* [Manage Plugins](./plugins/manage-plugins) ✅ +* [Schema Specification](./plugins/schema-definition/README) ✅ | [manifest.md](./manifest) ✅ | [endpoint.md](./endpoint) ✅ | [model](model/) ✅ | [general-specifications.md](./general-specifications) ✅ | [persistent-storage.md](./persistent-storage) ✅ | [reverse-invocation-of-the-dify-service](reverse-invocation-of-the-dify-service/) ✅ + * [Manifest](./plugins/schema-definition/manifest) ✅ | [Github repository](https://github.com/langgenius/dify-plugin-sdks/tree/main/python/examples) ✅ | [tool](./tool) ✅ | [model](model/) ✅ | [Endpoints](./endpoint) ✅ | [Plugin Privacy Policy Guidelines](../publish-plugins/publish-to-dify-marketplace/plugin-privacy-protection-guidelines) ✅ + * [Endpoint](./plugins/schema-definition/endpoint) ✅ | [Quick Start: Rainbow Cat project](../develop-plugins/extension-plugin) ❌ | [Github repository](https://github.com/langgenius/dify-plugin-sdks/tree/main/python/examples/neko) ✅ | [ProviderConfig](./general-specifications) ✅ + * [Tool](./plugins/schema-definition/tool) ✅ | [Quick start: Tools](../develop-plugins/tool-plugin) ❌ + * [Agent](./plugins/schema-definition/agent) ✅ | [Semantic Kernel](https://learn.microsoft.com/en-us/semantic-kernel/overview/) ✅ | [Manifest](./manifest) ✅ | [Tool](./tool) ✅ + * [Model](./plugins/schema-definition/model/README) ✅ + * [Model Designing Rules](./plugins/schema-definition/model/model-designing-rules) ✅ | [Provider](./model-designing-rules) ✅ | [AIModelEntity](./model-designing-rules) ✅ + * [Model Schema](./plugins/schema-definition/model/model-schema) ✅ | [OpenAI](https://github.com/langgenius/dify-official-plugins/tree/main/models/openai) ✅ + * [General Specifications](./plugins/schema-definition/general-specifications) ✅ | [IETF BCP 47](https://tools.ietf.org/html/bcp47) ✅ + * [Persistent Storage](./plugins/schema-definition/persistent-storage) ✅ + * [Reverse Invocation of the Dify Service](./plugins/schema-definition/reverse-invocation-of-the-dify-service/README) ✅ | [**App**](./app) ✅ | [**Model**](./model) ✅ | [**Tool**](./tool) ✅ | [**Node**](./node) ✅ + * [App](./plugins/schema-definition/reverse-invocation-of-the-dify-service/app) ✅ + * [Model](./plugins/schema-definition/reverse-invocation-of-the-dify-service/model) ✅ + * [Tool](./plugins/schema-definition/reverse-invocation-of-the-dify-service/tool) ✅ + * [Node](./plugins/schema-definition/reverse-invocation-of-the-dify-service/node) ✅ +* [Best Practice](./plugins/best-practice/README) ✅ | [develop-a-slack-bot-plugin.md](./develop-a-slack-bot-plugin) ✅ + * [Develop a Slack Bot Plugin](./plugins/best-practice/develop-a-slack-bot-plugin) ✅ | [Initializing the Development Tool](../tool-initialization) ❌ | [Python Installation Tutorial](https://pythontest.com/python/installing-python-3-11/) ✅ | [Slack API platform](https://api.slack.com/apps) ✅ | [Quick Start: Developing an Extension Plugin](../extension) ❌ | [Reverse Invocation: App](../../../api-documentation/fan-xiang-diao-yong-dify-fu-wu/app) ❌ | [Dify Marketplace repository](https://github.com/langgenius/dify-plugins) ✅ | [Plugin Publishing Guidelines](https://docs.dify.ai/zh-hans/plugins/publish-plugins/publish-to-dify-marketplace) ✅ | [Dify Marketplace](https://marketplace.dify.ai/) ✅ | [GitHub repository](https://github.com/langgenius/dify-plugins) ✅ | [Develop an Extension Plugin](../extension) ❌ | [Develop a Model Plugin](../model/) ❌ | [Bundle Plugins: Packaging Multiple Plugins](../bundle) ❌ | [Manifest](../../../api-documentation/manifest) ❌ | [Endpoint](../../../api-documentation/endpoint) ❌ | [Reverse-Calling Dify Services](../../../api-documentation/fan-xiang-diao-yong-dify-fu-wu/) ❌ | [Tools](../../../api-documentation/tool) ❌ | [Models](../../../api-documentation/model/) ❌ +* [Publish Plugins](./plugins/publish-plugins/README) ✅ | [code repository](https://github.com/langgenius/dify-plugins) ✅ | [publish-to-dify-marketplace](publish-to-dify-marketplace/) ✅ | [publish-plugin-on-personal-github-repo.md](./publish-plugin-on-personal-github-repo) ✅ | [Package as Local File and Share](./package-plugin-file-and-publish) ✅ + * [Publish to Dify Marketplace](./plugins/publish-plugins/publish-to-dify-marketplace/README) ✅ | [GitHub repository](https://github.com/langgenius/dify-plugins) ✅ | [Plugin Developer Guidelines](./plugin-developer-guidelines) ✅ | [Plugin Privacy Policy](./plugin-privacy-protection-guidelines) ✅ | [Manifest](../../schema-definition/manifest) ✅ | [Dify Plugins](https://github.com/langgenius/dify-plugins) ✅ | [Dify Marketplace](https://marketplace.dify.ai/) ✅ | [Plugin Developer Guidelines](./plugin-developer-guidelines) ✅ | [Manifest](https://docs.dify.ai/plugins/schema-definition/manifest) ✅ | [Plugin Development Guidelines](./plugin-developer-guidelines) ✅ | [Dify.AI](https://dify.ai/) ✅ + * [Plugin Developer Guidelines](./plugins/publish-plugins/publish-to-dify-marketplace/plugin-developer-guidelines) ✅ | [Plugin Privacy Protection Guidelines](./plugin-developer-guidelines) ✅ + * [Plugin Privacy Protection Guidelines](./plugins/publish-plugins/publish-to-dify-marketplace/plugin-privacy-protection-guidelines) ✅ | [Slack’s privacy policy](https://slack.com/trust/privacy/privacy-policy) ✅ | [Manifest](https://docs.dify.ai/plugins/schema-definition/manifest) ✅ + * [Publish to Your Personal GitHub Repository](./plugins/publish-plugins/publish-plugin-on-personal-github-repo) ✅ | [GitHub documentation](https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-new-repository) ✅ + * [Package the Plugin File and Publish it](./plugins/publish-plugins/package-plugin-file-and-publish) ✅ | [official GitHub releases page](https://github.com/langgenius/dify-plugin-daemon/releases) ✅ | [Initialize Development Tools](../quick-start/develop-plugins/initialize-development-tools) ✅ +* [FAQ](./plugins/faq) ✅ + +## Development + +* [Backend](./development/backend/README) ✅ + * [DifySandbox](./development/backend/sandbox/README) ✅ | [DifySandbox](https://github.com/langgenius/dify-sandbox) ✅ | [Contribution Guide](./contribution) ✅ + * [Contribution Guide](./development/backend/sandbox/contribution) ✅ +* [Models Integration](./development/models-integration/README) ✅ + * [Integrate Open Source Models from Hugging Face](./development/models-integration/hugging-face) ✅ | [text-generation](https://huggingface.co/models?pipeline\_tag=text-generation\&sort=trending) ✅ | [text2text-generation](https://huggingface.co/models?pipeline\_tag=text2text-generation\&sort=trending) ✅ | [feature-extraction](https://huggingface.co/models?pipeline\_tag=feature-extraction\&sort=trending) ✅ | [registered address](https://huggingface.co/join) ❌ | [obtain address](https://huggingface.co/settings/tokens) ✅ | [Hugging Face model list page](https://huggingface.co/models?pipeline\_tag=text-generation\&sort=trending) ✅ | [Inference Endpoints](https://huggingface.co/docs/inference-endpoints/guides/access) ✅ | [User name](https://huggingface.co/settings/account) ✅ | [Organization Name](https://ui.endpoints.huggingface.co/) ✅ + * [Integrate Open Source Models from Replicate](./development/models-integration/replicate) ✅ | [Language models](https://replicate.com/collections/language-models) ✅ | [Embedding models](https://replicate.com/collections/embedding-models) ✅ | [registered address](https://replicate.com/signin?next=/docs) ✅ | [get address](https://replicate.com/signin?next=/docs) ✅ | [Language models](https://replicate.com/collections/language-models) ✅ | [Embedding models](https://replicate.com/collections/embedding-models) ✅ + * [Integrate Local Models Deployed by Xinference](./development/models-integration/xinference) ✅ | [Xorbits inference](https://github.com/xorbitsai/inference) ✅ | [local deployment](https://github.com/xorbitsai/inference/blob/main/README.md#local) ✅ | [distributed deployment](https://github.com/xorbitsai/inference/blob/main/README.md#distributed) ✅ | [Xinference built-in models](https://inference.readthedocs.io/en/latest/models/builtin/index.html) ✅ | [Xinference builtin models](https://github.com/xorbitsai/inference/blob/main/README.md#builtin-models) ✅ | [Xorbits Inference](https://github.com/xorbitsai/inference) ✅ + * [Integrate Local Models Deployed by OpenLLM](./development/models-integration/openllm) ✅ | [OpenLLM](https://github.com/bentoml/OpenLLM) ✅ | [Supported Model List](https://github.com/bentoml/OpenLLM#-supported-models) ✅ | [OpenLLM](https://github.com/bentoml/OpenLLM) ✅ + * [Integrate Local Models Deployed by LocalAI](./development/models-integration/localai) ✅ | [LocalAI](https://github.com/go-skynet/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) ❌ + * [Integrate Local Models Deployed by Ollama](./development/models-integration/ollama) ✅ | [ollama](<../../.gitbook/assets/ollama (1) ❌ | [Ollama](https://github.com/jmorganca/ollama) ✅ | [https://ollama.com/download](https://ollama.com/download) ✅ | [Ollama Models](https://ollama.com/library) ✅ | [FAQ](#faq) ✅ + * [Integrate Models on LiteLLM Proxy](./development/models-integration/litellm) ✅ | [LiteLLM Proxy](https://github.com/BerriAI/litellm) ✅ | [Detailed docs on how to setup litellm config - here](https://docs.litellm.ai/docs/proxy/configs) ✅ | [LiteLLM](https://github.com/BerriAI/litellm) ✅ | [LiteLLM Proxy Server](https://docs.litellm.ai/docs/simple\_proxy) ❌ + * [Integrating with GPUStack for Local Model Deployment](./development/models-integration/gpustack) ✅ | [GPUStack](https://github.com/gpustack/gpustack) ✅ | [Documentation](https://docs.gpustack.ai) ✅ | [Github Repo](https://github.com/gpustack/gpustack) ✅ + * [Integrating AWS Bedrock Models (DeepSeek)](./development/models-integration/aws-bedrock-deepseek) ✅ | [AWS Bedrock Marketplace](https://aws.amazon.com/bedrock/marketplace/) ✅ | [Bedrock](https://aws.amazon.com/bedrock/) ✅ | [Dify.AI account](https://cloud.dify.ai/) ✅ +* [Migration](./development/migration/README) ✅ + * [Migrating Community Edition to v1.0.0](./development/migration/migrate-to-v1) ✅ | [v1.0.0](https://github.com/langgenius/dify/releases/tag/1.0.0) ✅ | [Dify project](https://github.com/langgenius/dify) ✅ | [documentation](https://docs.dify.ai/zh-hans/getting-started/install-self-hosted/docker-compose) ✅ + +## Learn More + +* [Use Cases](./learn-more/use-cases/README) ✅ + * [DeepSeek & Dify Integration Guide: Building AI Applications with Multi-Turn Reasoning](./learn-more/use-cases/integrate-deepseek-to-build-an-ai-app) ✅ | [**Private Deployment of DeepSeek + Dify: Build Your Own AI Assistant**](./private-ai-ollama-deepseek-dify) ✅ | [DeepSeek API Platform](https://platform.deepseek.com/) ✅ | [local deployment guide](./private-ai-ollama-deepseek-dify) ✅ | [Retrieval-Augmented Generation (RAG)](https://docs.dify.ai/zh-hans/learn-more/extended-reading/retrieval-augment) ✅ | [Create a Knowledge Base](https://docs.dify.ai/zh-hans/guides/knowledge-base/create-knowledge-and-upload-documents) ✅ | [Workflow](https://docs.dify.ai/zh-hans/guides/workflow) ✅ | [File Upload](https://docs.dify.ai/zh-hans/guides/workflow/file-upload) ✅ | [Deploy DeepSeek + Dify Locally to Build a Private AI Assistant](./private-ai-ollama-deepseek-dify) ✅ + * [Private Deployment of Ollama + DeepSeek + Dify: Build Your Own AI Assistant](./learn-more/use-cases/private-ai-ollama-deepseek-dify) ✅ | [Docker](https://www.docker.com/) ✅ | [Ollama](https://ollama.com/) ✅ | [Dify Community Edition](https://github.com/langgenius/dify) ✅ | [Ollama](https://ollama.com/) ✅ | [Ollama's official website](https://ollama.com/) ✅ | [Deploy with Docker Compose](https://docs.dify.ai/getting-started/install-self-hosted/docker-compose) ✅ | [FAQ](https://docs.dify.ai/learn-more/use-cases/private-ai-ollama-deepseek-dify#id-1.-connection-errors-when-using-docker) ✅ | [DeepSeek model specifications](https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Qwen-7B) ✅ | [Workflow Documentation](https://docs.dify.ai/guides/workflow) ✅ | [Load Balancing](https://docs.dify.ai/guides/model-configuration/load-balancing) ✅ | [Error Handling](https://docs.dify.ai/guides/workflow/error-handling) ✅ + * [Build a Notion AI Assistant](./learn-more/use-cases/build-an-notion-ai-assistant) ✅ | [Dify](https://dify.ai/) ✅ | [here](https://dify.ai/) ✅ | [project](https://github.com/langgenius/dify) ✅ | [​](https://wsyfin.com/notion-dify#3-connect-with-notion-and-datasets) ✅ | [​](https://wsyfin.com/notion-dify#4-start-training) ✅ | [​](https://wsyfin.com/notion-dify#5-create-your-ai-application) ✅ | [​](https://wsyfin.com/notion-dify#1-generate-api-secret-key) ✅ | [​](https://wsyfin.com/notion-dify#2-retrieve-conversation-id) ✅ | [​](https://wsyfin.com/notion-dify#3-invoke-api) ✅ | [​](https://wsyfin.com/notion-dify#sync-with-notion-periodically) ✅ | [​](https://wsyfin.com/notion-dify#summary) ✅ | [Dify](https://dify.ai/) ✅ + * [Create a MidJourney Prompt Bot with Dify](./learn-more/use-cases/create-a-midjourney-prompt-bot-with-dify) ✅ | [@op7418](https://twitter.com/op7418) ❌ | [@goocarlos](https://twitter.com/goocarlos) ❌ + * [Create an AI Chatbot with Business Data in Minutes](./learn-more/use-cases/create-an-ai-chatbot-with-business-data-in-minutes) ✅ | [ GitHub](https://github.com/langgenius/dify) ✅ | [Didy.AI ](https://dify.ai/) ✅ + * [Integrating Dify Chatbot into Your Wix Website](./learn-more/use-cases/how-to-integrate-dify-chatbot-to-your-wix-website) ✅ | [Dify AI application](https://docs.dify.ai/guides/application-orchestrate/creating-an-application) ✅ + * [How to connect with AWS Bedrock Knowledge Base?](./learn-more/use-cases/how-to-connect-aws-bedrock) ✅ | [external knowledge base API](https://docs.dify.ai/guides/knowledge-base/external-knowledge-api-documentation) ✅ | [AWS Bedrock](https://aws.amazon.com/bedrock/) ✅ | [API definition](../../guides/knowledge-base/external-knowledge-api-documentation) ✅ | [Step 2](./how-to-connect-aws-bedrock) ✅ | [Step 2](./how-to-connect-aws-bedrock) ✅ + * [Building the Dify Scheduler](./learn-more/use-cases/dify-schedule) ✅ | [Leo\_chen](https://github.com/leochen-g) ✅ | [Dify Schedule](https://github.com/leochen-g/dify-schedule) ✅ | [Smart WeChat Assistant](https://github.com/leochen-g/wechat-assistant-pro) ✅ | [Dify Schedule Repository](https://github.com/leochen-g/dify-schedule) ✅ | [Pushplus](http://www.pushplus.plus/) ✅ | [Server Chan](https://sct.ftqq.com/) ✅ | [Smart WeChat Assistant](https://wechat.aibotk.com/?r=dBL0Bn\&f=difySchedule) ✅ | [Project Link](https://github.com/whyour/qinglong) ✅ | [project page](https://github.com/whyour/qinglong) ✅ + * [Building an AI Thesis Slack Bot on Dify](./learn-more/use-cases/building-an-ai-thesis-slack-bot) ✅ | [official Slack website](https://slack.com/intl/en-gb/get-started?entry_point=help_center#/createnew) ✅ | [Slack API Management Page](https://api.slack.com/apps) ✅ +* [Extended Reading](./learn-more/extended-reading/README) ✅ + * [What is LLMOps?](./learn-more/extended-reading/what-is-llmops) ✅ + * [Retrieval-Augmented Generation (RAG)](./learn-more/extended-reading/retrieval-augment/README) ✅ + * [Hybrid Search](./learn-more/extended-reading/retrieval-augment/hybrid-search) ✅ + * [Re-ranking](./learn-more/extended-reading/retrieval-augment/rerank) ✅ | [https://cohere.com/rerank](https://cohere.com/rerank) ✅ | [Multi-path Retrieval](https://docs.dify.ai/guides/knowledge-base/integrate-knowledge-within-application#multi-path-retrieval-recommended) ✅ + * [Retrieval Modes](./learn-more/extended-reading/retrieval-augment/retrieval) ✅ + * [How to Use JSON Schema Output in Dify?](./learn-more/extended-reading/how-to-use-json-schema-in-dify) ✅ | [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs/introduction) ✅ | [Supported Schemas](https://platform.openai.com/docs/guides/structured-outputs/supported-schemas) ✅ | [additionalProperties: false](https://platform.openai.com/docs/guides/structured-outputs/additionalproperties-false-must-always-be-set-in-objects) ✅ | [Introduction to Structured Outputs](https://cookbook.openai.com/examples/structured\_outputs\_intro) ❌ | [Structured Output](https://platform.openai.com/docs/guides/structured-outputs/json-mode?context=without\_parse) ✅ +* [FAQ](./learn-more/faq/README) ✅ | [Self hosted / local deployment frequently asked questions (FAQs)](https://docs.dify.ai/learn-more/faq/install-faq) ✅ | [LLM configuration and usage frequently asked questions (FAQs)](https://docs.dify.ai/learn-more/faq/use-llms-faq) ✅ + * [Self-Host](./learn-more/faq/install-faq) ✅ | [Environment Variables](../../getting-started/install-self-hosted/environments) ✅ | [**Notion Integration Configuration Address**](https://www.notion.so/my-integrations) ✅ | [Environment Variables Documentation](https://docs.dify.ai/v/zh-hans/getting-started/install-self-hosted/environments) ✅ | [Environment Variables Documentation](https://docs.dify.ai/v/zh-hans/getting-started/install-self-hosted/environments) ✅ | [Issue](https://github.com/langgenius/dify/issues/1261) ✅ | [FFmpeg Official Website](https://ffmpeg.org/download.html) ✅ | [this article](https://portswigger.net/web-security/ssrf) ✅ | [squid configuration documentation](http://www.squid-cache.org/Doc/config/) ✅ | [business@dify.ai](mailto:business@dify.ai) ✅ + * [LLM Configuration and Usage](./learn-more/faq/use-llms-faq) ✅ | [documentation](https://platform.openai.com/docs/models/overview) ✅ | [cosine similarity](https://en.wikipedia.org/wiki/Cosine_similarity) ✅ | [OpenAI official documentation](https://platform.openai.com/docs/guides/rate-limits) ❌ | [documentation](https://docs.dify.ai/v/zh-hans/getting-started/faq/install-faq#11.-ben-di-bu-shu-ban-ru-he-jie-jue-shu-ju-ji-wen-dang-shang-chuan-de-da-xiao-xian-zhi-he-shu-liang) ✅ | [this documentation](https://docs.dify.ai/v/zh-hans/advanced/datasets) ✅ | [OpenAI pricing documentation](https://openai.com/pricing) ✅ | [OpenAI official documentation](https://platform.openai.com/account/billing/overview) ✅ + * [Plugins](./learn-more/faq/plugins) ✅ + +## Policies + +* [Open Source License](./policies/open-source) ✅ | [LICENSE](https://github.com/langgenius/dify/blob/main/LICENSE) ✅ | [business@dify.ai](mailto:business@dify.ai) ✅ +* [User Agreement](./policies/agreement/README) ✅ | [Terms of Service](https://dify.ai/terms) ✅ | [Privacy Policy](https://dify.ai/privacy) ✅ | [get-compliance-report.md](./get-compliance-report) ✅ + * [Terms of Service](https://dify.ai/terms) ✅ + * [Privacy Policy](https://dify.ai/privacy) ✅ + * [Get Compliance Report](./policies/agreement/get-compliance-report) ✅ | [Pricing](https://dify.ai/pricing) ✅ + +## Features + +* [Workflow](./features/workflow) ✅ | [Workflow](https://docs.dify.ai/guides/workflow) ✅ diff --git a/ja-jp/link-check-report-error.md b/ja-jp/link-check-report-error.md new file mode 100644 index 00000000..6f12c910 --- /dev/null +++ b/ja-jp/link-check-report-error.md @@ -0,0 +1,157 @@ +# GitBook链接检查报告(仅错误链接) + +本报告仅显示文档中的无效链接。每行的格式为: +* [文档标题](文档链接) | [无效链接](链接路径) ❌ + +## 来自 community/contribution.md + +* [貢献者ガイド](./community/contribution) ✅ | [このガイド](https://github.com/langgenius/dify/blob/main/api/core/tools/README.md) ❌ + +## 来自 development/models-integration/hugging-face.md + +* [Hugging Faceのオープンソースモデルを統合](./development/models-integration/hugging-face) ✅ | [登録はこちら](https://huggingface.co/join) ❌ + +## 来自 development/models-integration/localai.md + +* [LocalAIでデプロイしたローカルモデルを統合](./development/models-integration/localai) ✅ | [LocalAI Data query example](https://github.com/go-skynet/LocalAI/blob/master/examples/langchain-chroma/README.md) ❌ + +## 来自 getting-started/install-self-hosted/environments.md + +* [環境変数の説明](./getting-started/install-self-hosted/environments) ✅ | [ツール](https://github.com/langgenius/dify/blob/main/api/core/tools/provider/_position.yaml) ❌ + +## 来自 getting-started/readme/model-providers.md + +* [モデルプロバイダーリスト](./getting-started/readme/model-providers) ✅ | [contribution.md](../../community/contribution.md "mention") ❌ + +## 来自 guides/application-orchestrate/app-toolkits/README.md + +* [ツールキット](./guides/application-orchestrate/app-toolkits/README) ✅ | [注釈付き返信](../../biao-zhu/annotation-reply) ❌ + +## 来自 guides/application-orchestrate/app-toolkits/moderation-tool.md + +* [コンテンツモデレーション](./guides/application-orchestrate/app-toolkits/moderation-tool) ✅ | [moderation.md](../../extension/api-based-extension/moderation.md "mention") ❌ + +## 来自 guides/extension/api-based-extension/README.md + +* [API 拡張](./guides/extension/api-based-extension/README) ✅ | [external-data-tool.md](../../knowledge-base/external-data-tool.md "mention") ❌ | [cloudflare-workers.md](cloudflare-workers.md "mention") ❌ + +## 来自 guides/extension/code-based-extension/README.md + +* [コード拡張](./guides/extension/code-based-extension/README) ✅ | [external-data-tool.md](external-data-tool.md "mention") ❌ | [moderation.md](moderation.md "mention") ❌ + +## 来自 guides/extension/code-based-extension/external-data-tool.md + +* [外部データツール](./guides/extension/code-based-extension/external-data-tool) ✅ | [api-based-extension](../api-based-extension/ "mention") ❌ | [.](./ "mention") ❌ + +## 来自 guides/extension/code-based-extension/moderation.md + +* [コンテンツモデレーション](./guides/extension/code-based-extension/moderation) ✅ | [こちら](./ "mention") ❌ + +## 来自 guides/knowledge-base/connect-external-knowledge-base.md + +* [外部ナレッジベースとの接続](./guides/knowledge-base/connect-external-knowledge-base) ✅ | [how-to-connect-aws-bedrock.md](../../learn-more/use-cases/how-to-connect-aws-bedrock.md "mention") ❌ + +## 来自 guides/knowledge-base/create-knowledge-and-upload-documents/README.md + +* [ナレッジベース作成](./guides/knowledge-base/create-knowledge-and-upload-documents/README) ✅ | [ナレッジベースの管理と文書のメンテナンス](../knowledge-and-documents-maintenance) ❌ + +## 来自 guides/knowledge-base/knowledge-and-documents-maintenance/README.md + +* [ナレッジベースの管理](./guides/knowledge-base/knowledge-and-documents-maintenance/README) ✅ | [ドキュメント](./create-knowledge-and-upload-documents/setting-indexing-methods) ❌ | [ドキュメント](./create-knowledge-and-upload-documents/selecting-retrieval-settings) ❌ | [テキストチャンク](./create-knowledge-and-upload-documents/chunking-and-cleaning-text) ❌ | [汎用モード](./create-knowledge-and-upload-documents/chunking-and-cleaning-text) ❌ | [親子モード](./create-knowledge-and-upload-documents/chunking-and-cleaning-text) ❌ + +## 来自 guides/model-configuration/README.md + +* [モデル](./guides/model-configuration/README) ✅ | [Hugging Face](./hugging-face) ❌ | [Replicate](./replicate) ❌ | [Xinference](./xinference) ❌ | [OpenLLM](./openllm) ❌ | [Azure OpenAIサービス](https://azure.microsoft.com/en-us/products/ai-services/openai-service/) ❌ + +## 来自 guides/model-configuration/customizable-model.md + +* [カスタムモデルの追加](./guides/model-configuration/customizable-model) ✅ | [llm.py](https://github.com/langgenius/dify-runtime/blob/main/lib/model_providers/anthropic/llm/llm.py) ❌ + +## 来自 guides/model-configuration/interfaces.md + +* [インタフェース](./guides/model-configuration/interfaces) ✅ | [openai](https://github.com/langgenius/dify-runtime/blob/main/lib/model_providers/anthropic/llm/llm.py) ❌ + +## 来自 guides/model-configuration/new-provider.md + +* [新しいプロバイダーの追加](./guides/model-configuration/new-provider) ✅ | [AnthropicProvider](https://github.com/langgenius/dify/blob/main/api/core/model_runtime/model_providers/anthropic/anthropic.py) ❌ + +## 来自 guides/model-configuration/predefined-model.md + +* [事前定義されたモデルの追加](./guides/model-configuration/predefined-model) ✅ | [llm.py](https://github.com/langgenius/dify-runtime/blob/main/lib/model_providers/anthropic/llm/llm.py) ❌ + +## 来自 guides/tools/tool-configuration/perplexity.md + +* [Perplexity Search](./guides/tools/tool-configuration/perplexity) ✅ | [こちら](https://www.perplexity.ai/settings/api) ❌ + +## 来自 guides/workflow/file-upload.md + +* [ファイルアップロード](./guides/workflow/file-upload) ✅ | [チャットフロー](./key-concepts) ❌ | [ワークフロー](./key-concepts) ❌ + +## 来自 guides/workflow/node/doc-extractor.md + +* [テキスト抽出ツール](./guides/workflow/node/doc-extractor) ✅ | [list-operator.md](list-operator.md "mention") ❌ + +## 来自 guides/workflow/node/iteration.md + +* [反復処理(イテレーション)](./guides/workflow/node/iteration) ✅ | [ツール](../tools) ❌ + +## 来自 guides/workflow/node/knowledge-retrieval.md + +* [知識検索](./guides/workflow/node/knowledge-retrieval) ✅ | [作成](../../knowledge-base/create-knowledge-and-upload-documents) ❌ | [ナレッジベース設定](../../knowledge-base/knowledge-and-documents-maintenance) ❌ + +## 来自 guides/workflow/node/parameter-extractor.md + +* [パラメータ抽出](./guides/workflow/node/parameter-extractor) ✅ | [ツール](../../tools) ❌ + +## 来自 learn-more/extended-reading/how-to-use-json-schema-in-dify.md + +* [DifyでJSONスキーマ出力を使用する方法](./learn-more/extended-reading/how-to-use-json-schema-in-dify) ✅ | [Introduction to Structured Outputs](https://cookbook.openai.com/examples/structured\_outputs\_intro) ❌ + +## 来自 plugins/best-practice/develop-a-slack-bot-plugin.md + +* [Slack Bot プラグインの開発](./plugins/best-practice/develop-a-slack-bot-plugin) ✅ | [開発ツールの初期化](../initialize-development-tools) ❌ | [クイックスタート:Extensionプラグインの開発](../extension-plugin) ❌ | [逆呼び出し:App](../../../schema-definition/reverse-invocation-of-the-dify-service/app) ❌ | [拡張タイププラグインの開発](../extension-plugin) ❌ | [モデルタイププラグインの開発](../model-plugin/) ❌ | [バンドルタイププラグイン:複数のプラグインをパッケージ化](../bundle) ❌ | [マニフェスト](../../schema-definition/manifest) ❌ | [エンドポイント](../../schema-definition/endpoint) ❌ | [Difyサービスの逆呼び出し](../../schema-definition/reverse-invocation-of-the-dify-service/) ❌ | [ツール](../../../guides/tools/) ❌ | [モデル](../../schema-definition/model/model-schema) ❌ + +## 来自 plugins/introduction.md + +* [機能紹介](./plugins/introduction) ✅ | [ローカルファイルパッケージ](publish-plugins/package-and-publish-plugin-file/) ❌ + +## 来自 plugins/publish-plugins/package-plugin-file-and-publish.md + +* [ローカルでの公開と共有](./plugins/publish-plugins/package-plugin-file-and-publish) ✅ | [リモート接続テスト](../quick-start/develop-plugins/extension) ❌ + +## 来自 plugins/publish-plugins/publish-to-dify-marketplace/README.md + +* [Difyマーケットプレイスへの公開](./plugins/publish-plugins/publish-to-dify-marketplace/README) ✅ | [提供された設定手順](../quick-start/develop-plugins) ❌ + +## 来自 plugins/quick-start/develop-plugins/README.md + +* [プラグイン開発の入門](./plugins/quick-start/develop-plugins/README) ✅ | [アプリ](../../schema-definition/reverse-invocation-of-the-dify-service/app.md "mention") ❌ | [モデル](../../schema-definition/reverse-invocation-of-the-dify-service/model.md "mention") ❌ | [ノード](../../schema-definition/reverse-invocation-of-the-dify-service/node.md "mention") ❌ | [ツール](../../schema-definition/reverse-invocation-of-the-dify-service/tool.md "mention") ❌ | [マーケットプレイスの公開ガイド](../../publish-plugins/publish-to-dify-marketplace) ❌ + +## 来自 plugins/quick-start/develop-plugins/agent-strategy-plugin.md + +* [エージェント戦略プラグイン](./plugins/quick-start/develop-plugins/agent-strategy-plugin) ✅ | [プラグイン公開規約](../../publish-plugins/publish-to-dify-marketplace) ❌ | [「プラグイン管理」](https://cloud.dify.aij/plugins) ❌ + +## 来自 plugins/quick-start/develop-plugins/extension-plugin.md + +* [拡張機能型プラグイン](./plugins/quick-start/develop-plugins/extension-plugin) ✅ | [プラグイン公開仕様](../publish-plugins/publish-to-dify-marketplace) ❌ | [モデルタイププラグイン](model/) ❌ + +## 来自 plugins/quick-start/develop-plugins/model-plugin/README.md + +* [モデル型プラグイン](./plugins/quick-start/develop-plugins/model-plugin/README) ✅ | [事前定義済み](../../../guides/model-configuration/predefined-model) ❌ | [カスタム](../../../guides/model-configuration/customizable-model) ❌ + +## 来自 plugins/quick-start/develop-plugins/model-plugin/customizable-model.md + +* [カスタムモデルの組み込み](./plugins/quick-start/develop-plugins/model-plugin/customizable-model) ✅ | [publish-to-dify-marketplace.md](../../../publish-plugins/publish-to-dify-marketplace) ❌ + +## 来自 plugins/schema-definition/endpoint.md + +* [Endpoint(エンドポイント)](./plugins/schema-definition/endpoint) ✅ | [クイックスタート:レインボーキャットプロジェクト](../develop-plugins/extension-plugin) ❌ + +## 来自 plugins/schema-definition/tool.md + +* [Tool(ツール)](./plugins/schema-definition/tool) ✅ | [クイックスタート:ツール](../develop-plugins/tool-plugin) ❌ + +## 来自 workshop/intermediate/twitter-chatflow.md + +* [チャットストリームエージェントを使用した Twitter アカウントの分析方法](./workshop/intermediate/twitter-chatflow) ✅ | [February 2, 2023](https://twitter.com/XDevelopers/status/1621026986784337922?ref\_src=twsrc%5Etfw) ❌ | [X@dify\_ai](https://x.com/dify\_ai) ❌ + diff --git a/ja-jp/link-check-report.md b/ja-jp/link-check-report.md new file mode 100644 index 00000000..d30d4707 --- /dev/null +++ b/ja-jp/link-check-report.md @@ -0,0 +1,251 @@ +# GitBook链接检查报告(完整版) + +本报告显示了GitBook文档中的所有链接及其引用的文档。每行的格式为: +* [文档标题](文档链接) | [引用的文档1](链接1) | [引用的文档2](链接2) | ... + + +## 入門 + +* [Difyへようこそ](./README) ✅ | [LLMOps](./learn-more/extended-reading/what-is-llmops) ✅ | [クイックスタート](./guides/application-orchestrate/creating-an-application) ✅ | [Difyを自分の管理するサーバーに導入](getting-started/install-self-hosted/) ✅ | [様々なAI言語モデルを使う](guides/model-configuration/) ✅ | [機能詳細](./getting-started/readme/features-and-specifications) ✅ | [GitHub](https://github.com/langgenius/dify) ✅ + * [特性と技術仕様](./getting-started/readme/features-and-specifications) ✅ + * [モデルプロバイダーリスト](./getting-started/readme/model-providers) ✅ | [リクエスト](https://github.com/langgenius/dify/discussions/categories/ideas) ✅ | [contribution.md](../../community/contribution.md "mention") ❌ +* [クラウドサービス](./getting-started/cloud) ✅ | [クラウドサービス](http://cloud.dify.ai) ✅ | [Difyクラウドサービス](https://cloud.dify.ai) ✅ | [アプリケーションを作成](../guides/application-orchestrate/creating-an-application) ✅ | [ここ](https://dify.ai/pricing) ✅ +* [コミュニティ版](./getting-started/install-self-hosted/README) ✅ | [Docker Compose デプロイ](https://docs.dify.ai/v/ja-jp/getting-started/install-self-hosted/docker-compose) ✅ | [ローカルソースコードで起動](https://docs.dify.ai/v/ja-jp/getting-started/install-self-hosted/local-source-code) ✅ | [Dify コミュニティ版](https://github.com/langgenius/dify) ✅ | [寄稿ガイド](https://github.com/langgenius/dify/blob/main/CONTRIBUTING_JA.md) ✅ + * [Docker Compose デプロイ](./getting-started/install-self-hosted/docker-compose) ✅ | [MacにDocker Desktopをインストール](https://docs.docker.com/desktop/mac/install/) ✅ | [Dockerのインストール](https://docs.docker.com/engine/install/) ✅ | [Docker Composeのインストール](https://docs.docker.com/compose/install/) ✅ | [WSL 2バックエンドを使用してWindowsにDocker Desktopをインストール](https://docs.docker.com/desktop/windows/install/#wsl-2-backend) ✅ | [Docker ドキュメント](https://docs.docker.com/compose/#compose-v2-and-the-new-docker-compose-command) ✅ | [よくある質問](./faq) ✅ + * [ローカルソースコードで起動](./getting-started/install-self-hosted/local-source-code) ✅ | [MacにDocker Desktopをインストールする](https://docs.docker.com/desktop/mac/install/) ✅ | [Dockerをインストールする](https://docs.docker.com/engine/install/) ✅ | [Docker Composeをインストールする](https://docs.docker.com/compose/install/) ✅ | [WSL 2バックエンドを使用してWindowsにDocker Desktopをインストールする](https://docs.docker.com/desktop/windows/install/#wsl-2-backend) ✅ | [リンク](https://docs.dify.ai/v/ja-jp/learn-more/faq/install-faq#id-15-tekisutomigeniopenai-error-ffmpeg-is-not-installedtoiuergashitano) ✅ | [pyenv](https://github.com/pyenv/pyenv) ✅ | [Poetry](https://python-poetry.org/docs/) ✅ | [Node.js v18.x (LTS)](http://nodejs.org) ✅ | [NPMバージョン8.x.x](https://www.npmjs.com/) ✅ | [Yarn](https://yarnpkg.com/) ✅ + * [aaPanelでのデプロイ方法](./getting-started/install-self-hosted/bt-panel) ✅ | [aaPanelインストールガイド](https://www.aapanel.com/new/download.html#install) ✅ + * [フロントエンドDockerコンテナを単独起動](./getting-started/install-self-hosted/start-the-frontend-docker-container) ✅ | [http://127.0.0.1:3000](http://127.0.0.1:3000) ✅ + * [環境変数の説明](./getting-started/install-self-hosted/environments) ✅ | [クロスオリジン/認証関連ガイド](https://docs.dify.ai/v/ja-jp/learn-more/faq/install-faq#id-3-insutruniroguindekinaimataharoguinshitani401ergasareruha) ✅ | [Zilliz Cloud](https://zilliz.com/jp/cloud) ✅ | [ドキュメンテーション](https://help.aliyun.com/zh/analyticdb/analyticdb-for-postgresql/support/create-an-accesskey-pair) ✅ | [ドキュメンテーション](https://help.aliyun.com/zh/analyticdb/analyticdb-for-postgresql/getting-started/create-an-instance-1) ✅ | [ドキュメンテーション](https://help.aliyun.com/zh/analyticdb/analyticdb-for-postgresql/getting-started/createa-a-privileged-account) ✅ | [https://www.notion.so/my-integrations](https://www.notion.so/my-integrations) ✅ | [no-reply@dify.ai](mailto:no-reply@dify.ai) ✅ | [no-reply@dify.ai](mailto:no-reply@dify.ai) ✅ | [ツール](https://github.com/langgenius/dify/blob/main/api/core/tools/provider/_position.yaml) ❌ | [モデルプロバイダ](https://github.com/langgenius/dify/blob/main/api/core/model_runtime/model_providers/_position.yaml) ✅ + * [よくある質問](./getting-started/install-self-hosted/faq) ✅ | [環境変数の説明:メール関連の設定](https://docs.dify.ai/v/ja-jp/getting-started/install-self-hosted/environments#mru) ✅ | [ここに](../../learn-more/faq/install-faq) ✅ +* [Dify Premium](./getting-started/dify-premium) ✅ | [AWS AMI](https://docs.aws.amazon.com/ja_jp/AWSEC2/latest/UserGuide/ec2-instances-and-amis.html) ✅ | [AWS Marketplace](https://aws.amazon.com/marketplace/pp/prodview-t22mebxzwjhu6) ✅ | [Dify Cloud](https://docs.dify.ai/v/ja-jp/getting-started/cloud) ✅ | [プラン](https://dify.ai/pricing) ✅ + +## マニュアル + +* [モデル](./guides/model-configuration/README) ✅ | [OpenAI](https://platform.openai.com/account/api-keys) ✅ | [Azure OpenAIサービス](https://azure.microsoft.com/en-us/products/ai-services/openai-service/) ❌ | [Anthropic](https://console.anthropic.com/account/keys) ✅ | [讯飞星火](https://www.xfyun.cn/solutions/xinghuoAPI) ✅ | [文心一言](https://console.bce.baidu.com/qianfan/ais/console/applicationConsole/application) ✅ | [通义千问](https://dashscope.console.aliyun.com/api-key\_management?spm=a2c4g.11186623.0.0.3bbc424dxZms9k) ✅ | [Minimax](https://api.minimax.chat/user-center/basic-information/interface-key) ✅ | [Jina Embeddings](https://jina.ai/embeddings/) ✅ | [**Rerankモデル**](https://docs.dify.ai/v/ja-jp/learn-more/extended-reading/retrieval-augment/rerank) ✅ | [Jina Reranker](https://jina.ai/reranker) ✅ | [PKCS1\_OAEP](https://pycryptodome.readthedocs.io/en/latest/src/cipher/oaep.html) ✅ | [Hugging Face](./hugging-face) ❌ | [Replicate](./replicate) ❌ | [Xinference](./xinference) ❌ | [OpenLLM](./openllm) ❌ + * [新しいプロバイダーの追加](./guides/model-configuration/new-provider) ✅ | [プロバイダースキーマ](https://github.com/langgenius/dify/blob/main/api/core/model_runtime/docs/en_US/schema.md) ✅ | [AIモデルエンティティ](https://github.com/langgenius/dify/blob/main/api/core/model_runtime/docs/en_US/schema.md#aimodelentity) ✅ | [`モデルクレデンシャルスキーマ`](https://github.com/langgenius/dify/blob/main/api/core/model_runtime/docs/en_US/schema.md) ✅ | [YAML設定情報](https://github.com/langgenius/dify/blob/main/api/core/model_runtime/docs/en_US/schema.md) ✅ | [AnthropicProvider](https://github.com/langgenius/dify/blob/main/api/core/model_runtime/model_providers/anthropic/anthropic.py) ❌ | [**事前定義モデルの追加**](https://docs.dify.ai/v/ja-jp/guides/model-configuration/predefined-model) ✅ | [**カスタマイズ可能モデルの追加**](https://docs.dify.ai/v/ja-jp/guides/model-configuration/customizable-model) ✅ + * [事前定義されたモデルの追加](./guides/model-configuration/predefined-model) ✅ | [Interfaces](https://github.com/langgenius/dify/blob/main/api/core/model_runtime/docs/en_US/interfaces.md) ✅ | [llm.py](https://github.com/langgenius/dify-runtime/blob/main/lib/model_providers/anthropic/llm/llm.py) ❌ + * [カスタムモデルの追加](./guides/model-configuration/customizable-model) ✅ | [インターフェース](https://github.com/langgenius/dify/blob/main/api/core/model_runtime/docs/en_US/interfaces.md) ✅ | [llm.py](https://github.com/langgenius/dify-runtime/blob/main/lib/model_providers/anthropic/llm/llm.py) ❌ + * [インタフェース](./guides/model-configuration/interfaces) ✅ | [[PromptMessage](#PromptMessage) ✅ | [UserPromptMessage](#UserPromptMessage) ✅ | [SystemPromptMessage](#SystemPromptMessage) ✅ | [UserPromptMessage](#UserPromptMessage) ✅ | [AssistantPromptMessage](#AssistantPromptMessage) ✅ | [ToolPromptMessage](#ToolPromptMessage) ✅ | [[PromptMessageTool](#PromptMessageTool) ✅ | [[LLMResultChunk](#LLMResultChunk) ✅ | [LLMResult](#LLMResult) ✅ | [[LLMResultChunk](#LLMResultChunk) ✅ | [LLMResult](#LLMResult) ✅ | [openai](https://github.com/langgenius/dify-runtime/blob/main/lib/model_providers/anthropic/llm/llm.py) ❌ | [TextEmbeddingResult](#TextEmbeddingResult) ✅ | [RerankResult](#RerankResult) ✅ | [[PromptMessage](#PromptMessage) ✅ | [UserPromptMessage](#UserPromptMessage) ✅ | [SystemPromptMessage](#SystemPromptMessage) ✅ | [UserPromptMessage](#UserPromptMessage) ✅ | [AssistantPromptMessage](#AssistantPromptMessage) ✅ | [ToolPromptMessage](#ToolPromptMessage) ✅ | [[PromptMessageTool](#PromptMessageTool) ✅ | [[LLMResultChunk](#LLMResultChunk) ✅ | [LLMResult](#LLMResult) ✅ | [[LLMResultChunk](#LLMResultChunk) ✅ | [LLMResult](#LLMResult) ✅ | [TextEmbeddingResult](#TextEmbeddingResult) ✅ | [RerankResult](#RerankResult) ✅ + * [配置ルール](./guides/model-configuration/schema) ✅ | [Provider](#Provider) ✅ | [AIModelEntity](#AIModelEntity) ✅ | [[ModelType](#ModelType) ✅ | [[ConfigurateMethod](#ConfigurateMethod) ✅ | [ProviderCredentialSchema](#ProviderCredentialSchema) ✅ | [ModelCredentialSchema](#ModelCredentialSchema) ✅ | [ModelType](#ModelType) ✅ | [[ModelFeature](#ModelFeature) ✅ | [LLMMode](#LLMMode) ✅ | [[ParameterRule](#ParameterRule) ✅ | [PriceConfig](#PriceConfig) ✅ | [[CredentialFormSchema](#CredentialFormSchema) ✅ | [[CredentialFormSchema](#CredentialFormSchema) ✅ | [FormType](#FormType) ✅ | [[FormOption](#FormOption) ✅ | [[FormShowOnObject](#FormShowOnObject) ✅ | [[FormShowOnObject](#FormShowOnObject) ✅ + * [負荷分散](./guides/model-configuration/load-balancing) ✅ | [SaaS有料サービスのサブスクリプション](../../getting-started/cloud) ✅ +* [アプリ・オーケストレーション](./guides/application-orchestrate/README) ✅ + * [アプリの作成](./guides/application-orchestrate/creating-an-application) ✅ | [アプリケーション管理:インポート](https://docs.dify.ai/guides/management/app-management#importing-application) ✅ + * [チャットボット](./guides/application-orchestrate/chatbot-application) ✅ | [ナレッジベース](../knowledge-base/) ✅ | [Claude 3.5 Sonnet](https://docs.anthropic.com/en/docs/build-with-claude/pdf-support) ✅ | [Gemini 1.5 Pro](https://ai.google.dev/api/files) ✅ | [**「複数のモデルでのデバッグ」**](./multiple-llms-debugging) ✅ | [公開](../application-publishing/README) ✅ | [WebAppテンプレート](https://github.com/langgenius/webapp-conversation) ✅ | [エージェント](../application-orchestrate/agent) ✅ | [アプリ内でのナレッジベース統合](https://docs.dify.ai/ja-jp/guides/knowledge-base/integrate-knowledge-within-application) ✅ + * [複数モデルのデバッグ](./guides/application-orchestrate/multiple-llms-debugging) ✅ | [「モデルプロバイダー」](https://docs.dify.ai/guides/model-configuration) ✅ + * [エージェント](./guides/application-orchestrate/agent) ✅ + * [ツールキット](./guides/application-orchestrate/app-toolkits/README) ✅ | [アプリケーション](../#application\_type) ✅ | [引用と帰属](../../knowledge-base/retrieval-test-and-citation) ✅ | [センシティブコンテンツレビュー](./moderation-tool) ✅ | [注釈付き返信](../../biao-zhu/annotation-reply) ❌ + * [コンテンツモデレーション](./guides/application-orchestrate/app-toolkits/moderation-tool) ✅ | [platform.openai.com](https://platform.openai.com/docs/guides/moderation/overview) ✅ | [moderation.md](../../extension/api-based-extension/moderation.md "mention") ❌ +* [ワークフロー](./guides/workflow/README) ✅ + * [キーコンセプト](./guides/workflow/key-concept) ✅ | [ノード説明](node/) ✅ | [変数](./variables) ✅ + * [変数](./guides/workflow/variables) ✅ | [変数代入](./node/variable-assigner) ✅ | [変数代入](./node/variable-assigner) ✅ + * [ノードの説明](./guides/workflow/node/README) ✅ + * [開始](./guides/workflow/node/start) ✅ | [アップロードされたファイル](../file-upload) ✅ | [**システム変数**](../variables) ✅ | [ファイルアップロード](../file-upload) ✅ | [ファイルアップロード](../file-upload) ✅ | [外部データツール](../../extension/api-based-extension/external-data-tool) ✅ + * [終了](./guides/workflow/node/end) ✅ | [長編ストーリー生成ワークフロー](./iteration) ✅ + * [回答](./guides/workflow/node/answer) ✅ + * [LLM](./guides/workflow/node/llm) ✅ | [サポート](../../../getting-started/readme/model-providers) ✅ | [モデルの設定](../../model-configuration/) ✅ | [知識検索](./knowledge-retrieval) ✅ | [知識検索のセクション](./knowledge-retrieval) ✅ | [Claude 3.5 Sonnet](https://docs.anthropic.com/en/docs/build-with-claude/pdf-support) ✅ | [ファイルアップロードガイド](https://docs.dify.ai/ja-jp/guides/workflow/file-upload) ✅ | [プロンプト専門モード(廃止)](https://docs.dify.ai/v/ja-jp/learn-more/extended-reading/prompt-engineering/prompt-engineering) ✅ | [公式ドキュメント](https://jinja.palletsprojects.com/en/3.1.x/templates/) ✅ | [エラー処理](../error-handling/README) ✅ | [「ナレッジベース」](../../knowledge-base/) ✅ | [知識検索ノード](./knowledge-retrieval) ✅ | [**引用と帰属**](../../knowledge-base/retrieval-test-and-citation) ✅ | [ファイルアップロード](../file-upload) ✅ | [エラー処理](https://docs.dify.ai/guides/workflow/error-handling) ✅ + * [知識検索](./guides/workflow/node/knowledge-retrieval) ✅ | [基本概念](../../../learn-more/extended-reading/retrieval-augment/) ✅ | [作成](../../knowledge-base/create-knowledge-and-upload-documents) ❌ | [アプリ内でのナレッジベース統合](https://docs.dify.ai/ja-jp/guides/knowledge-base/integrate-knowledge-within-application) ✅ | [リコールモード](../../../learn-more/extended-reading/retrieval-augment/retrieval) ✅ | [ナレッジベース設定](../../knowledge-base/knowledge-and-documents-maintenance) ❌ | [**引用と帰属**](../../knowledge-base/retrieval-test-and-citation) ✅ + * [質問分類](./guides/workflow/node/question-classifier) ✅ | [ファイルのアップロード](../file-upload) ✅ + * [条件分岐](./guides/workflow/node/ifelse) ✅ + * [コード実行](./guides/workflow/node/code) ✅ | [紹介](./code) ✅ | [使用シナリオ](./code) ✅ | [ローカルデプロイ](./code) ✅ | [セキュリティポリシー](./code) ✅ | [変数参照](../key-concept) ✅ | [こちら](https://github.com/langgenius/dify/tree/main/docker/docker-compose.middleware.yaml) ✅ | [エラー処理のガイド](../error-handling/README) ✅ + * [テンプレート](./guides/workflow/node/template) ✅ | [https://jinja.palletsprojects.com/en/3.1.x/](https://jinja.palletsprojects.com/en/3.1.x/) ✅ | [公式ドキュメント](https://jinja.palletsprojects.com/en/3.1.x/templates/) ✅ + * [テキスト抽出ツール](./guides/workflow/node/doc-extractor) ✅ | [list-operator.md](list-operator.md "mention") ❌ | [“スタート”](./start) ✅ | [追加機能](../additional-features) ✅ + * [リスト処理](./guides/workflow/node/list-operator) ✅ | [MIMEタイプ](https://datatracker.ietf.org/doc/html/rfc2046) ✅ | [リスト操作](./list-operator) ✅ | [機能](../additional-features) ✅ + * [変数集約](./guides/workflow/node/variable-aggregator) ✅ + * [変数代入](./guides/workflow/node/variable-assigner) ✅ | [会話変数](../key-concept) ✅ + * [反復処理(イテレーション)](./guides/workflow/node/iteration) ✅ | [さらに読む「配列変数」](../../../learn-more/extended-reading/what-is-array-variable) ✅ | [さらに読む「配列をテキストに変換する方法」](../../../learn-more/extended-reading/what-is-array-variable) ✅ | [配列変数とは何ですか?](../../../learn-more/extended-reading/what-is-array-variable) ✅ | [コードノード](./code) ✅ | [パラメータ抽出ノード](./parameter-extractor) ✅ | [ナレッジベース検索](./knowledge-retrieval) ✅ | [イテレーション](./iteration) ✅ | [ツール](../tools) ❌ | [HTTP リクエスト](./http-request) ✅ + * [パラメータ抽出](./guides/workflow/node/parameter-extractor) ✅ | [ツール](../../tools) ❌ | [イテレーション](./iteration) ✅ | [構造化パラメータの変換](./iteration) ✅ | [イテレーションノード](./iteration) ✅ | [**HTTPリクエスト**](https://docs.dify.ai/v/ja-jp/guides/workflow/node/http\_request) ✅ + * [HTTPリクエスト](./guides/workflow/node/http-request) ✅ | [こちらのエラー処理ガイド](../error-handling/README) ✅ + * [エージェント](./guides/workflow/node/agent) ✅ | [リポジトリ](https://github.com/langgenius/dify-plugins) ✅ + * [ツール](./guides/workflow/node/tools) ✅ | [OpenAPI/Swagger標準フォーマット](https://swagger.io/specification/) ✅ | [ツール設定ガイド](../../tools/README) ✅ | [変数](../variables) ✅ | [ツール設定ガイド](../../tools/README) ✅ | [エラー処理ガイド](../error-handling/README) ✅ + * [繰り返し処理(ループ)](./guides/workflow/node/loop) ✅ + * [ショートカットキー](./guides/workflow/shortcut-key) ✅ + * [オーケストレートノード](./guides/workflow/orchestrate-node) ✅ + * [ファイルアップロード](./guides/workflow/file-upload) ✅ | [チャットフロー](./key-concepts) ❌ | [ワークフロー](./key-concepts) ❌ | [開始ノード](./node/start) ✅ | [追加機能](./additional-features) ✅ | [開始ノード](./node/start) ✅ | [Claude 3.5 Sonnet](https://docs.anthropic.com/en/docs/build-with-claude/pdf-support) ✅ | [外部ツールを統合する](../extension/api-based-extension/external-data-tool) ✅ | [「開始」](./node/start) ✅ | [**「テキスト抽出ツール」**](./node/doc-extractor) ✅ | [リスト操作](./node/list-operator) ✅ + * [エラー処理](./guides/workflow/error-handling/README) ✅ | [LLM](../node/llm) ✅ | [HTTP](../node/http-request) ✅ | [コード](../node/code) ✅ | [ツール](../node/tools) ✅ | [事前定義されたエラー処理ロジック](./predefined-nodes-failure-logic) ✅ | [ダウンロード](https://assets-docs.dify.ai/2024/12/087861aa20e06bb4f8a2bef7e7ae0522.yml) ✅ + * [事前定義されたエラー処理ロジック](./guides/workflow/error-handling/predefined-nodes-failure-logic) ✅ | [LLM](../node/llm) ✅ | [HTTP](../node/http-request) ✅ | [コード](../node/code) ✅ | [ツール](../node/tools) ✅ + * [エラータイプの概要](./guides/workflow/error-handling/error-type) ✅ | [コードノード](../node/code) ✅ | [LLMノード](../node/llm) ✅ | [HTTPノード](../node/http-request) ✅ + * [追加機能](./guides/workflow/additional-features) ✅ | [モデルプロバイダ](../../getting-started/readme/model-providers) ✅ | [「知識検索」](./node/knowledge-retrieval) ✅ | [適切なコンテンツの審査](../application-orchestrate/app-toolkits/moderation-tool) ✅ | [ドキュメント抽出機](./node/doc-extractor) ✅ | [ドキュメント抽出機](./node/doc-extractor) ✅ | [「ファイルアップロード:開始ノードに変数を追加」](./file-upload) ✅ | [リスト操作](./node/list-operator) ✅ | [外部データツール](../extension/api-based-extension/external-data-tool) ✅ + * [プレビューとデバッグ](./guides/workflow/debug-and-preview/README) ✅ + * [プレビューと実行](./guides/workflow/debug-and-preview/yu-lan-yu-yun-hang) ✅ + * [ステップ実行](./guides/workflow/debug-and-preview/step-run) ✅ + * [対話/実行ログ](./guides/workflow/debug-and-preview/log) ✅ + * [チェックリスト](./guides/workflow/debug-and-preview/checklist) ✅ + * [実行履歴](./guides/workflow/debug-and-preview/history) ✅ + * [アプリケーション公開](./guides/workflow/publish) ✅ | [バージョン管理](https://docs.dify.ai/ja-jp/guides/management/version-control) ✅ + * [変更通知:画像アップロード機能がファイルアップロード機能に統合されました](./guides/workflow/bulletin) ✅ | [変数](./variables) ✅ | [開始](./node/start) ✅ | [GitHub discussions](https://github.com/langgenius/dify) ✅ | [Discordチャンネル](https://discord.gg/X8r5WgWzJV) ✅ +* [ナレッジベース](./guides/knowledge-base/README) ✅ | [外部ナレッジベース機能](./connect-external-knowledge-base) ✅ + * [ナレッジベース作成](./guides/knowledge-base/create-knowledge-and-upload-documents/README) ✅ | [オンラインのデータ](./import-online-datasource/README) ✅ | [サブスクリプションプラン](https://dify.ai/pricing) ✅ | [サブスクリプションプラン](https://dify.ai/pricing) ✅ | [オンラインデータの取り込み](./import-online-datasource/README) ✅ | [コンテンツ分割の指定方法](./chunking-and-cleaning-text) ✅ | [親子分割モード](./chunking-and-cleaning-text) ✅ | [分割ルール](./chunking-and-cleaning-text) ✅ | [インデックス設定方法](./setting-indexing-methods) ✅ | [検索方法の選定](./selecting-retrieval-settings) ✅ | [リコールテスト/引用帰属](../retrieval-test-and-citation) ✅ | [ナレッジベースの統合](../integrate-knowledge-within-application) ✅ | [ナレッジベースの管理と文書のメンテナンス](../knowledge-and-documents-maintenance) ❌ | [**Unstructured ETL**](https://unstructured.io/) ✅ | [環境変数](../../../getting-started/install-self-hosted/environments) ✅ | [公式ドキュメント](https://docs.unstructured.io/open-source/core-functionality/partitioning) ✅ | [メタデータ](https://docs.dify.ai/ja-jp/guides/knowledge-base/metadata) ✅ + * [1. オンラインデータソースの活用](./guides/knowledge-base/create-knowledge-and-upload-documents/import-content-data/README) ✅ + * [1.1 Notion からデータをインポート](./guides/knowledge-base/create-knowledge-and-upload-documents/import-content-data/sync-from-notion) ✅ | [Notion公式ドキュメント](https://developers.notion.com/docs/authorization) ✅ | [統合を作成](https://www.notion.so/my-integrations) ✅ + * [1.2 Webサイトからデータをインポート](./guides/knowledge-base/create-knowledge-and-upload-documents/import-content-data/sync-from-website) ✅ | [Jina Reader](https://jina.ai/reader) ✅ | [Firecrawl](https://www.firecrawl.dev/) ✅ | [Jina Reader](https://jina.ai/reader) ✅ | [Firecrawl](https://www.firecrawl.dev/) ✅ | [Firecrawl 公式サイト](https://www.firecrawl.dev/) ✅ | [Jina Readerの公式サイト](https://jina.ai/reader) ✅ + * [2. チャンクモードの指定](./guides/knowledge-base/create-knowledge-and-upload-documents/chunking-and-cleaning-text) ✅ | [正規表現のルール](https://regexr.com/) ✅ | [インデックス方法の設定](./setting-indexing-methods) ✅ | [正規表現の文法](https://regexr.com/) ✅ | [正規表現の文法](https://regexr.com/) ✅ | [「高品質インデックス」](../create-knowledge-and-upload-documents/chunking-and-cleaning-text#gao-zhi-liang-suo-yin) ✅ | [インデックス方式](./setting-indexing-methods) ✅ | [検索オプションの設定](./selecting-retrieval-settings) ✅ + * [3. インデックス方式と検索オプションの設定](./guides/knowledge-base/create-knowledge-and-upload-documents/setting-indexing-methods) ✅ | [検索オプションの設定](./selecting-retrieval-settings) ✅ + * [ナレッジベースの管理](./guides/knowledge-base/knowledge-and-documents-maintenance/README) ✅ | [ドキュメント](./create-knowledge-and-upload-documents/setting-indexing-methods) ❌ | [ドキュメント](./create-knowledge-and-upload-documents/selecting-retrieval-settings) ❌ | [ナレッジベースAPIドキュメント](./maintain-dataset-via-api) ✅ | [テキストチャンク](./create-knowledge-and-upload-documents/chunking-and-cleaning-text) ❌ | [汎用モード](./create-knowledge-and-upload-documents/chunking-and-cleaning-text) ❌ | [親子モード](./create-knowledge-and-upload-documents/chunking-and-cleaning-text) ❌ + * [ナレッジベース内ドキュメントの管理](./guides/knowledge-base/knowledge-and-documents-maintenance/maintain-knowledge-documents) ✅ | [テキスト分割モード](../create-knowledge-and-upload-documents/chunking-and-cleaning-text) ✅ | [汎用モード](../create-knowledge-and-upload-documents/#tong-yong) ✅ | [親子モード](../create-knowledge-and-upload-documents/#fu-zi-fen-duan) ✅ | [こちら](https://dify.ai/pricing) ✅ | [メタデータ](https://docs.dify.ai/zh-hans/guides/knowledge-base/metadata) ✅ + * [APIを活用したナレッジベースのメンテナンス](./guides/knowledge-base/knowledge-and-documents-maintenance/maintain-dataset-via-api) ✅ + * [メタデータ](./guides/knowledge-base/metadata) ✅ | [アプリケーション内でナレッジベースを統合する](https://docs.dify.ai/zh-hans/guides/knowledge-base/integrate-knowledge-within-application) ✅ | [APIを通じてナレッジベースを維持する](https://docs.dify.ai/zh-hans/guides/knowledge-base/knowledge-and-documents-maintenance/maintain-dataset-via-api) ✅ + * [アプリ内でのナレッジベース統合](./guides/knowledge-base/integrate-knowledge-within-application) ✅ | [すべてのアプリタイプ](../application-orchestrate/#application\_type) ✅ | [Rerank戦略](https://docs.dify.ai/v/ja-jp/learn-more/extended-reading/retrieval-augment/rerank) ✅ | [リコール拡張](https://docs.dify.ai/v/ja-jp/learn-more/extended-reading/retrieval-augment/rerank) ✅ + * [リコールテスト/引用帰属](./guides/knowledge-base/retrieval-test-and-citation) ✅ | [検索強化生成(RAG)](../../learn-more/extended-reading/retrieval-augment/README) ✅ + * [ナレッジベースの要求頻度制限](./guides/knowledge-base/knowledge-request-rate-limit) ✅ + * [外部ナレッジベースとの接続](./guides/knowledge-base/connect-external-knowledge-base) ✅ | [AWS Bedrock](https://aws.amazon.com/bedrock/) ✅ | [外部ナレッジベースAPI](./external-knowledge-api-documentation) ✅ | [外部ナレッジベースAPI](./external-knowledge-api-documentation) ✅ | [外部ナレッジベースAPI](./external-knowledge-api-documentation) ✅ | [how-to-connect-aws-bedrock.md](../../learn-more/use-cases/how-to-connect-aws-bedrock.md "mention") ❌ + * [外部ナレッジベースAPI](./guides/knowledge-base/external-knowledge-api-documentation) ✅ | [外部ナレッジベースへの接続](https://docs.dify.ai/guides/knowledge-base/connect-external-knowledge-base) ✅ +* [ツール](./guides/tools/README) ✅ | [プラグイン開発](https://docs.dify.ai/ja-jp/plugins/quick-start/install-plugins) ✅ | [Dify開発貢献ドキュメント](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) ✅ | [公式ドキュメント](https://swagger.io/specification/) ✅ | [dify-tools-worker](https://github.com/crazywoola/dify-tools-worker) ✅ + * [クイック統合ツール](./guides/tools/quick-tool-integration) ✅ | [プラグイン開発](https://docs.dify.ai/ja-jp/plugins/quick-start/develop-plugins) ✅ + * [高度統合ツール](./guides/tools/advanced-tool-integration) ✅ | [プラグイン開発](https://docs.dify.ai/ja-jp/plugins/quick-start/develop-plugins) ✅ | [クイック接続](https://docs.dify.ai/v/ja-jp/guides/tools/quick-tool-integration) ✅ + * [ツールの設定](./guides/tools/tool-configuration/README) ✅ | [プラグイン開発](https://docs.dify.ai/ja-jp/plugins/quick-start/install-plugins) ✅ | [StableDiffusion](./stable-diffusion) ✅ | [SearXNG](./searxng) ✅ + * [Google](./guides/tools/tool-configuration/google) ✅ | [プラグイン開発](https://docs.dify.ai/ja-jp/plugins/quick-start/install-plugins) ✅ | [Serp](https://serpapi.com/dashboard) ✅ + * [Bing](./guides/tools/tool-configuration/bing) ✅ | [プラグイン開発](https://docs.dify.ai/ja-jp/plugins/quick-start/install-plugins) ✅ | [Microsoft Azure ポータル](https://platform.openai.com/) ✅ + * [SearchApi](./guides/tools/tool-configuration/searchapi) ✅ | [プラグイン開発](https://docs.dify.ai/ja-jp/plugins/quick-start/install-plugins) ✅ | [SearchApi](https://www.searchapi.io/) ✅ + * [StableDiffusion](./guides/tools/tool-configuration/stable-diffusion) ✅ | [プラグイン開発](https://docs.dify.ai/ja-jp/plugins/quick-start/install-plugins) ✅ | [公式リポジトリ](https://github.com/AUTOMATIC1111/stable-diffusion-webui) ✅ | [pastel-mix](https://huggingface.co/JamesFlare/pastel-mix) ✅ | [変数](https://docs.dify.ai/v/ja-jp/guides/workflow/variables) ✅ + * [Perplexity Search](./guides/tools/tool-configuration/perplexity) ✅ | [プラグイン開発](https://docs.dify.ai/ja-jp/plugins/quick-start/install-plugins) ✅ | [こちら](https://www.perplexity.ai/settings/api) ❌ + * [AlphaVantage 株式分析](./guides/tools/tool-configuration/alphavantage) ✅ | [@zhuhao](https://github.com/hwzhuhao) ✅ | [プラグイン開発](https://docs.dify.ai/ja-jp/plugins/quick-start/install-plugins) ✅ | [AlphaVantage](https://www.alphavantage.co/support/#api-key) ✅ | [変数](https://docs.dify.ai/v/ja-jp/guides/workflow/variables) ✅ + * [Dall-e](./guides/tools/tool-configuration/dall-e) ✅ | [プラグイン開発](https://docs.dify.ai/ja-jp/plugins/quick-start/install-plugins) ✅ | [OpenAI Platform](https://platform.openai.com/) ✅ | [変数](https://docs.dify.ai/v/ja-jp/guides/workflow/variables) ✅ + * [Youtube](./guides/tools/tool-configuration/youtube) ✅ | [プラグイン開発](https://docs.dify.ai/ja-jp/plugins/quick-start/install-plugins) ✅ | [Youtube](https://www.youtube.com/) ✅ | [Google 認証サイト](https://console.cloud.google.com/apis/credentials) ✅ | [Dify ツールページ](https://cloud.dify.ai/tools) ✅ + * [Serper](./guides/tools/tool-configuration/serper) ✅ | [プラグイン開発](https://docs.dify.ai/ja-jp/plugins/quick-start/install-plugins) ✅ | [Serperプラットフォーム](https://serper.dev/signup) ✅ + * [SearXNG](./guides/tools/tool-configuration/searxng) ✅ | [プラグイン開発](https://docs.dify.ai/ja-jp/plugins/quick-start/install-plugins) ✅ | [こちら](https://docs.searxng.org/admin/installation.html) ✅ | [こちら](https://docs.searxng.org/admin/installation.html) ✅ + * [SiliconFlow(Flux AI サポート)](./guides/tools/tool-configuration/siliconflow) ✅ | [プラグイン開発](https://docs.dify.ai/ja-jp/plugins/quick-start/install-plugins) ✅ | [SiliconCloud API管理ページ](https://cloud.siliconflow.cn/account/ak) ✅ | [変数](https://docs.dify.ai/v/ja-jp/guides/workflow/variables) ✅ + * [ComfyUI](./guides/tools/tool-configuration/comfyui) ✅ | [プラグイン開発](https://docs.dify.ai/ja-jp/plugins/quick-start/install-plugins) ✅ | [ComfyUI](https://www.comfy.org/) ✅ | [公式ドキュメント](https://docs.comfy.org/get_started/gettingstarted) ✅ +* [アプリ公開](./guides/application-publishing/README) ✅ | [シングルページWebアプリとして公開](launch-your-webapp-quickly/) ✅ | [Webサイトへの埋め込み](./embedding-in-websites) ✅ | [API基づく開発](./developing-with-apis) ✅ | [フロントエンドテンプレートに基づいた再開発](./based-on-frontend-templates) ✅ + * [シングルページWebアプリとして公開](./guides/application-publishing/launch-your-webapp-quickly/README) ✅ | [前往预览](./text-generator) ✅ | [前往预览](./conversation-application) ✅ | [サポートを求める](../../../community/support) ✅ + * [Web アプリの設定](./guides/application-publishing/launch-your-webapp-quickly/web-app-settings) ✅ + * [テキスト生成アプリ](./guides/application-publishing/launch-your-webapp-quickly/text-generator) ✅ + * [対話型アプリ](./guides/application-publishing/launch-your-webapp-quickly/conversation-application) ✅ | [「引用と帰属」](https://docs.dify.ai/v/japanese/guides/knowledge-base/retrieval_test_and_citation#id-2-yin-yong-yu-gui-shu) ✅ + * [Webサイトへの埋め込み](./guides/application-publishing/embedding-in-websites) ✅ | [https://dev.udify.app](https://dev.udify.app) ✅ | [https://udify.app](https://udify.app) ✅ + * [API基づく開発](./guides/application-publishing/developing-with-apis) ✅ + * [フロントエンドテンプレートに基づいた再開発](./guides/application-publishing/based-on-frontend-templates) ✅ | [会話型アプリケーション](https://github.com/langgenius/webapp-conversation) ✅ | [テキスト生成型アプリケーション](https://github.com/langgenius/webapp-text-generator) ✅ +* [アノテーション](./guides/annotation/README) ✅ + * [ログとアノテーション](./guides/annotation/logs) ✅ | [価格ページ](https://dify.ai/pricing) ✅ | [コミュニティエディション](../../getting-started/install-self-hosted/docker-compose) ✅ + * [アノテーション返信](./guides/annotation/annotation-reply) ✅ +* [モニタリング](./guides/monitoring/README) ✅ + * [データ分析](./guides/monitoring/analysis) ✅ + * [外部Opsツール統合](./guides/monitoring/integrate-external-ops-tools/README) ✅ + * [LangSmithを統合](./guides/monitoring/integrate-external-ops-tools/integrate-langsmith) ✅ | [https://www.langchain.com/langsmith](https://www.langchain.com/langsmith) ✅ | [公式サイト](https://www.langchain.com/langsmith) ✅ + * [LangFuseを統合](./guides/monitoring/integrate-external-ops-tools/integrate-langfuse) ✅ | [https://langfuse.com/](https://langfuse.com/) ✅ | [公式サイト](https://langfuse.com/) ✅ + * [Opikを統合](./guides/monitoring/integrate-external-ops-tools/integrate-opik) ✅ | [Opik](https://www.comet.com/site/products/opik/) ✅ | [Opik](https://www.comet.com/signup?from=llm) ✅ +* [拡張](./guides/extension/README) ✅ | [API拡張](api-based-extension/) ✅ | [コード拡張](code-based-extension/) ✅ + * [API 拡張](./guides/extension/api-based-extension/README) ✅ | [Ngrok](https://ngrok.com) ✅ | [https://ngrok.com](https://ngrok.com) ✅ | [external-data-tool.md](../../knowledge-base/external-data-tool.md "mention") ❌ | [cloudflare-workers.md](cloudflare-workers.md "mention") ❌ + * [Cloudflare Workers を使用した API ツールのデプロイ](./guides/extension/api-based-extension/cloudflare-workers) ✅ | [Example GitHub レポジトリ](https://github.com/crazywoola/dify-extension-workers) ✅ | [Cloudflare Workers](https://workers.cloudflare.com/) ✅ | [Cloudflare Workers CLI](https://developers.cloudflare.com/workers/cli-wrangler/install-update) ✅ | [Example GitHub Repository](https://github.com/crazywoola/dify-extension-workers) ✅ + * [コンテンツモデレーション](./guides/extension/api-based-extension/moderation) ✅ + * [コード拡張](./guides/extension/code-based-extension/README) ✅ | [external-data-tool.md](external-data-tool.md "mention") ❌ | [moderation.md](moderation.md "mention") ❌ + * [外部データツール](./guides/extension/code-based-extension/external-data-tool) ✅ | [api-based-extension](../api-based-extension/ "mention") ❌ | [.](./ "mention") ❌ + * [コンテンツモデレーション](./guides/extension/code-based-extension/moderation) ✅ | [こちら](./ "mention") ❌ +* [コラボレーション](./guides/workspace/README) ✅ | [発見](./app) ✅ + * [発見](./guides/workspace/app) ✅ + * [メンバーの招待と管理](./guides/workspace/invite-and-manage-members) ✅ +* [管理](./guides/management/README) ✅ + * [アプリの管理](./guides/management/app-management) ✅ | [Difyのアップグレード](https://docs.dify.ai/ja-jp/getting-started/install-self-hosted/docker-compose#upgrade-dify) ✅ + * [チームメンバーの管理](./guides/management/team-members-management) ✅ | [環境変数](../../getting-started/install-self-hosted/environments) ✅ + * [個人アカウントの管理](./guides/management/personal-account-management) ✅ | [GitHubリポジトリ](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) ✅ + * [サブスクリプション管理](./guides/management/subscription-management) ✅ | [マーク付き返信](https://docs.dify.ai/v/ja-jp/guides/biao-zhu/logs) ✅ | [Difyの価格設定](https://dify.ai/pricing) ✅ + * [バージョン管理](./guides/management/version-control) ✅ + +## ハンドオン工房 + +* [初級編](./workshop/basic/README) ✅ + * [ゼロからAI画像生成アプリの構築方法](./workshop/basic/build-ai-image-generation-app) ✅ | [こちら](https://platform.stability.ai/account/keys) ✅ | [Dify - ツール - Stability](https://cloud.dify.ai/tools) ✅ | [groq API管理ページ](https://console.groq.com/keys) ✅ + * [AIエージェントの実践:個人のオンライン旅行アシスタントの構築方法](./workshop/basic/travel-assistant) ✅ | [AI画像生成アプリの構築方法](./build-ai-image-generation-app) ✅ | [Dify](https://dify.ai) ✅ | [コミュニティ版 - Docker Composeデプロイ](../../getting-started/install-self-hosted/docker-compose) ✅ | [Bing](https://docs.dify.ai/ja-jp/guides/tools/tool-configuration/bing) ✅ | [Perplexity](https://docs.dify.ai/ja-jp/guides/tools/tool-configuration/perplexity-search) ✅ | [SerpAPI - API Key](https://serpapi.com/manage-api-key) ✅ +* [中級編](./workshop/intermediate/README) ✅ + * [チャットストリームエージェントを使用した Twitter アカウントの分析方法](./workshop/intermediate/twitter-chatflow) ✅ | [wordware.ai](https://www.wordware.ai/) ✅ | [February 2, 2023](https://twitter.com/XDevelopers/status/1621026986784337922?ref\_src=twsrc%5Etfw) ❌ | [crawlbase.com](https://crawlbase.com) ✅ | [https://cloud.dify.ai/signin](https://cloud.dify.ai/signin) ✅ | [Crawlbaseのドキュメント](https://crawlbase.com/docs/crawling-api/scrapers/#twitter-profile) ✅ | [Crawlbaseのドキュメント](https://crawlbase.com/docs/crawling-api/scrapers/#twitter-profile) ✅ | [こちら](https://crawlbase.com/dashboard/account/docs) ✅ | [wordware.ai](http://wordware.ai) ✅ | [X@dify\_ai](https://x.com/dify\_ai) ❌ | [https://github.com/langgenius/dify](https://github.com/langgenius/dify) ✅ + * [ファイルアップロードを使用した記事理解アシスタントの構築方法](./workshop/intermediate/article-reader) ✅ | [ファイルアップロード](../../guides/workflow/file-upload) ✅ + +## コミュニティ + +* [サポートの求め](./community/support) ✅ | [Github](https://github.com/langgenius/dify) ✅ | [Discord](https://discord.gg/8Tpq4AcN9c) ✅ | [hello@dify.ai](mailto:hello@dify.ai) ✅ +* [貢献者ガイド](./community/contribution) ✅ | [ライセンスと貢献者協定](https://github.com/langgenius/dify/blob/main/LICENSE) ✅ | [行動規範](https://github.com/langgenius/.github/blob/main/CODE_OF_CONDUCT.md) ✅ | [既存のイシューを探す](https://github.com/langgenius/dify/issues?q=is:issue+is:closed) ✅ | [作成する](https://github.com/langgenius/dify/issues/new/choose) ✅ | [@perzeusss](https://github.com/perzeuss) ✅ | [機能リクエスト助手](https://udify.app/chat/MK2kVSnw1gakVwMX) ✅ | [@yeuoly](https://github.com/Yeuoly) ✅ | [@jyong](https://github.com/JohnJyong) ✅ | [@GarfieldDai](https://github.com/GarfieldDai) ✅ | [@iamjoel](https://github.com/iamjoel) ✅ | [@zxhlyh](https://github.com/zxhlyh) ✅ | [@guchenhe](https://github.com/guchenhe) ✅ | [@crazywoola](https://github.com/crazywoola) ✅ | [@takatost](https://github.com/takatost) ✅ | [community feedback board](https://github.com/langgenius/dify/discussions/categories/ideas) ✅ | [Docker](https://www.docker.com/) ✅ | [Docker Compose](https://docs.docker.com/compose/install/) ✅ | [Node.js v18.x (LTS)](http://nodejs.org) ✅ | [npm](https://www.npmjs.com/) ✅ | [Yarn](https://yarnpkg.com/) ✅ | [Python](https://www.python.org/) ✅ | [バックエンドREADME](https://github.com/langgenius/dify/blob/main/api/README.md) ✅ | [フロントエンドREADME](https://github.com/langgenius/dify/blob/main/web/README.md) ✅ | [インストールFAQ](https://docs.dify.ai/v/ja-jp/learn-more/faq/install-faq) ✅ | [http://localhost:3000](http://localhost:3000) ✅ | [このガイド](https://github.com/langgenius/dify/blob/main/api/core/model_runtime/README.md) ✅ | [このガイド](https://github.com/langgenius/dify/blob/main/api/core/tools/README.md) ❌ | [Dify-docs](https://github.com/langgenius/dify-docs/tree/main/en/guides/tools/tool-configuration) ✅ | [Flask](https://flask.palletsprojects.com/en/3.0.x/) ✅ | [SQLAlchemy](https://www.sqlalchemy.org/) ✅ | [Celery](https://docs.celeryq.dev/en/stable/getting-started/introduction.html) ✅ | [Next.js](https://nextjs.org/) ✅ | [Tailwind CSS](https://tailwindcss.com/) ✅ | [React-i18next](https://react.i18next.com/) ✅ | [GitHubのプルリクエストチュートリアル](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests) ✅ | [README](https://github.com/langgenius/dify/blob/main/README_JA.md) ✅ | [Discord](https://discord.com/invite/8Tpq4AcN9c) ✅ +* [ドキュメントへの貢献](./community/docs-contribution) ✅ | [オープンソースプロジェクト](https://github.com/langgenius/dify-docs) ✅ | [Issues ページ](https://github.com/langgenius/dify-docs/issues) ✅ | [Discord](https://discord.com/invite/8Tpq4AcN9c) ✅ + +## プラグイン + +* [機能紹介](./plugins/introduction) ✅ | [Difyマーケットプレイス](https://marketplace.dify.ai/) ✅ | [GitHub](publish-plugins/publish-plugin-on-personal-github-repo/) ✅ | [ローカルファイルパッケージ](publish-plugins/package-and-publish-plugin-file/) ❌ | [クイックスタート:モデルプラグイン](https://docs.dify.ai/plugins/quick-start/develop-plugins/model-plugin) ✅ | [クイックスタート:ツールプラグイン](./quick-start/develop-plugins/tool-plugin) ✅ | [クイックスタート:エージェント戦略プラグイン](./quick-start/develop-plugins/agent-strategy-plugin) ✅ | [クイックスタート:拡張機能プラグイン](./quick-start/develop-plugins/extension-plugin) ✅ | [プラグイン開発:バンドルプラグイン](./quick-start/develop-plugins/bundle) ✅ | [Dify マーケットプレイス](https://marketplace.dify.ai/) ✅ | [install-plugins.md](./quick-start/install-plugins) ✅ | [develop-plugins](quick-start/develop-plugins/) ✅ | [Dify Marketplace](https://marketplace.dify.ai/) ✅ | [GitHubリポジトリ](https://github.com/langgenius/dify-plugins) ✅ | [publish-to-dify-marketplace](publish-plugins/publish-to-dify-marketplace/) ✅ | [package-plugin-file-and-publish.md](./publish-plugins/package-plugin-file-and-publish) ✅ +* [クイックスタート](./plugins/quick-start/README) ✅ + * [プラグインのインストールと活用](./plugins/quick-start/install-plugins) ✅ | [プラグインの公開:GitHub](../publish-plugins/) ✅ | [プラグインをパッケージする](../publish-plugins/package-plugin-file-and-publish) ✅ | [プラグイン開発](develop-plugins/) ✅ + * [プラグイン開発の入門](./plugins/quick-start/develop-plugins/README) ✅ | [initialize-development-tools.md](./initialize-development-tools) ✅ | [tool-plugin.md](./tool-plugin) ✅ | [model](model-plugin/) ✅ | [extension-plugin.md](./extension-plugin) ✅ | [一般的な構造の標準定義](../../schema-definition/general-specifications) ✅ | [マニフェストの標準定義](../../schema-definition/manifest) ✅ | [ツールとの接続の標準定義](../../schema-definition/tool) ✅ | [モデルとの接続の標準定義](../../schema-definition/model/) ✅ | [エンドポイントの標準定義](../../schema-definition/endpoint) ✅ | [拡張エージェント策略](../../schema-definition/agent) ✅ | [アプリ](../../schema-definition/reverse-invocation-of-the-dify-service/app.md "mention") ❌ | [モデル](../../schema-definition/reverse-invocation-of-the-dify-service/model.md "mention") ❌ | [ノード](../../schema-definition/reverse-invocation-of-the-dify-service/node.md "mention") ❌ | [ツール](../../schema-definition/reverse-invocation-of-the-dify-service/tool.md "mention") ❌ | [プラグインの永続化されたストレージ機能](../../schema-definition/persistent-storage) ✅ | [マーケットプレイスの公開ガイド](../../publish-plugins/publish-to-dify-marketplace) ❌ | [GitHub での公開ガイド](../../publish-plugins/publish-plugin-on-personal-github-repo) ✅ + * [開発環境のセットアップ](./plugins/quick-start/develop-plugins/initialize-development-tools) ✅ | [DifyプラグインのGitHubページ](https://github.com/langgenius/dify-plugin-daemon/releases) ✅ | [Python installation](https://pythontest.com/python/installing-python-3-11/) ✅ | [Pythonインストール](https://pythontest.com/python/installing-python-3-11/) ✅ | [tool-plugin.md](./tool-plugin) ✅ | [model-plugin](model-plugin/) ✅ | [agent-strategy-plugin.md](./agent-strategy-plugin) ✅ | [extension.md](./extension-plugin) ✅ | [bundle.md](./bundle) ✅ + * [ツール型プラグイン](./plugins/quick-start/develop-plugins/tool-plugin) ✅ | [初期化開発ツール](./initialize-development-tools) ✅ | [スキーマ仕様](../../schema-definition/README) ✅ | [ProviderConfig](../../schema-definition/general-specifications) ✅ | [ツールインターフェースドキュメント](../../schema-definition/tool) ✅ | [Dify Plugins コードリポジトリ](https://github.com/langgenius/dify-plugins) ✅ | [プラグイン公開仕様](https://docs.dify.ai/zh-hans/plugins/publish-plugins/publish-to-dify-marketplace) ✅ | [Dify Marketplace](https://marketplace.dify.ai/) ✅ | [拡張タイププラグインの開発](./extension-plugin) ✅ | [モデルタイププラグインの開発](model-plugin/) ✅ | [バンドルタイププラグイン:複数のプラグインをパッケージ化](./bundle) ✅ | [マニフェスト](../../schema-definition/manifest) ✅ | [エンドポイント](../../schema-definition/endpoint) ✅ | [Difyサービスの逆呼び出し](../../schema-definition/reverse-invocation-of-the-dify-service/) ✅ | [ツール](../../schema-definition/tool) ✅ | [モデル](../../schema-definition/model/) ✅ | [拡張エージェント戦略](../../schema-definition/agent) ✅ + * [モデル型プラグイン](./plugins/quick-start/develop-plugins/model-plugin/README) ✅ | [モデルプロバイダーの作成](./create-model-providers) ✅ | [事前定義済み](../../../guides/model-configuration/predefined-model) ❌ | [カスタム](../../../guides/model-configuration/customizable-model) ❌ | [モデルプラグインのデバッグ](../../debug-plugin) ✅ + * [モデルプロバイダーの構築](./plugins/quick-start/develop-plugins/model-plugin/create-model-providers) ✅ | [開発ツールの初期化](../initialize-development-tools) ✅ | [モデルインターフェースドキュメント](../../../schema-definition/model/model-schema) ✅ | [定義済みモデルの接続](../../../../guides/model-configuration/predefined-model) ✅ | [カスタムモデルの接続](../../../../guides/model-configuration/customizable-model) ✅ + * [定義済みモデルの組み込み](./plugins/quick-start/develop-plugins/model-plugin/integrate-the-predefined-model) ✅ | [モデルプロバイダーの作成](./create-model-providers) ✅ | [AIModelEntity](../../../schema-definition/model/model-designing-rules) ✅ | [GitHubコードリポジトリ](https://github.com/langgenius/dify-official-plugins/tree/main/models/anthropic/models/llm) ✅ | [モデル設計規則](../../../schema-definition/model/model-designing-rules) ✅ | [Githubコードリポジトリ](https://github.com/langgenius/dify-official-plugins/tree/main/models) ✅ | [Githubコードリポジトリ](https://github.com/langgenius/dify-official-plugins/blob/main/models/anthropic/models/llm/llm.py) ✅ | [AIModelEntity](../../../schema-definition/model/model-designing-rules) ✅ | [Dify Pluginsコードリポジトリ](https://github.com/langgenius/dify-plugins) ✅ | [プラグイン公開仕様](https://docs.dify.ai/zh-hans/plugins/publish-plugins/publish-to-dify-marketplace) ✅ | [Dify Marketplace](https://marketplace.dify.ai/) ✅ | [拡張タイププラグインの開発](../extension-plugin) ✅ | [モデルタイププラグインの開発](./README) ✅ | [バンドルタイププラグイン:複数のプラグインをパッケージ化](../bundle) ✅ | [マニフェスト](../../../schema-definition/manifest) ✅ | [エンドポイント](../../../schema-definition/endpoint) ✅ | [Difyサービスの逆呼び出し](../../../schema-definition/reverse-invocation-of-the-dify-service/) ✅ | [ツール](../../../schema-definition/tool) ✅ | [モデル](../../../schema-definition/model/) ✅ | [拡張エージェント戦略](../../../schema-definition/agent) ✅ + * [カスタムモデルの組み込み](./plugins/quick-start/develop-plugins/model-plugin/customizable-model) ✅ | [Xinferenceモデル](https://inference.readthedocs.io/en/latest/) ✅ | [事前定義されたモデルタイプ](./integrate-the-predefined-model) ✅ | [インターフェースドキュメント:Model](../../../schema-definition/model/) ✅ | [GitHubコードリポジトリ](https://github.com/langgenius/dify-official-plugins/tree/main/models/xinference) ✅ | [debug-plugin.md](../../debug-plugin) ✅ | [publish-to-dify-marketplace.md](../../../publish-plugins/publish-to-dify-marketplace) ❌ | [拡張タイププラグインの開発](../extension-plugin) ✅ | [モデルタイププラグインの開発](./README) ✅ | [バンドルタイププラグイン:複数のプラグインをパッケージ化](../bundle) ✅ | [マニフェスト](../../../schema-definition/manifest) ✅ | [エンドポイント](../../../schema-definition/endpoint) ✅ | [Difyサービスの逆呼び出し](../../../schema-definition/reverse-invocation-of-the-dify-service/) ✅ | [ツール](../../../schema-definition/tool) ✅ | [モデル](../../../schema-definition/model/) ✅ | [拡張エージェント戦略](../../../schema-definition/agent) ✅ + * [エージェント戦略プラグイン](./plugins/quick-start/develop-plugins/agent-strategy-plugin) ✅ | [開発ツールの初期化](./initialize-development-tools) ✅ | [サンプルコード](./agent-strategy-plugin) ✅ | [サンプルコード](./agent-strategy-plugin) ✅ | [「プラグイン管理」](https://cloud.dify.aij/plugins) ❌ | [Dify Plugins コードリポジトリ](https://github.com/langgenius/dify-plugins) ✅ | [プラグイン公開規約](../../publish-plugins/publish-to-dify-marketplace) ❌ | [Dify Marketplace](https://marketplace.dify.ai/) ✅ | [実装コード](https://github.com/langgenius/dify-official-plugins/blob/main/agent-strategies/cot_agent/strategies/function_calling.py) ✅ + * [拡張機能型プラグイン](./plugins/quick-start/develop-plugins/extension-plugin) ✅ | [開発ツールの初期化](./initialize-development-tools) ✅ | [APIドキュメント](../../schema-definition/) ✅ | [Dify Plugins コードリポジトリ](https://github.com/langgenius/dify-plugins) ✅ | [プラグイン公開仕様](../publish-plugins/publish-to-dify-marketplace) ❌ | [Dify Marketplace](https://marketplace.dify.ai/) ✅ | [バンドルタイププラグイン:複数のプラグインをまとめる](./bundle) ✅ | [ツールタイププラグイン:Google検索](./tool-plugin) ✅ | [モデルタイププラグイン](model/) ❌ | [マニフェスト](../../schema-definition/manifest) ✅ | [エンドポイント](../../schema-definition/endpoint) ✅ | [Dify機能の逆呼び出し](../../schema-definition/reverse-invocation-of-the-dify-service/) ✅ | [ツール](../../schema-definition/tool) ✅ | [モデル](../../schema-definition/model/) ✅ | [拡張エージェント戦略](../../schema-definition/agent) ✅ | [Slack Botプラグインの開発](../../best-practice/develop-a-slack-bot-plugin) ✅ + * [バンドル](./plugins/quick-start/develop-plugins/bundle) ✅ | [開発ツールの初期化](./initialize-development-tools) ✅ + * [プラグインのデバッグ方法](./plugins/quick-start/debug-plugin) ✅ +* [プラグイン管理方法](./plugins/manage-plugins) ✅ +* [スキーマ仕様](./plugins/schema-definition/README) ✅ | [manifest.md](./manifest) ✅ | [endpoint.md](./endpoint) ✅ | [model.md](./reverse-invocation-of-the-dify-service/model) ✅ | [general-specifications.md](./general-specifications) ✅ | [persistent-storage.md](./persistent-storage) ✅ | [reverse-invocation-of-the-dify-service](reverse-invocation-of-the-dify-service/) ✅ + * [Manifest(マニフェスト)](./plugins/schema-definition/manifest) ✅ | [Githubリポジトリ](https://github.com/langgenius/dify-plugin-sdks/tree/main/python/examples) ✅ | [ツール](./tool) ✅ | [モデル](model/) ✅ | [エンドポイント](./endpoint) ✅ + * [Endpoint(エンドポイント)](./plugins/schema-definition/endpoint) ✅ | [クイックスタート:レインボーキャットプロジェクト](../develop-plugins/extension-plugin) ❌ | [Github](https://github.com/langgenius/dify-plugin-sdks/tree/main/python/examples/neko) ✅ | [ProviderConfig](./general-specifications) ✅ + * [Tool(ツール)](./plugins/schema-definition/tool) ✅ | [クイックスタート:ツール](../develop-plugins/tool-plugin) ❌ + * [Agent(エージェント)](./plugins/schema-definition/agent) ✅ | [Semantic Kernel](https://learn.microsoft.com/en-us/semantic-kernel/overview/) ✅ | [Manifest](./manifest) ✅ | [Tool](./tool) ✅ + * [Model(モデル)](./plugins/schema-definition/model/README) ✅ + * [モデル設計規則](./plugins/schema-definition/model/model-designing-rules) ✅ | [Provider](./model-designing-rules) ✅ | [AIModelEntity](./model-designing-rules) ✅ | [[ModelType](./model-designing-rules) ✅ | [[ConfigurateMethod](./model-designing-rules) ✅ | [[ProviderCredentialSchema](./model-designing-rules) ✅ | [[ModelCredentialSchema](./model-designing-rules) ✅ | [[ParameterRule](./model-designing-rules) ✅ | [[PriceConfig](./model-designing-rules) ✅ | [[CredentialFormSchema](./model-designing-rules) ✅ | [[CredentialFormSchema](./model-designing-rules) ✅ | [[FormOption](./model-designing-rules) ✅ | [[FormShowOnObject](./model-designing-rules) ✅ | [[FormShowOnObject](./model-designing-rules) ✅ + * [モデルスキーマ](./plugins/schema-definition/model/model-schema) ✅ | [[PromptMessage](./model-schema) ✅ | [UserPromptMessage](./model-schema) ✅ | [SystemPromptMessage](./model-schema) ✅ | [UserPromptMessage](./model-schema) ✅ | [AssistantPromptMessage](./model-schema) ✅ | [ToolPromptMessage](./model-schema) ✅ | [[PromptMessageTool](./model-schema) ✅ | [OpenAI](https://github.com/langgenius/dify-official-plugins/tree/main/models/openai) ✅ | [TextEmbeddingResult](./model-schema) ✅ | [RerankResult](./model-schema) ✅ + * [一般的な標準仕様](./plugins/schema-definition/general-specifications) ✅ | [IETF BCP 47](https://tools.ietf.org/html/bcp47) ✅ + * [永続化されたストレージ](./plugins/schema-definition/persistent-storage) ✅ + * [Difyサービスの逆呼び出し](./plugins/schema-definition/reverse-invocation-of-the-dify-service/README) ✅ | [App](./app) ✅ | [Model](./model) ✅ | [Tool](./tool) ✅ | [Node](./node) ✅ + * [アプリ](./plugins/schema-definition/reverse-invocation-of-the-dify-service/app) ✅ + * [モデル](./plugins/schema-definition/reverse-invocation-of-the-dify-service/model) ✅ + * [ツール](./plugins/schema-definition/reverse-invocation-of-the-dify-service/tool) ✅ + * [ノード](./plugins/schema-definition/reverse-invocation-of-the-dify-service/node) ✅ +* [ベストプラクティス](./plugins/best-practice/README) ✅ | [develop-a-slack-bot-plugin.md](./develop-a-slack-bot-plugin) ✅ + * [Slack Bot プラグインの開発](./plugins/best-practice/develop-a-slack-bot-plugin) ✅ | [開発ツールの初期化](../initialize-development-tools) ❌ | [Pythonインストールチュートリアル](https://pythontest.com/python/installing-python-3-11/) ✅ | [Slack API](https://api.slack.com/apps) ✅ | [クイックスタート:Extensionプラグインの開発](../extension-plugin) ❌ | [逆呼び出し:App](../../../schema-definition/reverse-invocation-of-the-dify-service/app) ❌ | [Dify Marketplace リポジトリ](https://github.com/langgenius/dify-plugins) ✅ | [プラグイン公開仕様](https://docs.dify.ai/zh-hans/plugins/publish-plugins/publish-to-dify-marketplace) ✅ | [Githubコードリポジトリ](https://github.com/langgenius/dify-plugins) ✅ | [拡張タイププラグインの開発](../extension-plugin) ❌ | [モデルタイププラグインの開発](../model-plugin/) ❌ | [バンドルタイププラグイン:複数のプラグインをパッケージ化](../bundle) ❌ | [マニフェスト](../../schema-definition/manifest) ❌ | [エンドポイント](../../schema-definition/endpoint) ❌ | [Difyサービスの逆呼び出し](../../schema-definition/reverse-invocation-of-the-dify-service/) ❌ | [ツール](../../../guides/tools/) ❌ | [モデル](../../schema-definition/model/model-schema) ❌ +* [プラグインの公開](./plugins/publish-plugins/README) ✅ | [リポジトリに](https://github.com/langgenius/dify-plugins) ✅ | [Dify Marketplaceへの公開](https://docs.dify.ai/ja-jp/plugins/publish-plugins/publish-to-dify-marketplace) ✅ | [個人GitHubリポジトリへの公開](https://docs.dify.ai/ja-jp/plugins/publish-plugins/publish-plugin-on-personal-github-repo) ✅ | [ローカルでの公開と共有](./package-plugin-file-and-publish) ✅ + * [Difyマーケットプレイスへの公開](./plugins/publish-plugins/publish-to-dify-marketplace/README) ✅ | [提供された設定手順](../quick-start/develop-plugins) ❌ | [Dify.ai](https://dify.ai/) ✅ + * [プラグイン開発者ガイドライン](./plugins/publish-plugins/publish-to-dify-marketplace/plugin-developer-guidelines) ✅ | [プラグインプライバシー保護ガイドライン](./plugin-developer-guidelines) ✅ + * [プラグインのプライバシー保護に関するガイドライン](./plugins/publish-plugins/publish-to-dify-marketplace/plugin-privacy-protection-guidelines) ✅ | [Slackのプライバシーポリシー](https://slack.com/trust/privacy/privacy-policy) ✅ | [マニフェスト](../../schema-definition/manifest) ✅ + * [個人GitHubリポジトリへの公開](./plugins/publish-plugins/publish-plugin-on-personal-github-repo) ✅ | [GitHubドキュメント](https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-new-repository) ✅ | [プラグインのパッケージング](https://docs.dify.ai/ja-jp/plugins/publish-plugins/package-and-publish-plugin-file) ✅ + * [ローカルでの公開と共有](./plugins/publish-plugins/package-plugin-file-and-publish) ✅ | [開発ツールの初期化ガイド](../quick-start/develop-plugins/initialize-development-tools) ✅ | [リモート接続テスト](../quick-start/develop-plugins/extension) ❌ +* [よくある質問](./plugins/faq) ✅ + +## 開発 + +* [バックエンド](./development/backend/README) ✅ + * [DifySandbox](./development/backend/sandbox/README) ✅ | [DifySandbox](https://github.com/langgenius/dify-sandbox) ✅ | [貢献ガイド](./contribution) ✅ + * [貢献ガイド](./development/backend/sandbox/contribution) ✅ +* [モデルの統合](./development/models-integration/README) ✅ + * [Hugging Faceのオープンソースモデルを統合](./development/models-integration/hugging-face) ✅ | [text-generation](https://huggingface.co/models?pipeline\_tag=text-generation\&sort=trending) ✅ | [text2text-generation](https://huggingface.co/models?pipeline\_tag=text2text-generation\&sort=trending) ✅ | [feature-extraction](https://huggingface.co/models?pipeline\_tag=feature-extraction\&sort=trending) ✅ | [登録はこちら](https://huggingface.co/join) ❌ | [取得はこちら](https://huggingface.co/settings/tokens) ✅ | [Hugging Faceのモデル一覧ページ](https://huggingface.co/models) ✅ | [Inference Endpoints](https://huggingface.co/docs/inference-endpoints/guides/access) ✅ | [ユーザー名](https://huggingface.co/settings/account) ✅ | [組織名](https://ui.endpoints.huggingface.co/) ✅ + * [Replicateのオープンソースモデルを統合](./development/models-integration/replicate) ✅ | [言語モデル](https://replicate.com/collections/language-models) ✅ | [埋め込みモデル](https://replicate.com/collections/embedding-models) ✅ | [登録ページ](https://replicate.com/signin?next=/docs) ✅ | [取得ページ](https://replicate.com/account/api-tokens) ✅ | [言語モデル](https://replicate.com/collections/language-models) ✅ | [埋め込みモデル](https://replicate.com/collections/embedding-models) ✅ + * [Xinferenceでデプロイしたローカルモデルを統合](./development/models-integration/xinference) ✅ | [Xorbits推論](https://github.com/xorbitsai/inference) ✅ | [ローカルデプロイ](https://github.com/xorbitsai/inference/blob/main/README_zh_CN.md#%E6%9C%AC%E5%9C%B0%E9%83%A8%E7%BD%B2) ✅ | [分散デプロイ](https://github.com/xorbitsai/inference/blob/main/README_zh_CN.md#%E5%88%86%E5%B8%83%E5%BC%8F%E9%83%A8%E7%BD%B2) ✅ | [Xinference内蔵モデル](https://inference.readthedocs.io/en/latest/models/builtin/index.html) ✅ | [Xinference埋め込みモデル](https://github.com/xorbitsai/inference/blob/main/README_zh_CN.md#%E5%86%85%E7%BD%AE%E6%A8%A1%E5%9E%8B) ✅ | [Xorbits推論](https://github.com/xorbitsai/inference/blob/main/README_zh_CN.md) ✅ + * [OpenLLMでデプロイしたローカルモデルを統合](./development/models-integration/openllm) ✅ | [OpenLLM](https://github.com/bentoml/OpenLLM) ✅ | [サポートされているモデル一覧](https://github.com/bentoml/OpenLLM#-supported-models) ✅ | [OpenLLM](https://github.com/bentoml/OpenLLM) ✅ + * [LocalAIでデプロイしたローカルモデルを統合](./development/models-integration/localai) ✅ | [LocalAI](https://github.com/go-skynet/LocalAI) ✅ | [入門ガイド](https://localai.io/basics/getting_started/) ✅ | [LocalAI Data query example](https://github.com/go-skynet/LocalAI/blob/master/examples/langchain-chroma/README.md) ❌ + * [Ollamaでデプロイしたローカルモデルを統合](./development/models-integration/ollama) ✅ | [Ollama](https://github.com/jmorganca/ollama) ✅ | [https://ollama.com/download](https://ollama.com/download) ✅ | [Ollama Models](https://ollama.com/library) ✅ | [FAQ](#faq) ✅ | [Ollama](https://github.com/jmorganca/ollama) ✅ | [Ollama FAQ](https://github.com/ollama/ollama/blob/main/docs/faq.md) ✅ + * [LiteLLM Proxyを使用してモデルを統合する](./development/models-integration/litellm) ✅ | [LiteLLM Proxy](https://github.com/BerriAI/litellm) ✅ | [LiteLLM構成の設定方法のドキュメント - こちら](https://docs.litellm.ai/docs/proxy/configs) ✅ | [LiteLLM](https://github.com/BerriAI/litellm) ✅ | [LiteLLM Proxyサーバー](https://docs.litellm.ai/docs/simple_proxy) ✅ + * [GPUStackとの統合によるローカルモデルのデプロイ](./development/models-integration/gpustack) ✅ | [GPUStack](https://github.com/gpustack/gpustack) ✅ | [ドキュメント](https://docs.gpustack.ai) ✅ | [Github Repo](https://github.com/gpustack/gpustack) ✅ + * [AWS Bedrock上のモデル(DeepSeek)の接続](./development/models-integration/aws-bedrock-deepseek) ✅ | [AWS Bedrock マーケットプレイス](https://aws.amazon.com/bedrock/marketplace/) ✅ | [Bedrock](https://aws.amazon.com/bedrock/) ✅ | [Dify.AI アカウント](https://cloud.dify.ai/) ✅ +* [移行](./development/migration/README) ✅ + * [コミュニティ版を v1.0.0 に移行する](./development/migration/migrate-to-v1) ✅ | [v1.0.0](https://github.com/langgenius/dify/releases/tag/1.0.0) ✅ | [Dify プロジェクト](https://github.com/langgenius/dify) ✅ | [ドキュメント](../../getting-started/install-self-hosted/docker-compose) ✅ + +## もっと読む + +* [活用事例](./learn-more/use-cases/README) ✅ + * [DeepSeek & Dify連携ガイド:多段階推論を活用したAIアプリケーション構築](./learn-more/use-cases/integrate-deepseek-to-build-an-ai-app) ✅ | [DeepSeek + Difyのプライベートデプロイ:独自のAIアシスタントを構築](./private-ai-ollama-deepseek-dify) ✅ | [DeepSeek APIプラットフォーム](https://platform.deepseek.com/) ✅ | [ローカルデプロイガイド](./private-ai-ollama-deepseek-dify) ✅ | [検索拡張生成(RAG)](https://docs.dify.ai/zh-hans/learn-more/extended-reading/retrieval-augment) ✅ | [知識ベースの作成](https://docs.dify.ai/zh-hans/guides/knowledge-base/create-knowledge-and-upload-documents) ✅ | [ワークフロー](../../guides/workflow) ✅ | [ファイルのアップロード](../../guides/workflow/file-upload) ✅ | [DeepSeek + DifyをローカルにデプロイしてプライベートAIアシスタントを構築](./private-ai-ollama-deepseek-dify) ✅ + * [Ollama + DeepSeek + Dify のプライベートデプロイ:あなた自身のAIアシスタントの構築方法](./learn-more/use-cases/private-ai-ollama-deepseek-dify) ✅ | [Docker](https://www.docker.com/) ✅ | [Ollama](https://ollama.com/) ✅ | [Dify Community Edition](https://github.com/langgenius/dify) ✅ | [Ollama](https://ollama.com/) ✅ | [Ollamaの公式サイト](https://ollama.com/) ✅ | [Docker Composeでのデプロイ](https://docs.dify.ai/getting-started/install-self-hosted/docker-compose) ✅ | [よくある質問](https://docs.dify.ai/ja-jp/learn-more/use-cases/private-ai-ollama-deepseek-dify#id-1-docker-noer) ✅ | [DeepSeekモデルの仕様](https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Qwen-7B) ✅ | [ワークフローのドキュメント](https://docs.dify.ai/guides/workflow) ✅ | [ロードバランシング](https://docs.dify.ai/guides/model-configuration/load-balancing) ✅ | [エラー処理](https://docs.dify.ai/guides/workflow/error-handling) ✅ + * [あなた専用のQAチャットボットのトレーニング方法](./learn-more/use-cases/train-a-qa-chatbot-that-belongs-to-you) ✅ + * [コードなしでMidjourney プロンプトボットを作成する方法](./learn-more/use-cases/create-a-midjoureny-prompt-word-robot-with-zero-code) ✅ + * [Notion AI アシスタントを構築する](./learn-more/use-cases/build-an-notion-ai-assistant) ✅ | [Dify](https://dify.ai/jp) ✅ | [プロジェクト](https://github.com/langgenius/dify) ✅ + * [数分で業務データを持つ公式サイトのAIチャットボットを作成する方法](./learn-more/use-cases/create-an-ai-chatbot-with-business-data-in-minutes) ✅ + * [DifyチャットボットをWixサイトに統合する方法](./learn-more/use-cases/how-to-integrate-dify-chatbot-to-your-wix-website) ✅ | [Dify AIアプリケーション](https://docs.dify.ai/v/ja-jp/guides/application-orchestrate/creating-an-application) ✅ + * [AWS Bedrockのナレッジベースに統合する方法](./learn-more/use-cases/how-to-connect-aws-bedrock) ✅ | [AWS Bedrock](https://aws.amazon.com/bedrock/) ✅ | [API定義](../../guides/knowledge-base/external-knowledge-api-documentation) ✅ + * [Difyで大規模言語モデルの「競技場」を体験する方法:DeepSeek R1 VS o1 を例に](./learn-more/use-cases/dify-model-arena) ✅ | [複数モデルのデバッグ](../../guides/application-orchestrate/multiple-llms-debugging) ✅ | [「新しいプロバイダーを追加」](../../guides/model-configuration/README) ✅ | [複数モデルのデバッグ](../../guides/application-orchestrate/multiple-llms-debugging) ✅ + * [Difyスケジューラーの構築](./learn-more/use-cases/dify-schedule) ✅ | [Leo\_chen](https://github.com/leochen-g) ✅ | [Difyワークフロースケジューラー](https://github.com/leochen-g/dify-schedule) ✅ | [Smart WeChat Assistant](https://github.com/leochen-g/wechat-assistant-pro) ✅ | [Difyスケジュールのリポジトリ](https://github.com/leochen-g/dify-schedule) ✅ | [Pushplus](http://www.pushplus.plus/) ✅ | [Server Chan](https://sct.ftqq.com/) ✅ | [Smart WeChat Assistant](https://wechat.aibotk.com/?r=dBL0Bn\&f=difySchedule) ✅ | [プロジェクトリンク](https://github.com/whyour/qinglong) ✅ | [プロジェクトページ](https://github.com/whyour/qinglong) ✅ + * [DifyクラウドでAI Thesis Slack Botを構築](./learn-more/use-cases/building-an-ai-thesis-slack-bot) ✅ | [Slackの公式サイト](https://slack.com/intl/en-gb/get-started?entry_point=help_center#/createnew) ✅ | [Slack API管理ページ](https://api.slack.com/apps) ✅ +* [さらに読む](./learn-more/extended-reading/README) ✅ + * [LLMOpsとは何ですか?](./learn-more/extended-reading/what-is-llmops) ✅ + * [配列変数とは何ですか?](./learn-more/extended-reading/what-is-array-variable) ✅ | [ワークフロー - リスト操作](../../guides/workflow/node/list-operator) ✅ | [ワークフロー - イテレーション](../../guides/workflow/node/iteration) ✅ + * [検索拡張生成(RAG)](./learn-more/extended-reading/retrieval-augment/README) ✅ + * [ハイブリッド検索](./learn-more/extended-reading/retrieval-augment/hybrid-search) ✅ + * [Rerank](./learn-more/extended-reading/retrieval-augment/rerank) ✅ | [https://cohere.com/rerank](https://cohere.com/rerank) ✅ | [複数リコール](https://docs.dify.ai/v/ja-jp/guides/knowledge-base/integrate-knowledge-within-application#rikru) ✅ + * [リトリーバルモード](./learn-more/extended-reading/retrieval-augment/retrieval) ✅ | [Rerank](https://docs.dify.ai/v/ja-jp/learn-more/extended-reading/retrieval-augment/rerank) ✅ + * [プロンプトエンジニアリング](./learn-more/extended-reading/prompt-engineering) ✅ + * [DifyでJSONスキーマ出力を使用する方法](./learn-more/extended-reading/how-to-use-json-schema-in-dify) ✅ | [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs/introduction) ✅ | [こちら](https://platform.openai.com/docs/guides/structural-outputs/supported-schemas) ✅ | [AdditionalProperties: false](https://platform.openai.com/docs/guides/structurd-outputs/Additionalproperties-false-must-always-be-set-in-objects) ✅ | [Introduction to Structured Outputs](https://cookbook.openai.com/examples/structured\_outputs\_intro) ❌ | [Structured Output](https://platform.openai.com/docs/guides/structured-outputs/json-mode?context=without\_parse) ✅ +* [FAQ](./learn-more/faq/README) ✅ | [ローカルデプロイに関するよくある質問](./install-faq) ✅ | [LLMの設定と使用に関するよくある質問](./llms-use-faq) ✅ + * [ローカルデプロイに関するFAQ](./learn-more/faq/install-faq) ✅ | [環境変数](../../getting-started/install-self-hosted/environments) ✅ | [**Notion 統合構成アドレス**](https://www.notion.so/my-integrations) ✅ | [環境変数](../../getting-started/install-self-hosted/environments) ✅ | [環境変数](../../getting-started/install-self-hosted/environments) ✅ | [Issue](https://github.com/langgenius/dify/issues/1261) ✅ | [FFmpeg公式Webサイト](https://ffmpeg.org/download.html) ✅ | [こちらの記事](https://portswigger.net/web-security/ssrf) ✅ | [squid構成ドキュメント](http://www.squid-cache.org/Doc/config/) ✅ | [business@dify.ai](mailto:business@dify.ai) ✅ | [コンテンツ セキュリティ ポリシー](https://developer.mozilla.org/ja/docs/Web/HTTP/CSP) ✅ + * [LLM設定と使用に関するFAQ](./learn-more/faq/llms-use-faq) ✅ | [ドキュメント](https://platform.openai.com/docs/models/overview) ✅ | [コサイン類似度](https://en.wikipedia.org/wiki/Cosine_similarity) ✅ | [OpenAI公式ドキュメント](https://platform.openai.com/docs/guides/rate-limits) ✅ | [ドキュメント](https://docs.dify.ai/v/ja-jp/learn-more/faq/install-faq#id-11-rkarubjonnodtasettodedokyumentowoappurdosurunosaizutowosuruha) ✅ | [こちらのドキュメント](https://docs.dify.ai/v/ja-jp/guides/knowledge-base) ✅ | [OpenAI料金ドキュメント](https://openai.com/pricing) ✅ | [OpenAI公式ドキュメント](https://platform.openai.com/account/billing/overview) ✅ + * [プラグイン](./learn-more/faq/plugins) ✅ + +## ポリシー + +* [オープンソースライセンス](./policies/open-source) ✅ | [LICENSE](https://github.com/langgenius/dify/blob/main/LICENSE) ✅ | [business@dify.ai](mailto:business@dify.ai) ✅ +* [ユーザ規約](./policies/agreement/README) ✅ | [利用規約](https://dify.ai/terms) ✅ | [プライバシーポリシー](https://dify.ai/privacy) ✅ | [合規性レポートの入手方法](./get-compliance-report) ✅ + * [利用規約](https://dify.ai/terms) ✅ + * [プライバシーポリシー](https://dify.ai/privacy) ✅ + * [合規性レポートの入手方法](./policies/agreement/get-compliance-report) ✅ | [料金ページ](https://dify.ai/pricing) ✅ diff --git a/scripts/README.md b/scripts/README.md new file mode 100644 index 00000000..3de4d453 --- /dev/null +++ b/scripts/README.md @@ -0,0 +1,66 @@ +# Dify 文档工具脚本 + +此目录包含用于Dify文档维护的实用工具脚本。 + +## 可用脚本 + +### 1. 修复Markdown链接 (fix_markdown_links.py) + +此脚本用于自动修复Markdown文件中的相对路径引用,以符合Mintlify文档格式要求。它会: + +- 移除.md和.mdx文件后缀 +- 为同级目录文件引用添加./前缀 +- 正确处理相对路径和锚点 + +#### 使用方法 + +```bash +# 确保脚本有执行权限 +chmod +x scripts/fix_markdown_links.py + +# 处理整个文档目录 +./scripts/fix_markdown_links.py /Users/allen/Documents/dify-docs-mintlify + +# 或者处理特定子目录 +./scripts/fix_markdown_links.py /Users/allen/Documents/dify-docs-mintlify/zh-hans +``` + +也可以不设置执行权限,直接使用Python运行: + +```bash +python scripts/fix_markdown_links.py [directory] +``` + +如果不提供目录参数,将使用当前工作目录。 + +### 2. 交互式链接修复工具 (fix_links_interactive.py) + +这是一个高度交互式的工具,用于精确控制Markdown文件中的链接修复过程。该工具支持: + +- 单文件或目录处理 +- 修改预览 +- 选择性应用修改 +- 将相对路径转换为绝对路径 (/zh-hans/xxx 格式) +- 交互式确认每个文件和修改 + +#### 使用方法 + +```bash +# 确保脚本有执行权限 +chmod +x scripts/fix_links_interactive.py + +# 运行交互式工具 +./scripts/fix_links_interactive.py +``` + +也可以不设置执行权限,直接使用Python运行: + +```bash +python scripts/fix_links_interactive.py +``` + +脚本会引导你完成所有步骤,包括: +1. 选择处理单个文件或整个目录 +2. 输入文件或目录路径 +3. 预览修改内容 +4. 确认修改 diff --git a/scripts/fix_links_interactive.py b/scripts/fix_links_interactive.py new file mode 100644 index 00000000..69a8eb63 --- /dev/null +++ b/scripts/fix_links_interactive.py @@ -0,0 +1,365 @@ +#!/usr/bin/env python3 +""" +交互式Markdown链接修复工具 + +这个脚本用于交互式地修复Markdown文件中的相对路径引用,将它们转换为 +从根目录开始的绝对路径格式(如 /zh-hans/xxx),以符合Mintlify文档要求。 +脚本支持处理单个文件或指定目录内的所有.mdx文件。 + +特点: +- 交互式操作,精确可控 +- 提供修改预览 +- 支持单文件或目录处理 +- 将相对路径转换为绝对路径 +- 支持锚点保留 +- 移除文件扩展名 +""" + +import os +import re +import sys +from pathlib import Path +import glob + +# 正则表达式来匹配Markdown链接引用,支持.md和.mdx文件 +MD_LINK_PATTERN = re.compile(r'\[([^\]]+)\]\(([^)]+\.(md|mdx))(?:#([^)]*))?(\))') +REL_LINK_PATTERN = re.compile(r'\[([^\]]+)\]\(([^)/][^)]+)(?:#([^)]*))?(\))') # 匹配不以/开头的相对路径 + +# 颜色代码,用于美化终端输出 +class Colors: + HEADER = '\033[95m' + BLUE = '\033[94m' + CYAN = '\033[96m' + GREEN = '\033[92m' + WARNING = '\033[93m' + FAIL = '\033[91m' + ENDC = '\033[0m' + BOLD = '\033[1m' + UNDERLINE = '\033[4m' + + +def find_file_in_project(root_dir, rel_path, current_file_dir): + """ + 根据相对路径在项目中查找实际文件 + + Args: + root_dir: 项目根目录 + rel_path: 相对路径引用 + current_file_dir: 当前文件所在目录 + + Returns: + 找到的文件绝对路径,或None如果未找到 + """ + # 移除扩展名,稍后会添加回.mdx + if rel_path.endswith(('.md', '.mdx')): + extension = '.md' if rel_path.endswith('.md') else '.mdx' + rel_path = rel_path[:-len(extension)] + + # 如果是以../或./开头的相对路径 + if rel_path.startswith(('./','../')): + # 计算实际路径 + actual_path = os.path.normpath(os.path.join(current_file_dir, rel_path)) + + # 尝试匹配.mdx文件 + matches = glob.glob(f"{actual_path}.mdx") + if matches: + return matches[0] + + # 尝试匹配.md文件 + matches = glob.glob(f"{actual_path}.md") + if matches: + return matches[0] + + # 尝试在项目中搜索匹配的文件名 + basename = os.path.basename(rel_path) + # 搜索所有.mdx文件 + mdx_matches = [] + md_matches = [] + + for root, _, files in os.walk(root_dir): + for file in files: + if file.endswith('.mdx') and os.path.splitext(file)[0] == basename: + mdx_matches.append(os.path.join(root, file)) + elif file.endswith('.md') and os.path.splitext(file)[0] == basename: + md_matches.append(os.path.join(root, file)) + + # 优先使用.mdx文件 + if mdx_matches: + return mdx_matches[0] + elif md_matches: + return md_matches[0] + + return None + +def get_absolute_path(file_path, root_dir): + """ + 获取相对于项目根目录的绝对路径 + + Args: + file_path: 文件的完整路径 + root_dir: 项目根目录 + + Returns: + /zh-hans/xxx 格式的绝对路径 + """ + # 获取相对于根目录的路径 + rel_path = os.path.relpath(file_path, root_dir) + # 移除扩展名 + rel_path = os.path.splitext(rel_path)[0] + # 添加前导斜杠 + abs_path = f"/{rel_path}" + + return abs_path + +def process_file(file_path, root_dir, dry_run=False, auto_confirm=False): + """ + 处理单个Markdown文件中的链接引用 + + Args: + file_path: 要处理的文件路径 + root_dir: 项目根目录 + dry_run: 是否只预览修改,不实际写入 + auto_confirm: 是否自动确认所有修改 + + Returns: + 修改的链接数量 + """ + print(f"\n{Colors.HEADER}处理文件:{Colors.ENDC} {file_path}") + + # 获取文件内容 + try: + with open(file_path, 'r', encoding='utf-8') as f: + content = f.read() + except Exception as e: + print(f"{Colors.FAIL}错误: 无法读取文件 - {e}{Colors.ENDC}") + return 0 + + # 当前文件所在目录 + current_file_dir = os.path.dirname(file_path) + + # 存储所有要修改的内容 + changes = [] + + # 查找带有.md或.mdx后缀的链接 + for m in MD_LINK_PATTERN.finditer(content): + link_text = m.group(1) + link_path = m.group(2) + fragment = m.group(4) or "" # 锚点可能不存在 + full_match = m.group(0) + + # 跳过外部链接 + if link_path.startswith(('http://', 'https://', 'mailto:', 'ftp://')): + continue + + # 查找实际文件 + actual_file = find_file_in_project(root_dir, link_path, current_file_dir) + if actual_file: + # 转换为绝对路径 + abs_path = get_absolute_path(actual_file, root_dir) + fragment_text = f"#{fragment}" if fragment else "" + new_link = f"[{link_text}]({abs_path}{fragment_text})" + changes.append((full_match, new_link, actual_file)) + + # 查找其他相对路径链接(不带.md或.mdx后缀) + for m in REL_LINK_PATTERN.finditer(content): + link_text = m.group(1) + link_path = m.group(2) + fragment = m.group(3) or "" # 锚点可能不存在 + full_match = m.group(0) + + # 跳过已经是绝对路径的链接 + if link_path.startswith('/'): + continue + + # 跳过外部链接 + if link_path.startswith(('http://', 'https://', 'mailto:', 'ftp://')): + continue + + # 查找实际文件 + actual_file = find_file_in_project(root_dir, link_path, current_file_dir) + if actual_file: + # 转换为绝对路径 + abs_path = get_absolute_path(actual_file, root_dir) + fragment_text = f"#{fragment}" if fragment else "" + new_link = f"[{link_text}]({abs_path}{fragment_text})" + changes.append((full_match, new_link, actual_file)) + + # 如果没有找到需要修改的链接 + if not changes: + print(f"{Colors.GREEN}没有找到需要修改的链接{Colors.ENDC}") + return 0 + + # 显示找到的修改 + print(f"\n{Colors.BLUE}找到 {len(changes)} 个需要修改的链接:{Colors.ENDC}") + for i, (old, new, target) in enumerate(changes): + print(f"{Colors.CYAN}修改 {i+1}:{Colors.ENDC}") + print(f" - 原始链接: {Colors.WARNING}{old}{Colors.ENDC}") + print(f" - 新链接: {Colors.GREEN}{new}{Colors.ENDC}") + print(f" - 目标文件: {os.path.relpath(target, root_dir)}\n") + + # 如果是预览模式,返回 + if dry_run: + print(f"{Colors.BLUE}预览模式 - 未执行实际修改{Colors.ENDC}") + return len(changes) + + # 确认修改 + if not auto_confirm: + response = input(f"{Colors.BOLD}是否应用这些修改? (y/n/部分修改输入数字如1,3,5): {Colors.ENDC}") + + if response.lower() == 'n': + print(f"{Colors.BLUE}已取消修改{Colors.ENDC}") + return 0 + elif response.lower() == 'y': + selected_changes = changes + else: + try: + # 解析用户选择的修改索引 + indices = [int(i.strip()) - 1 for i in response.split(',')] + selected_changes = [changes[i] for i in indices if 0 <= i < len(changes)] + if not selected_changes: + print(f"{Colors.WARNING}未选择任何有效修改,操作取消{Colors.ENDC}") + return 0 + except: + print(f"{Colors.WARNING}输入格式有误,操作取消{Colors.ENDC}") + return 0 + else: + selected_changes = changes + + # 应用修改 + modified_content = content + for old, new, _ in selected_changes: + modified_content = modified_content.replace(old, new) + + # 写入文件 + try: + with open(file_path, 'w', encoding='utf-8') as f: + f.write(modified_content) + print(f"{Colors.GREEN}成功应用 {len(selected_changes)} 个修改到文件{Colors.ENDC}") + return len(selected_changes) + except Exception as e: + print(f"{Colors.FAIL}错误: 无法写入文件 - {e}{Colors.ENDC}") + return 0 + +def scan_directory(dir_path, root_dir, dry_run=False, auto_confirm=False): + """ + 扫描目录中的所有.mdx文件 + + Args: + dir_path: 要扫描的目录路径 + root_dir: 项目根目录 + dry_run: 是否只预览修改 + auto_confirm: 是否自动确认所有修改 + + Returns: + 处理的文件数量,修改的链接总数 + """ + file_count = 0 + total_changes = 0 + + print(f"{Colors.HEADER}扫描目录: {dir_path}{Colors.ENDC}") + + # 获取所有.mdx文件 + mdx_files = [] + for root, _, files in os.walk(dir_path): + for file in files: + if file.endswith('.mdx'): + mdx_files.append(os.path.join(root, file)) + + if not mdx_files: + print(f"{Colors.WARNING}在目录中未找到.mdx文件{Colors.ENDC}") + return 0, 0 + + print(f"{Colors.BLUE}找到 {len(mdx_files)} 个.mdx文件{Colors.ENDC}") + + # 处理每个文件 + for file_path in mdx_files: + # 显示文件的相对路径 + rel_path = os.path.relpath(file_path, root_dir) + print(f"\n{Colors.BOLD}处理文件 ({file_count+1}/{len(mdx_files)}): {rel_path}{Colors.ENDC}") + + # 询问是否处理此文件 + if not auto_confirm: + response = input(f"{Colors.BOLD}是否处理此文件? (y/n/q-退出): {Colors.ENDC}") + if response.lower() == 'n': + print(f"{Colors.BLUE}跳过此文件{Colors.ENDC}") + continue + elif response.lower() == 'q': + print(f"{Colors.BLUE}退出处理{Colors.ENDC}") + break + + # 处理文件 + changes = process_file(file_path, root_dir, dry_run, auto_confirm) + if changes > 0: + file_count += 1 + total_changes += changes + + return file_count, total_changes + +def main(): + """主程序入口""" + # 确定项目根目录 + script_dir = os.path.dirname(os.path.abspath(__file__)) + project_root = os.path.dirname(script_dir) # 脚本在scripts目录下,上一级是项目根目录 + + # 显示欢迎信息 + print(f"\n{Colors.HEADER}{'='*60}{Colors.ENDC}") + print(f"{Colors.HEADER} Mintlify文档链接修复工具 {Colors.ENDC}") + print(f"{Colors.HEADER}{'='*60}{Colors.ENDC}") + print(f"项目根目录: {project_root}\n") + + # 交互式菜单 + while True: + print(f"\n{Colors.BOLD}请选择操作模式:{Colors.ENDC}") + print("1. 处理单个文件") + print("2. 处理指定目录中的所有.mdx文件") + print("3. 退出") + + choice = input(f"{Colors.BOLD}请输入选项 (1-3): {Colors.ENDC}") + + if choice == '1': + # 处理单个文件 + file_path = input(f"{Colors.BOLD}请输入文件路径 (相对于项目根目录): {Colors.ENDC}") + file_path = os.path.join(project_root, file_path) + + if not os.path.isfile(file_path): + print(f"{Colors.FAIL}错误: 文件不存在{Colors.ENDC}") + continue + + # 询问是否只预览修改 + dry_run = input(f"{Colors.BOLD}是否只预览修改而不实际写入? (y/n): {Colors.ENDC}").lower() == 'y' + + # 处理文件 + changes = process_file(file_path, project_root, dry_run) + + print(f"\n{Colors.GREEN}处理完成! 共发现 {changes} 个需要修改的链接{Colors.ENDC}") + + elif choice == '2': + # 处理目录 + dir_path = input(f"{Colors.BOLD}请输入目录路径 (相对于项目根目录): {Colors.ENDC}") + dir_path = os.path.join(project_root, dir_path) + + if not os.path.isdir(dir_path): + print(f"{Colors.FAIL}错误: 目录不存在{Colors.ENDC}") + continue + + # 询问是否只预览修改 + dry_run = input(f"{Colors.BOLD}是否只预览修改而不实际写入? (y/n): {Colors.ENDC}").lower() == 'y' + + # 询问是否自动确认所有修改 + auto_confirm = input(f"{Colors.BOLD}是否自动确认所有修改? (y/n): {Colors.ENDC}").lower() == 'y' + + # 处理目录 + file_count, total_changes = scan_directory(dir_path, project_root, dry_run, auto_confirm) + + print(f"\n{Colors.GREEN}处理完成! 共处理 {file_count} 个文件,修改了 {total_changes} 个链接{Colors.ENDC}") + + elif choice == '3': + # 退出 + print(f"{Colors.BLUE}感谢使用,再见!{Colors.ENDC}") + break + + else: + print(f"{Colors.WARNING}无效选项,请重试{Colors.ENDC}") + +if __name__ == "__main__": + main() diff --git a/scripts/fix_markdown_links.py b/scripts/fix_markdown_links.py new file mode 100644 index 00000000..83b6f038 --- /dev/null +++ b/scripts/fix_markdown_links.py @@ -0,0 +1,203 @@ +#!/usr/bin/env python3 +""" +This script automatically fixes relative path references in Markdown files. +It searches for links to .md and .mdx files and replaces them with the correct format +for Mintlify documentation, changing links like [text](file.md) or [text](file.mdx) to [text](./file). + +使用方法: +1. 在命令行中运行: python fix_markdown_links.py [directory] +2. 如果不提供目录参数,将使用当前工作目录 + +脚本会递归扫描目录中的所有.md和.mdx文件,并自动修正链接路径: +- 移除.md和.mdx文件后缀 +- 为同级目录文件引用添加./前缀 +- 正确处理相对路径和锚点 +""" + +import os +import re +import sys +import time +from pathlib import Path + +# 开始计时 +start_time = time.time() + +# 正则表达式来匹配Markdown链接引用,支持.md和.mdx文件 +MD_LINK_PATTERN = re.compile(r'\[([^\]]+)\]\(([^)]+\.(md|mdx))(?:#[^)]*)?\)') + +# 是否应该处理这个文件的配置 +def should_process_file(file_path): + """检查指定文件是否应该处理""" + # 使用绝对路径 + abs_path = os.path.abspath(file_path) + + # 跳过特定目录,如.git目录 + if any(segment.startswith('.') and segment != '..' for segment in abs_path.split(os.sep)): + if '.git' in abs_path.split(os.sep): + return False + + return True + +def is_valid_path(path): + """检查给定的路径是否有效(不包含无效字符)""" + return not any(char in path for char in ['<', '>', ':', '"', '|', '?', '*']) + +def fix_md_links(content, source_path, root_dir): + """ + 修复内容中的Markdown链接 + + Args: + content (str): 文件内容 + source_path (Path): 源文件路径 + root_dir (Path): 项目根目录路径 + + Returns: + str: 修改后的内容 + int: 修改的链接数量 + """ + changes = 0 + source_dir = source_path.parent + + def replace_link(match): + nonlocal changes + + link_text = match.group(1) + link_path = match.group(2) + fragment = '' + + # 检查是否有锚点(#section) + if '#' in link_path: + link_path, fragment = link_path.split('#', 1) + fragment = f'#{fragment}' + + # 跳过外部链接 + if link_path.startswith(('http://', 'https://', 'mailto:', 'ftp://')): + return match.group(0) + + # 如果链接路径无效,保留原样 + if not is_valid_path(link_path): + print(f" 警告: 在 {source_path} 中发现无效链接路径: {link_path}") + return match.group(0) + + # 移除.md或.mdx后缀 + if link_path.endswith(('.md', '.mdx')): + # 获取文件后缀 + extension = '.md' if link_path.endswith('.md') else '.mdx' + # 移除后缀 + link_path = link_path[:-len(extension)] + + # 解析链接路径 + if link_path.startswith('/'): + # 绝对路径(从项目根开始) + abs_target_path = root_dir / link_path.lstrip('/') + rel_path = os.path.relpath(abs_target_path, source_dir) + elif link_path.startswith(('./', '../')): + # 已经是相对路径 + rel_path = link_path + else: + # 同级目录,添加./前缀 + rel_path = f'./{link_path}' + + # 构建新的链接 + new_link = f'[{link_text}]({rel_path}{fragment})' + + if new_link != match.group(0): + changes += 1 + print(f" 修改: {match.group(0)} -> {new_link}") + + return new_link + + # 替换所有匹配的链接 + new_content = MD_LINK_PATTERN.sub(replace_link, content) + + return new_content, changes + + + +def scan_directory(dir_path, root_dir, extensions=['.mdx', '.md']): + """扫描目录及其子目录中的Markdown文件""" + file_count = 0 + modified_count = 0 + total_links_modified = 0 + + for root, dirs, files in os.walk(dir_path): + # 跳过.git等特殊目录 + dirs[:] = [d for d in dirs if not d.startswith('.')] + + for file in files: + if any(file.endswith(ext) for ext in extensions): + file_path = os.path.join(root, file) + + # 检查文件是否应该处理 + if not should_process_file(file_path): + continue + + try: + # 记录当前修改计数 + with open(file_path, 'r', encoding='utf-8') as f: + content = f.read() + original_links = MD_LINK_PATTERN.findall(content) + + if not original_links: + # 没有需要处理的链接,跳过 + continue + + # 附加路径显示为相对根目录的路径 + rel_file_path = os.path.relpath(file_path, str(root_dir)) + print(f"处理文件: {rel_file_path} (有 {len(original_links)} 个链接)") + + # 处理文件 + try: + new_content, changes = fix_md_links(content, Path(file_path), root_dir) + + if changes > 0: + with open(file_path, 'w', encoding='utf-8') as f: + f.write(new_content) + print(f" 已修改 {changes} 个链接") + total_links_modified += changes + modified_count += 1 + else: + print(" 无需修改的链接") + except Exception as e: + print(f" 处理文件时出错: {e}") + + file_count += 1 + except Exception as e: + print(f" 跳过文件 {file_path}: {e}") + + return file_count, modified_count, total_links_modified + +def main(): + """程序入口点""" + if len(sys.argv) > 1: + root_dir = sys.argv[1] + else: + # 默认使用当前工作目录作为根目录 + root_dir = os.getcwd() + + root_dir = Path(root_dir) + print(f"开始处理目录: {root_dir}") + print("-" * 50) + + file_count, modified_count, total_links_modified = scan_directory(root_dir, root_dir) + + # 计算运行时间 + end_time = time.time() + duration = end_time - start_time + + print("-" * 50) + print(f"\n处理完成!") + print(f"共处理 {file_count} 个文件,修改了 {modified_count} 个文件中的 {total_links_modified} 个链接引用") + print(f"总耗时: {duration:.2f} 秒") + + if modified_count > 0: + print("\n修改的文件中的链接现在符合Mintlify格式要求:") + print(" - 移除了.md和.mdx文件后缀") + print(" - 为同级目录文件引用添加了./前缀") + print(" - 保留了锚点引用") + else: + print("\n没有发现需要修改的文件") + +if __name__ == "__main__": + main() diff --git a/zh-hans/community/contribution.mdx b/zh-hans/community/contribution.mdx index 9b1b0d9a..84908455 100644 --- a/zh-hans/community/contribution.mdx +++ b/zh-hans/community/contribution.mdx @@ -9,7 +9,7 @@ title: 成为贡献者 这份指南,就像 Dify 本身一样,是一个不断改进的工作。如果有时它落后于实际项目,我们非常感谢你的理解,并欢迎任何反馈以供我们改进。 -在许可方面,请花一分钟阅读我们简短的 [许可证和贡献者协议](https://github.com/langgenius/dify/blob/main/LICENSE)。社区还遵守 [行为准则](https://github.com/langgenius/.github/blob/main/CODE_OF_CONDUCT.md)。 +在许可方面,请花一分钟阅读我们简短的 [许可证和贡献者协议](https://github.com/langgenius/dify/blob/main/LICENSE)。社区还遵守 [行为准则](https://github.com/langgenius/.github/blob/main/CODE_OF_CONDUCT)。 ## 在开始之前 @@ -62,6 +62,7 @@ title: 成为贡献者 + ### 其他任何事情(例如 bug 报告、性能优化、拼写错误更正): * 立即开始编码。 @@ -100,7 +101,7 @@ Dify 依赖以下工具和库: ### 4. 安装 -Dify 由后端和前端组成。通过 `cd api/` 导航到后端目录,然后按照 [后端 README](https://github.com/langgenius/dify/blob/main/api/README.md) 进行安装。在另一个终端中,通过 `cd web/` 导航到前端目录,然后按照 [前端 README](https://github.com/langgenius/dify/blob/main/web/README.md) 进行安装。 +Dify 由后端和前端组成。通过 `cd api/` 导航到后端目录,然后按照 [后端 README](https://github.com/langgenius/dify/blob/main/api/README) 进行安装。在另一个终端中,通过 `cd web/` 导航到前端目录,然后按照 [前端 README](https://github.com/langgenius/dify/blob/main/web/README) 进行安装。 查看 [安装常见问题解答](/zh-hans/learn-more/faq/install-faq) 以获取常见问题列表和故障排除步骤。 @@ -174,7 +175,7 @@ Dify 的后端使用 Python 编写,使用 [Flask](https://flask.palletsproject 最后,是时候向我们的仓库提交一个拉取请求(PR)了。对于重要的功能,我们首先将它们合并到 `deploy/dev` 分支进行测试,然后再合并到 `main` 分支。如果你遇到合并冲突或者不知道如何提交拉取请求的问题,请查看 [GitHub 的拉取请求教程](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests)。 -就是这样!一旦你的 PR 被合并,你将成为我们 [README](https://github.com/langgenius/dify/blob/main/README_CN.md) 中的贡献者。 +就是这样!一旦你的 PR 被合并,你将成为我们 [README](https://github.com/langgenius/dify/blob/main/README_CN) 中的贡献者。 ## 获取帮助 diff --git a/zh-hans/development/backend/sandbox/README.mdx b/zh-hans/development/backend/sandbox/README.mdx index 2db8025a..c0072bdc 100644 --- a/zh-hans/development/backend/sandbox/README.mdx +++ b/zh-hans/development/backend/sandbox/README.mdx @@ -19,4 +19,4 @@ title: 简介 你可以直接访问[DifySandbox](https://github.com/langgenius/dify-sandbox)获取项目源码,并遵循项目文档进行部署和使用。 ### 贡献 -你可以参考[贡献指南](contribution.md)来参与到`DifySandbox`的开发中。 +你可以参考[贡献指南](contribution)来参与到`DifySandbox`的开发中。 diff --git a/zh-hans/development/models-integration/localai.mdx b/zh-hans/development/models-integration/localai.mdx index ae443921..756995eb 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/go-skynet/LocalAI/blob/master/examples/langchain-chroma/README)) 1. 首先拉取 LocalAI 代码仓库,并进入指定目录 diff --git a/zh-hans/development/models-integration/ollama.mdx b/zh-hans/development/models-integration/ollama.mdx index 6b0b6671..2dc7728c 100644 --- a/zh-hans/development/models-integration/ollama.mdx +++ b/zh-hans/development/models-integration/ollama.mdx @@ -140,4 +140,4 @@ Ollama 默认绑定 127.0.0.1 端口 11434。通过 `OLLAMA_HOST` 环境变量 如需获取 Ollama 更多信息,请参考 - [Ollama](https://github.com/jmorganca/ollama) -- [Ollama FAQ](https://github.com/ollama/ollama/blob/main/docs/faq.md) +- [Ollama FAQ](https://github.com/ollama/ollama/blob/main/docs/faq) diff --git a/zh-hans/development/models-integration/xinference.mdx b/zh-hans/development/models-integration/xinference.mdx index 9225bbf6..962d7e30 100644 --- a/zh-hans/development/models-integration/xinference.mdx +++ b/zh-hans/development/models-integration/xinference.mdx @@ -50,4 +50,4 @@ title: 接入 Xinference 部署的本地模型 Dify 同时支持将 [Xinference embed 模型](https://github.com/xorbitsai/inference/blob/main/README\_zh\_CN.md#%E5%86%85%E7%BD%AE%E6%A8%A1%E5%9E%8B) 作为 Embedding 模型使用,只需在配置框中选择 `Embeddings` 类型即可。 -如需获取 Xinference 更多信息,请参考:[Xorbits Inference](https://github.com/xorbitsai/inference/blob/main/README\_zh\_CN.md) +如需获取 Xinference 更多信息,请参考:[Xorbits Inference](https://github.com/xorbitsai/inference/blob/main/README\_zh\_CN) diff --git a/zh-hans/getting-started/install-self-hosted/docker-compose.mdx b/zh-hans/getting-started/install-self-hosted/docker-compose.mdx index 133708ac..1ffd1281 100644 --- a/zh-hans/getting-started/install-self-hosted/docker-compose.mdx +++ b/zh-hans/getting-started/install-self-hosted/docker-compose.mdx @@ -170,4 +170,4 @@ docker compose up -d ### 更多 -如果有疑问,请前往[常见问题](faq.md)帮助。 +如果有疑问,请前往[常见问题](faq)帮助。 diff --git a/zh-hans/getting-started/install-self-hosted/environments.mdx b/zh-hans/getting-started/install-self-hosted/environments.mdx index 999eb561..24dcf666 100644 --- a/zh-hans/getting-started/install-self-hosted/environments.mdx +++ b/zh-hans/getting-started/install-self-hosted/environments.mdx @@ -102,7 +102,8 @@ Flask 调试模式,开启可在接口输出 trace 信息,方便调试。 API 服务绑定端口号,默认 5001。 * SERVER_WORKER_AMOUNT - API 服务 Server worker 数量,即 gevent worker 数量,公式:`cpu 核心数 x 2 + 1` 可参考:https://docs.gunicorn.org/en/stable/design.html#how-many-workers + API 服务 Server worker 数量,即 gevent worker 数量,公式:`cpu 核心数 x 2 + 1` 可参考[文档](https://docs.gunicorn.org/en/stable/design.html#how-many-workers) + * SERVER_WORKER_CLASS 默认为 gevent,若为 windows,可以切换为 sync 或 solo。 @@ -199,7 +200,7 @@ Flask 调试模式,开启可在接口输出 trace 信息,方便调试。 WebAPP CORS 跨域策略,默认为 `*`,即所有域名均可访问。 -详细配置可参考:[跨域 / 身份相关指南](/zh-hans/learn-more/faq/install-faq#id-3.-an-zhuang-shi-hou-wu-fa-deng-lu-deng-lu-cheng-gong-dan-hou-xu-jie-kou-jun-ti-shi-401) +详细配置可参考:[跨域 / 身份相关指南](/zh-hans/learn-more/faq/install-faq#3-安装时后无法登录,登录成功,但后续接口均提示-401?) #### 文件存储配置 diff --git a/zh-hans/getting-started/install-self-hosted/faq.mdx b/zh-hans/getting-started/install-self-hosted/faq.mdx index 597838b1..07c8b01f 100644 --- a/zh-hans/getting-started/install-self-hosted/faq.mdx +++ b/zh-hans/getting-started/install-self-hosted/faq.mdx @@ -67,4 +67,4 @@ EXPOSE_NGINX_PORT=80 EXPOSE_NGINX_SSL_PORT=443 ``` -其他相关的部署问题请参考[本地部署相关](../../learn-more/faq/install-faq.md)。 +其他相关的部署问题请参考[本地部署相关](../../learn-more/faq/install-faq)。 diff --git a/zh-hans/getting-started/install-self-hosted/local-source-code.mdx b/zh-hans/getting-started/install-self-hosted/local-source-code.mdx index 6c2cf2e6..433ff750 100644 --- a/zh-hans/getting-started/install-self-hosted/local-source-code.mdx +++ b/zh-hans/getting-started/install-self-hosted/local-source-code.mdx @@ -38,7 +38,8 @@ title: 本地源码启动 -> 若需要使用 OpenAI TTS,需要在系统中安装 FFmpeg 才可正常使用,详情可参考:[Link](/zh-hans/learn-more/faq/install-faq#id-15.-wen-ben-zhuan-yu-yin-yu-dao-zhe-ge-cuo-wu-zen-me-ban)。 + +> 若需要使用 OpenAI TTS,需要在系统中安装 FFmpeg 才可正常使用,详情可参考:[常见问题](/zh-hans/learn-more/faq/install-faq#15-文本转语音遇到这个错误怎么办?)。 Clone Dify 代码: @@ -201,7 +202,7 @@ Web 前端服务启动需要用到 [Node.js v18.x (LTS)](http://nodejs.org) 、[ * 安装 NodeJS + NPM -进入 https://nodejs.org/en/download,选择对应操作系统的 v18.x 以上的安装包下载并安装,建议 stable 版本,已自带 NPM。 +进入 [Node 下载页](https://nodejs.org/en/download),选择对应操作系统的 v18.x 以上的安装包下载并安装,建议 stable 版本,已自带 NPM。 #### 启动步骤 diff --git a/zh-hans/getting-started/install-self-hosted/readme.mdx b/zh-hans/getting-started/install-self-hosted/readme.mdx index 32e84832..926981b0 100644 --- a/zh-hans/getting-started/install-self-hosted/readme.mdx +++ b/zh-hans/getting-started/install-self-hosted/readme.mdx @@ -7,10 +7,10 @@ Dify 社区版即开源版本,你可以通过以下两种方式之一部署 Di * [Docker Compose 部署](/zh-hans/getting-started/install-self-hosted/docker-compose) * [本地源码启动](/zh-hans/getting-started/install-self-hosted/local-source-code) -在 GitHub 上查看 [Dify 社区版](https://github.com/langgenius/dify)。 +在 GitHub 上查看 [Dify 社区版](https://github.com/langgenius/dify)开源代码。 ### 贡献代码 为了确保正确审查,所有代码贡献 - 包括来自具有直接提交更改权限的贡献者 - 都必须提交 PR 请求并在合并分支之前得到核心开发人员的批准。 -我们欢迎所有人提交 PR!如果你愿意提供帮助,可以在 [贡献指南](https://github.com/langgenius/dify/blob/main/CONTRIBUTING_CN.md) 中了解有关如何为项目做出贡献的更多信息。 +我们欢迎所有人提交 PR!如果你愿意提供帮助,可以在 [贡献指南](https://github.com/langgenius/dify/blob/main/CONTRIBUTING_CN) 中了解有关如何为项目做出贡献的更多信息。 diff --git a/zh-hans/guides/application-orchestrate/app-toolkits/readme.mdx b/zh-hans/guides/application-orchestrate/app-toolkits/readme.mdx index 2ead2e84..303e1717 100644 --- a/zh-hans/guides/application-orchestrate/app-toolkits/readme.mdx +++ b/zh-hans/guides/application-orchestrate/app-toolkits/readme.mdx @@ -4,7 +4,7 @@ title: 应用工具箱 在 **工作室 -- 应用编排** 内点击 **添加功能**,打开应用工具箱 -应用工具箱为 Dify 的[应用](../#application_type)提供了不同的附加功能: +应用工具箱为 Dify 的应用提供了不同的附加功能: ![](https://assets-docs.dify.ai/dify-enterprise-mintlify/zh_CN/guides/application-orchestrate/app-toolkits/87ac4bc0e0c2b9a36fba0fc2f0155905.png) @@ -36,16 +36,16 @@ title: 应用工具箱 开启功能后,当 LLM 引用知识库内容来回答问题时,可以在回复内容下面查看到具体的引用段落信息,包括原始分段文本、分段序号、匹配度等。 -具体介绍请查看[引用与归属](../../knowledge-base/retrieval-test-and-citation.md#id-2-yin-yong-yu-gui-shu)。 +具体介绍请查看[引用与归属](/zh-hans/guides/knowledge-base/retrieval-test-and-citation#id-2-yin-yong-yu-gui-shu)。 ### 内容审查 我们在与 AI 应用交互的过程中,往往在内容安全性,用户体验,法律法规等方面有较为苛刻的要求,此时我们需要“敏感内容审查”功能,来为终端用户创造一个更好的交互环境。 -具体介绍请查看[敏感内容审查](moderation-tool.md)。 +具体介绍请查看[敏感内容审查](/zh-hans/guides/application-orchestrate/app-toolkits/moderation-tool)。 ### 标注回复 标注回复功能通过人工编辑标注为应用提供了可定制的高质量问答回复能力。 -查看[标注回复](../../annotation/annotation-reply.md) +查看[标注回复](/zh-hans/guides/annotation/annotation-reply) diff --git a/zh-hans/guides/application-orchestrate/chatbot-application.mdx b/zh-hans/guides/application-orchestrate/chatbot-application.mdx index 71cbbd50..bd2d4531 100644 --- a/zh-hans/guides/application-orchestrate/chatbot-application.mdx +++ b/zh-hans/guides/application-orchestrate/chatbot-application.mdx @@ -45,14 +45,10 @@ title: 聊天助手 编辑开场白时,还可以添加数个开场问题: -![](https://assets-docs.dify.ai/dify-enterprise-mintlify/zh_CN/guides/application-orchestrate/c74a502465c8f68b0c65d40abb4c71d4.png) - #### 添加上下文 如果想要让 AI 的对话范围局限在[知识库](../knowledge-base/)内,例如企业内的客服话术规范,可以在“上下文”内引用知识库。 -![](<../../.gitbook/assets/image (108) (1).png>) - #### 添加文件上传 部分多模态 LLM 已原生支持处理文件,例如 [Claude 3.5 Sonnet](https://docs.anthropic.com/en/docs/build-with-claude/pdf-support) 或 [Gemini 1.5 Pro](https://ai.google.dev/api/files)。你可以在 LLM 的官方网站了解文件上传能力的支持情况。 @@ -67,7 +63,7 @@ title: 聊天助手 ![](https://assets-docs.dify.ai/dify-enterprise-mintlify/zh_CN/guides/application-orchestrate/21640904df527d7487b4ac646738971b.png) -若 LLM 给出的回答结果不理想,你可以调整提示词或切换不同底层模型进行效果对比。如需更进一步,同时查看不同模型对于同一个问题的回答情况,请参考[多模型调试](./multiple-llms-debugging.md)。 +若 LLM 给出的回答结果不理想,你可以调整提示词或切换不同底层模型进行效果对比。如需更进一步,同时查看不同模型对于同一个问题的回答情况,请参考[多模型调试](./multiple-llms-debugging)。 #### 发布应用 diff --git a/zh-hans/guides/application-orchestrate/creating-an-application.mdx b/zh-hans/guides/application-orchestrate/creating-an-application.mdx index 18cd73ac..2d53f90a 100644 --- a/zh-hans/guides/application-orchestrate/creating-an-application.mdx +++ b/zh-hans/guides/application-orchestrate/creating-an-application.mdx @@ -8,23 +8,17 @@ title: 创建应用 * 创建一个空白应用 * 通过 DSL 文件(本地/在线)创建应用 -### 从模板创建应用 +## 从模板创建应用 初次使用 Dify 时,你可能对于应用创建比较陌生。为了帮助新手用户快速了解在 Dify 上能够构建哪些类型的应用,Dify 团队内的提示词工程师已经创建好了多场景、高质量的应用模板。 你可以从导航选择 「工作室 」,在应用列表内选择 「从模版创建」。 -![从模板创建应用](https://assets-docs.dify.ai/dify-enterprise-mintlify/zh_CN/guides/application-orchestrate/6405fc6c267146c6be0cb779a7838504.png) - -任意选择某个模板,并将其添加至工作区。 - -### 创建一个新应用 +#### 创建一个新应用 如果你需要在 Dify 上创建一个空白应用,你可以从导航选择 「工作室」 ,在应用列表内选择 「从空白创建 」。 -![](https://assets-docs.dify.ai/2024/12/bfee6805544a811553c5fe8d28227694.png) - -Dify 上可以创建 4 种不同的应用类型,分别是聊天助手、文本生成应用、Agent 和工作流。 +Dify 上可以创建 5 种不同的应用类型,分别是聊天助手、文本生成应用、Agent、Chatflow 和 Workflow。 创建应用时,你需要给应用起一个名字、选择合适的图标,或者上传喜爱的图片用作图标、使用一段清晰的文字描述此应用的用途,以便后续应用在团队内的使用。 @@ -36,28 +30,28 @@ Dify 上可以创建 4 种不同的应用类型,分别是聊天助手、文本 allowfullscreen > -![](https://assets-docs.dify.ai/2024/12/1429eb56e0082c281f7aaeb48e72cb0f.png) - ### 通过 DSL 文件创建应用 Dify DSL 是由 Dify.AI 所定义的 AI 应用工程文件标准,文件格式为 YML。该标准涵盖应用在 Dify 内的基本描述、模型参数、编排配置等信息。 -#### 本地导入 + + + 如果你从社区或其它人那里获得了一个应用模版(DSL 文件),可以从工作室选择 「 导入DSL 文件 」。DSL 文件导入后将直接加载原应用的所有配置信息。 + + ![导入 DSL 文件创建应用](https://assets-docs.dify.ai/dify-enterprise-mintlify/zh_CN/guides/application-orchestrate/6615ef40b8c0027563a5a4ca0c315ff1.png) + + + 你也可以通过 URL 导入 DSL 文件,参考的链接格式: -如果你从社区或其它人那里获得了一个应用模版(DSL 文件),可以从工作室选择 「 导入DSL 文件 」。DSL 文件导入后将直接加载原应用的所有配置信息。 + ```url + https://example.com/your_dsl.yml + ``` -![导入 DSL 文件创建应用](https://assets-docs.dify.ai/dify-enterprise-mintlify/zh_CN/guides/application-orchestrate/6615ef40b8c0027563a5a4ca0c315ff1.png) + ![通过 URL 导入 DSL 文件](https://assets-docs.dify.ai/dify-enterprise-mintlify/zh_CN/guides/application-orchestrate/63d45c8f397dd65258dd4b322f0a43fa.jpeg) -#### URL 导入 + > 导入 DSL 文件时将校对文件版本号。如果 DSL 版本号差异较大,有可能会出现兼容性问题。详细说明请参考 [应用管理:导入](https://docs.dify.ai/zh-hans/guides/management/app-management#dao-ru-ying-yong)。 + + -你也可以通过 URL 导入 DSL 文件,参考的链接格式: - -```url -https://example.com/your_dsl.yml -``` - -![通过 URL 导入 DSL 文件](https://assets-docs.dify.ai/dify-enterprise-mintlify/zh_CN/guides/application-orchestrate/63d45c8f397dd65258dd4b322f0a43fa.jpeg) - -> 导入 DSL 文件时将校对文件版本号。如果 DSL 版本号差异较大,有可能会出现兼容性问题。详细说明请参考 [应用管理:导入](https://docs.dify.ai/zh-hans/guides/management/app-management#dao-ru-ying-yong)。 diff --git a/zh-hans/guides/application-orchestrate/multiple-llms-debugging.mdx b/zh-hans/guides/application-orchestrate/multiple-llms-debugging.mdx index 26c0b14d..95d1ee73 100644 --- a/zh-hans/guides/application-orchestrate/multiple-llms-debugging.mdx +++ b/zh-hans/guides/application-orchestrate/multiple-llms-debugging.mdx @@ -2,7 +2,6 @@ title: 多模型调试 --- - 聊天助手应用类型支持 **“多个模型进行调试”** 功能,你可以同时批量检视不同模型对于相同问题的回答效果。 ![](https://assets-docs.dify.ai/dify-enterprise-mintlify/zh_CN/guides/application-orchestrate/d0de3f1edca55af986a6b213876ed3ff.png) diff --git a/zh-hans/guides/knowledge-base/create-knowledge-and-upload-documents/chunking-and-cleaning-text.mdx b/zh-hans/guides/knowledge-base/create-knowledge-and-upload-documents/chunking-and-cleaning-text.mdx index 0d76b48f..88c4b11b 100644 --- a/zh-hans/guides/knowledge-base/create-knowledge-and-upload-documents/chunking-and-cleaning-text.mdx +++ b/zh-hans/guides/knowledge-base/create-knowledge-and-upload-documents/chunking-and-cleaning-text.mdx @@ -59,7 +59,7 @@ LLM 收到用户问题后,能否精准地回答出知识库中的内容,取 ![通用模式](https://assets-docs.dify.ai/2024/12/b3ec2ce860550563234ca22967abdd17.png) -分段规则设置完成后,接下来需指定索引方式。支持"高质量索引"和"经济索引",详细说明请参考[设定索引方法](setting-indexing-methods.md)。 +分段规则设置完成后,接下来需指定索引方式。支持"高质量索引"和"经济索引",详细说明请参考[设定索引方法](setting-indexing-methods)。 #### **父子模式** diff --git a/zh-hans/guides/knowledge-base/create-knowledge-and-upload-documents/readme.mdx b/zh-hans/guides/knowledge-base/create-knowledge-and-upload-documents/readme.mdx index 67c9e6ef..bf07796f 100644 --- a/zh-hans/guides/knowledge-base/create-knowledge-and-upload-documents/readme.mdx +++ b/zh-hans/guides/knowledge-base/create-knowledge-and-upload-documents/readme.mdx @@ -23,7 +23,7 @@ title: 知识库创建步骤 5. 等待分段嵌入 -6. 完成上传,在应用内关联知识库并使用。你可以参考[在应用内集成知识库](../integrate-knowledge-within-application.md),搭建出能够基于知识库进行问答的 LLM 应用。如需修改或管理知识库,请参考[知识库管理与文档维护](../knowledge-and-documents-maintenance/)。 +6. 完成上传,在应用内关联知识库并使用。你可以参考[在应用内集成知识库](../integrate-knowledge-within-application),搭建出能够基于知识库进行问答的 LLM 应用。如需修改或管理知识库,请参考[知识库管理与文档维护](../knowledge-and-documents-maintenance/)。 ![完成知识库的创建](https://assets-docs.dify.ai/2024/12/a3362a1cd384cb2b539c9858de555518.png) diff --git a/zh-hans/guides/knowledge-base/knowledge-and-documents-maintenance.mdx b/zh-hans/guides/knowledge-base/knowledge-and-documents-maintenance.mdx index 232142d7..5b384295 100644 --- a/zh-hans/guides/knowledge-base/knowledge-and-documents-maintenance.mdx +++ b/zh-hans/guides/knowledge-base/knowledge-and-documents-maintenance.mdx @@ -29,7 +29,7 @@ version: '简体中文' ### 使用 API 维护知识库 -Dify 知识库提供整套标准 API ,开发者通过 API 调用对知识库内的文档、分段进行增删改查等日常管理维护操作,请参考[知识库 API 文档](maintain-dataset-via-api.md)。 +Dify 知识库提供整套标准 API ,开发者通过 API 调用对知识库内的文档、分段进行增删改查等日常管理维护操作,请参考[知识库 API 文档](maintain-dataset-via-api)。 diff --git a/zh-hans/guides/knowledge-base/knowledge-base-creation/upload-documents.mdx b/zh-hans/guides/knowledge-base/knowledge-base-creation/upload-documents.mdx index cf2c9dbb..b4d9941d 100644 --- a/zh-hans/guides/knowledge-base/knowledge-base-creation/upload-documents.mdx +++ b/zh-hans/guides/knowledge-base/knowledge-base-creation/upload-documents.mdx @@ -225,7 +225,7 @@ version: '简体中文' ## 5 完成上传 -配置完上文所述的各项配置后,轻点“保存并处理”即可完成知识库的创建。你可以参考 [在应用内集成知识库](integrate-knowledge-within-application.md),搭建出能够基于知识库进行问答的 LLM 应用。 +配置完上文所述的各项配置后,轻点“保存并处理”即可完成知识库的创建。你可以参考 [在应用内集成知识库](integrate-knowledge-within-application),搭建出能够基于知识库进行问答的 LLM 应用。 *** diff --git a/zh-hans/guides/management/personal-account-management.mdx b/zh-hans/guides/management/personal-account-management.mdx index 4b14f0af..83c3736e 100644 --- a/zh-hans/guides/management/personal-account-management.mdx +++ b/zh-hans/guides/management/personal-account-management.mdx @@ -37,4 +37,4 @@ version: '简体中文' * Bahasa Indonesia * Українська(Україна) -Dify 欢迎更多社区志愿者一同参与贡献更多语言版本,前往[ Github 代码仓库](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md)进行贡献! +Dify 欢迎更多社区志愿者一同参与贡献更多语言版本,前往[ Github 代码仓库](https://github.com/langgenius/dify/blob/main/CONTRIBUTING)进行贡献! diff --git a/zh-hans/guides/model-configuration/customizable-model.mdx b/zh-hans/guides/model-configuration/customizable-model.mdx index d144f24b..a1712781 100644 --- a/zh-hans/guides/model-configuration/customizable-model.mdx +++ b/zh-hans/guides/model-configuration/customizable-model.mdx @@ -2,6 +2,9 @@ title: 自定义模型接入 --- + + “工具”已全面升级为“插件”生态,模型插件的详细开发说明请参考[插件开发](/zh-hans/plugins/quick-start/develop-plugins/model-plugin/README)。以下内容已归档。 + ### 介绍 @@ -300,4 +303,4 @@ provider_credential_schema: """ ``` -接口方法说明见:[Interfaces](https://github.com/langgenius/dify/blob/main/api/core/model\_runtime/docs/zh\_Hans/interfaces.md),具体实现可参考:[llm.py](https://github.com/langgenius/dify-runtime/blob/main/lib/model_providers/anthropic/llm/llm.py)。 +接口方法说明见:[Interfaces](https://github.com/langgenius/dify/blob/main/api/core/model\_runtime/docs/zh\_Hans/interfaces),具体实现可参考:[llm.py](https://github.com/langgenius/dify-runtime/blob/main/lib/model_providers/anthropic/llm/llm.py)。 diff --git a/zh-hans/guides/model-configuration/interfaces.mdx b/zh-hans/guides/model-configuration/interfaces.mdx index 2117ae43..4c3222c6 100644 --- a/zh-hans/guides/model-configuration/interfaces.mdx +++ b/zh-hans/guides/model-configuration/interfaces.mdx @@ -2,6 +2,9 @@ title: 接口方法 --- + + “工具”已全面升级为“插件”生态,模型插件的详细开发说明请参考[插件开发](/zh-hans/plugins/quick-start/develop-plugins/model-plugin/README)。以下内容已归档。 + 这里介绍供应商和各模型类型需要实现的接口方法和参数说明。 diff --git a/zh-hans/guides/model-configuration/new-provider.mdx b/zh-hans/guides/model-configuration/new-provider.mdx index 64633c29..311385cc 100644 --- a/zh-hans/guides/model-configuration/new-provider.mdx +++ b/zh-hans/guides/model-configuration/new-provider.mdx @@ -2,6 +2,9 @@ title: 增加新供应商 --- + + “工具”已全面升级为“插件”生态,模型插件的详细开发说明请参考[插件开发](/zh-hans/plugins/quick-start/develop-plugins/model-plugin/README)。以下内容已归档。 + ### 供应商配置方式 @@ -33,7 +36,7 @@ title: 增加新供应商 新增一个供应商主要分为几步,这里简单列出,帮助大家有一个大概的认识,具体的步骤会在下面详细介绍。 -* 创建供应商 yaml 文件,根据 [Provider Schema](https://github.com/langgenius/dify/blob/main/api/core/model\_runtime/docs/zh\_Hans/schema.md) 编写。 +* 创建供应商 yaml 文件,根据 [Provider Schema](https://github.com/langgenius/dify/blob/main/api/core/model\_runtime/docs/zh\_Hans/schema) 编写。 * 创建供应商代码,实现一个`class`。 * 根据模型类型,在供应商`module`下创建对应的模型类型 `module`,如`llm`或`text_embedding`。 * 根据模型类型,在对应的模型`module`下创建同名的代码文件,如`llm.py`,并实现一个`class`。 @@ -82,7 +85,7 @@ provider_credential_schema: # 供应商凭据规则,由于 Anthropic 仅支 en_US: Enter your API URL ``` -如果接入的供应商提供自定义模型,比如`OpenAI`提供微调模型,那么我们就需要添加[`model_credential_schema`](https://github.com/langgenius/dify/blob/main/api/core/model\_runtime/docs/zh\_Hans/schema.md),以`OpenAI`为例: +如果接入的供应商提供自定义模型,比如`OpenAI`提供微调模型,那么我们就需要添加[`model_credential_schema`](https://github.com/langgenius/dify/blob/main/api/core/model\_runtime/docs/zh\_Hans/schema),以`OpenAI`为例: ```yaml model_credential_schema: @@ -122,7 +125,7 @@ model_credential_schema: en_US: Enter your API Base ``` -也可以参考`model_providers`目录下其他供应商目录下的 [YAML 配置信息](https://github.com/langgenius/dify/blob/main/api/core/model\_runtime/docs/zh\_Hans/schema.md)。 +也可以参考`model_providers`目录下其他供应商目录下的 [YAML 配置信息](https://github.com/langgenius/dify/blob/main/api/core/model\_runtime/docs/zh\_Hans/schema)。 **实现供应商代码** diff --git a/zh-hans/guides/model-configuration/predefined-model.mdx b/zh-hans/guides/model-configuration/predefined-model.mdx index 739bbcf6..ceb2e156 100644 --- a/zh-hans/guides/model-configuration/predefined-model.mdx +++ b/zh-hans/guides/model-configuration/predefined-model.mdx @@ -2,6 +2,9 @@ title: 预定义模型接入 --- + + “工具”已全面升级为“插件”生态,模型插件的详细开发说明请参考[插件开发](/zh-hans/plugins/quick-start/develop-plugins/model-plugin/README)。以下内容已归档。 + 供应商集成完成后,接下来为供应商下模型的接入。 @@ -169,7 +172,7 @@ pricing: # 价格信息 """ ``` -接口方法说明见:[Interfaces](https://github.com/langgenius/dify/blob/main/api/core/model\_runtime/docs/zh\_Hans/interfaces.md),具体实现可参考:[llm.py](https://github.com/langgenius/dify-runtime/blob/main/lib/model_providers/anthropic/llm/llm.py)。 +接口方法说明见:[Interfaces](https://github.com/langgenius/dify/blob/main/api/core/model\_runtime/docs/zh\_Hans/interfaces),具体实现可参考:[llm.py](https://github.com/langgenius/dify-runtime/blob/main/lib/model_providers/anthropic/llm/llm.py)。 [^1]: #### Provider diff --git a/zh-hans/guides/model-configuration/readme.mdx b/zh-hans/guides/model-configuration/readme.mdx index 41c65f66..faed0cf1 100644 --- a/zh-hans/guides/model-configuration/readme.mdx +++ b/zh-hans/guides/model-configuration/readme.mdx @@ -2,6 +2,10 @@ title: 接入大模型简介 --- + + “工具”已全面升级为“插件”生态,模型插件的详细开发说明请参考[插件开发](/zh-hans/plugins/quick-start/develop-plugins/model-plugin/README)。以下内容已归档。 + + Dify 是基于大语言模型的 AI 应用开发平台,初次使用时你需要先在 Dify 的 **设置 -- 模型供应商** 页面内添加并配置所需要的模型。 @@ -69,10 +73,10 @@ Dify 使用了 [PKCS1_OAEP](https://pycryptodome.readthedocs.io/en/latest/src/ci 托管类型的供应商上面有很多第三方模型。接入模型需要一个个的添加。具体接入方式如下: -* [Hugging Face](../../development/models-integration/hugging-face.md) -* [Replicate](../../development/models-integration/replicate.md) -* [Xinference](../../development/models-integration/xinference.md) -* [OpenLLM](../../development/models-integration/openllm.md) +* [Hugging Face](../../development/models-integration/hugging-face) +* [Replicate](../../development/models-integration/replicate) +* [Xinference](../../development/models-integration/xinference) +* [OpenLLM](../../development/models-integration/openllm) ### 使用模型 diff --git a/zh-hans/guides/model-configuration/schema.md b/zh-hans/guides/model-configuration/schema.md deleted file mode 100644 index 681f49c4..00000000 --- a/zh-hans/guides/model-configuration/schema.md +++ /dev/null @@ -1,208 +0,0 @@ -# 配置规则 - -- 供应商规则基于 [Provider](#Provider) 实体。 - -- 模型规则基于 [AIModelEntity](#AIModelEntity) 实体。 - -> 以下所有实体均基于 `Pydantic BaseModel`,可在 `entities` 模块中找到对应实体。 - -### Provider - -- `provider` (string) 供应商标识,如:`openai` -- `label` (object) 供应商展示名称,i18n,可设置 `en_US` 英文、`zh_Hans` 中文两种语言 - - `zh_Hans ` (string) [optional] 中文标签名,`zh_Hans` 不设置将默认使用 `en_US`。 - - `en_US` (string) 英文标签名 -- `description` (object) [optional] 供应商描述,i18n - - `zh_Hans` (string) [optional] 中文描述 - - `en_US` (string) 英文描述 -- `icon_small` (string) [optional] 供应商小 ICON,存储在对应供应商实现目录下的 `_assets` 目录,中英文策略同 `label` - - `zh_Hans` (string) [optional] 中文 ICON - - `en_US` (string) 英文 ICON -- `icon_large` (string) [optional] 供应商大 ICON,存储在对应供应商实现目录下的 _assets 目录,中英文策略同 label - - `zh_Hans `(string) [optional] 中文 ICON - - `en_US` (string) 英文 ICON -- `background` (string) [optional] 背景颜色色值,例:#FFFFFF,为空则展示前端默认色值。 -- `help` (object) [optional] 帮助信息 - - `title` (object) 帮助标题,i18n - - `zh_Hans` (string) [optional] 中文标题 - - `en_US` (string) 英文标题 - - `url` (object) 帮助链接,i18n - - `zh_Hans` (string) [optional] 中文链接 - - `en_US` (string) 英文链接 -- `supported_model_types` (array[[ModelType](#ModelType)]) 支持的模型类型 -- `configurate_methods` (array[[ConfigurateMethod](#ConfigurateMethod)]) 配置方式 -- `provider_credential_schema` ([ProviderCredentialSchema](#ProviderCredentialSchema)) 供应商凭据规格 -- `model_credential_schema` ([ModelCredentialSchema](#ModelCredentialSchema)) 模型凭据规格 - -### AIModelEntity - -- `model` (string) 模型标识,如:`gpt-3.5-turbo` -- `label` (object) [optional] 模型展示名称,i18n,可设置 `en_US` 英文、`zh_Hans` 中文两种语言 - - `zh_Hans `(string) [optional] 中文标签名 - - `en_US` (string) 英文标签名 -- `model_type` ([ModelType](#ModelType)) 模型类型 -- `features` (array[[ModelFeature](#ModelFeature)]) [optional] 支持功能列表 -- `model_properties` (object) 模型属性 - - `mode` ([LLMMode](#LLMMode)) 模式 (模型类型 `llm` 可用) - - `context_size` (int) 上下文大小 (模型类型 `llm` `text-embedding` 可用) - - `max_chunks` (int) 最大分块数量 (模型类型 `text-embedding ` `moderation` 可用) - - `file_upload_limit` (int) 文件最大上传限制,单位:MB。(模型类型 `speech2text` 可用) - - `supported_file_extensions` (string) 支持文件扩展格式,如:mp3,mp4(模型类型 `speech2text` 可用) - - `default_voice` (string) 缺省音色,必选:alloy,echo,fable,onyx,nova,shimmer(模型类型 `tts` 可用) - - `voices` (list) 可选音色列表。 - - `mode` (string) 音色模型。(模型类型 `tts` 可用) - - `name` (string) 音色模型显示名称。(模型类型 `tts` 可用) - - `language` (string) 音色模型支持语言。(模型类型 `tts` 可用) - - `word_limit` (int) 单次转换字数限制,默认按段落分段(模型类型 `tts` 可用) - - `audio_type` (string) 支持音频文件扩展格式,如:mp3,wav(模型类型 `tts` 可用) - - `max_workers` (int) 支持文字音频转换并发任务数(模型类型 `tts` 可用) - - `max_characters_per_chunk` (int) 每块最大字符数 (模型类型 `moderation` 可用) -- `parameter_rules` (array[[ParameterRule](#ParameterRule)]) [optional] 模型调用参数规则 -- `pricing` ([PriceConfig](#PriceConfig)) [optional] 价格信息 -- `deprecated` (bool) 是否废弃。若废弃,模型列表将不再展示,但已经配置的可以继续使用,默认 False。 - -### ModelType - -- `llm` 文本生成模型 -- `text-embedding` 文本 Embedding 模型 -- `rerank` Rerank 模型 -- `speech2text` 语音转文字 -- `tts` 文字转语音 -- `moderation` 审查 - -### ConfigurateMethod - -- `predefined-model ` 预定义模型 - - 表示用户只需要配置统一的供应商凭据即可使用供应商下的预定义模型。 -- `customizable-model` 自定义模型 - - 用户需要新增每个模型的凭据配置。 - -- `fetch-from-remote` 从远程获取 - - 与 `predefined-model` 配置方式一致,只需要配置统一的供应商凭据即可,模型通过凭据信息从供应商获取。 - -### ModelFeature - -- `agent-thought` Agent 推理,一般超过 70B 有思维链能力。 -- `vision` 视觉,即:图像理解。 -- `tool-call` 工具调用 -- `multi-tool-call` 多工具调用 -- `stream-tool-call` 流式工具调用 - -### FetchFrom - -- `predefined-model` 预定义模型 -- `fetch-from-remote` 远程模型 - -### LLMMode - -- `completion` 文本补全 -- `chat` 对话 - -### ParameterRule - -- `name` (string) 调用模型实际参数名 - -- `use_template` (string) [optional] 使用模板 - - 默认预置了 5 种变量内容配置模板: - - - `temperature` - - `top_p` - - `frequency_penalty` - - `presence_penalty` - - `max_tokens` - - 可在 use_template 中直接设置模板变量名,将会使用 entities.defaults.PARAMETER_RULE_TEMPLATE 中的默认配置 - 不用设置除 `name` 和 `use_template` 之外的所有参数,若设置了额外的配置参数,将覆盖默认配置。 - 可参考 `openai/llm/gpt-3.5-turbo.yaml`。 - -- `label` (object) [optional] 标签,i18n - - - `zh_Hans`(string) [optional] 中文标签名 - - `en_US` (string) 英文标签名 - -- `type`(string) [optional] 参数类型 - - - `int` 整数 - - `float` 浮点数 - - `string` 字符串 - - `boolean` 布尔型 - -- `help` (string) [optional] 帮助信息 - - - `zh_Hans` (string) [optional] 中文帮助信息 - - `en_US` (string) 英文帮助信息 - -- `required` (bool) 是否必填,默认 False。 - -- `default`(int/float/string/bool) [optional] 默认值 - -- `min`(int/float) [optional] 最小值,仅数字类型适用 - -- `max`(int/float) [optional] 最大值,仅数字类型适用 - -- `precision`(int) [optional] 精度,保留小数位数,仅数字类型适用 - -- `options` (array[string]) [optional] 下拉选项值,仅当 `type` 为 `string` 时适用,若不设置或为 null 则不限制选项值 - -### PriceConfig - -- `input` (float) 输入单价,即 Prompt 单价 -- `output` (float) 输出单价,即返回内容单价 -- `unit` (float) 价格单位,如以 1M tokens 计价,则单价对应的单位 token 数为 `0.000001` -- `currency` (string) 货币单位 - -### ProviderCredentialSchema - -- `credential_form_schemas` (array[[CredentialFormSchema](#CredentialFormSchema)]) 凭据表单规范 - -### ModelCredentialSchema - -- `model` (object) 模型标识,变量名默认 `model` - - `label` (object) 模型表单项展示名称 - - `en_US` (string) 英文 - - `zh_Hans`(string) [optional] 中文 - - `placeholder` (object) 模型提示内容 - - `en_US`(string) 英文 - - `zh_Hans`(string) [optional] 中文 -- `credential_form_schemas` (array[[CredentialFormSchema](#CredentialFormSchema)]) 凭据表单规范 - -### CredentialFormSchema - -- `variable` (string) 表单项变量名 -- `label` (object) 表单项标签名 - - `en_US`(string) 英文 - - `zh_Hans` (string) [optional] 中文 -- `type` ([FormType](#FormType)) 表单项类型 -- `required` (bool) 是否必填 -- `default`(string) 默认值 -- `options` (array[[FormOption](#FormOption)]) 表单项为 `select` 或 `radio` 专有属性,定义下拉内容 -- `placeholder`(object) 表单项为 `text-input `专有属性,表单项 PlaceHolder - - `en_US`(string) 英文 - - `zh_Hans` (string) [optional] 中文 -- `max_length` (int) 表单项为`text-input`专有属性,定义输入最大长度,0 为不限制。 -- `show_on` (array[[FormShowOnObject](#FormShowOnObject)]) 当其他表单项值符合条件时显示,为空则始终显示。 - -### FormType - -- `text-input` 文本输入组件 -- `secret-input` 密码输入组件 -- `select` 单选下拉 -- `radio` Radio 组件 -- `switch` 开关组件,仅支持 `true` 和 `false` - -### FormOption - -- `label` (object) 标签 - - `en_US`(string) 英文 - - `zh_Hans`(string) [optional] 中文 -- `value` (string) 下拉选项值 -- `show_on` (array[[FormShowOnObject](#FormShowOnObject)]) 当其他表单项值符合条件时显示,为空则始终显示。 - -### FormShowOnObject - -- `variable` (string) 其他表单项变量名 -- `value` (string) 其他表单项变量值 diff --git a/zh-hans/guides/model-configuration/schema.mdx b/zh-hans/guides/model-configuration/schema.mdx index ef7262a3..f4aefd18 100644 --- a/zh-hans/guides/model-configuration/schema.mdx +++ b/zh-hans/guides/model-configuration/schema.mdx @@ -2,6 +2,9 @@ title: 配置规则 --- + + “工具”已全面升级为“插件”生态,模型插件的详细开发说明请参考[插件开发](/zh-hans/plugins/quick-start/develop-plugins/model-plugin/README)。以下内容已归档。 + - 供应商规则基于 [Provider](#Provider) 实体。 diff --git a/zh-hans/guides/tools/community/siliconflow.mdx b/zh-hans/guides/tools/community/siliconflow.mdx index 0c732784..6b9f1564 100644 --- a/zh-hans/guides/tools/community/siliconflow.mdx +++ b/zh-hans/guides/tools/community/siliconflow.mdx @@ -25,7 +25,7 @@ SiliconCloud 基于优秀的开源基础模型,提供高性价比的 GenAI 服 Chatflow 和 Workflow 应用均支持添加 `SiliconFlow` 工具节点。 -将用户输入的内容通过[变量](../../workflow/variables.md)传递至 Siliconflow 工具的 Flux 或 Stable Diffusion 节点内的“提示词”“负面提示词”框中,按照需求调整内置参数,最后在“结束”节点的回复框中选中 Siliconflow 工具节点的输出内容(文本、图片等)。 +将用户输入的内容通过[变量](../../workflow/variables)传递至 Siliconflow 工具的 Flux 或 Stable Diffusion 节点内的“提示词”“负面提示词”框中,按照需求调整内置参数,最后在“结束”节点的回复框中选中 Siliconflow 工具节点的输出内容(文本、图片等)。 diff --git a/zh-hans/guides/tools/introduction.mdx b/zh-hans/guides/tools/introduction.mdx index d11b5da1..e1d02256 100644 --- a/zh-hans/guides/tools/introduction.mdx +++ b/zh-hans/guides/tools/introduction.mdx @@ -25,7 +25,7 @@ Dify 目前已支持:
工具工具描述
谷歌搜索用于执行 Google SERP 搜索并提取片段和网页的工具,输入应该是一个搜索查询
维基百科用于执行维基百科搜索并提取片段和网页的工具
DALL-E 绘画用于通过自然语言输入生成高质量图片
网页抓取用于爬取网页数据的工具
WolframAlpha一个强大的计算知识引擎,能根据问题直接给出标准化答案,同时具有强大的数学计算功能
图表生成用于生成可视化图表的工具,你可以通过它来生成柱状图、折线图、饼图等各类图表
当前时间用于查询当前时间的工具
雅虎财经获取并整理出最新的新闻、股票报价等一切你想要的财经信息
Stable Diffusion一个可以在本地部署的图片生成的工具,您可以使用 stable-diffusion-webui 来部署它
Vectorizer一个将 PNG 和 JPG 图像快速轻松地转换为 SVG 矢量图的工具
YouTube一个用于获取油管频道视频统计数据的工具
-欢迎您为 Dify 贡献自己开发的工具,关于如何贡献的具体方法请查看 [Dify 开发贡献文档](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md),您的任何支持对我们都是极为宝贵的。 +欢迎您为 Dify 贡献自己开发的工具,关于如何贡献的具体方法请查看 [Dify 开发贡献文档](https://github.com/langgenius/dify/blob/main/CONTRIBUTING),您的任何支持对我们都是极为宝贵的。 diff --git a/zh-hans/guides/workflow/additional-feature.mdx b/zh-hans/guides/workflow/additional-feature.mdx index 67cae2e1..41c3e20a 100644 --- a/zh-hans/guides/workflow/additional-feature.mdx +++ b/zh-hans/guides/workflow/additional-feature.mdx @@ -55,7 +55,7 @@ Chatflow 类型应用支持以下功能: * **文字转语音** - 在问答文字框中添加一个音频播放按钮,使用 TTS 服务(需在[模型供应商](../../getting-started/readme/model-providers.md)内置)并朗读其中的文字。 + 在问答文字框中添加一个音频播放按钮,使用 TTS 服务(需在[模型供应商](../../getting-started/readme/model-providers)内置)并朗读其中的文字。 * **文件上传** @@ -65,11 +65,11 @@ Chatflow 类型应用支持以下功能: * **引用和归属** - 常用于配合["知识检索"](node/knowledge-retrieval.md)节点共同使用,显示 LLM 给出答复的参考源文档及归属部分。 + 常用于配合["知识检索"](node/knowledge-retrieval)节点共同使用,显示 LLM 给出答复的参考源文档及归属部分。 * **内容审查** - 支持使用审查 API 维护敏感词库,确保 LLM 能够回应和输出安全内容,详细说明请参考[敏感内容审查](../application-orchestrate/app-toolkits/moderation-tool.md)。 + 支持使用审查 API 维护敏感词库,确保 LLM 能够回应和输出安全内容,详细说明请参考[敏感内容审查](../application-orchestrate/app-toolkits/moderation-tool)。 **用法:** @@ -89,10 +89,10 @@ Chatflow 类型应用支持以下功能: * **文档文件** -LLM 并不具备直接读取文档文件的能力,因此需要使用 [文档提取器](node/doc-extractor.md) 节点预处理 `sys.files` 变量内的文件。编排步骤如下: +LLM 并不具备直接读取文档文件的能力,因此需要使用 [文档提取器](node/doc-extractor) 节点预处理 `sys.files` 变量内的文件。编排步骤如下: 1. 开启 Features 功能,并在文件类型中仅勾选 "文档"。 -2. 在[文档提取器](node/doc-extractor.md)节点的输入变量中选中 `sys.files` 变量。 +2. 在[文档提取器](node/doc-extractor)节点的输入变量中选中 `sys.files` 变量。 3. 添加 LLM 节点,在系统提示词中选中文档提取器节点的输出变量。 4. 在末尾添加 "直接回复" 节点,填写 LLM 节点的输出变量。 @@ -114,7 +114,7 @@ LLM 并不具备直接读取文档文件的能力,因此需要使用 [文档 * **混合文件类型** -若希望应用具备同时处理文档文件 + 图片文件的能力,需要用到 [列表操作](node/list-operator.md) 节点预处理 `sys.files` 变量内的文件,提取更加精细的变量后发送至对应的处理节点。编排步骤如下: +若希望应用具备同时处理文档文件 + 图片文件的能力,需要用到 [列表操作](node/list-operator) 节点预处理 `sys.files` 变量内的文件,提取更加精细的变量后发送至对应的处理节点。编排步骤如下: 1. 开启 Features 功能,并在文件类型中勾选 "图片" + "文档文件" 类型。 2. 添加两个列表操作节点,在 "过滤" 条件中提取图片与文档变量。 @@ -127,4 +127,4 @@ LLM 并不具备直接读取文档文件的能力,因此需要使用 [文档 * **音视频文件** -LLM 尚未支持直接读取音视频文件,Dify 平台也尚未内置相关文件处理工具。应用开发者可以参考 [外部数据工具](../extension/api-based-extension/external-data-tool.md) 接入工具自行处理文件信息。 \ No newline at end of file +LLM 尚未支持直接读取音视频文件,Dify 平台也尚未内置相关文件处理工具。应用开发者可以参考 [外部数据工具](../extension/api-based-extension/external-data-tool) 接入工具自行处理文件信息。 \ No newline at end of file diff --git a/zh-hans/guides/workflow/bulletin.mdx b/zh-hans/guides/workflow/bulletin.mdx index 5f84db99..4b070c8c 100644 --- a/zh-hans/guides/workflow/bulletin.mdx +++ b/zh-hans/guides/workflow/bulletin.mdx @@ -4,13 +4,13 @@ description: 作者:Evanchen,Allen。 --- -图片上传功能已被纳入至更加综合的[文件上传](file-upload.md)功能中,为了避免出现功能重复,我们决定对 Workflow 和 Chatflow 应用的“[附加功能](additional-features.md)”进行升级和调整: +图片上传功能已被纳入至更加综合的[文件上传](file-upload)功能中,为了避免出现功能重复,我们决定对 Workflow 和 Chatflow 应用的“[附加功能](additional-features)”进行升级和调整: * 移除 Chatflow 应用“功能”中的图片上传选项,取而代之的是新的“文件上传”功能。你可以在“文件上传”功能内选择图片文件类型。同时,应用对话框中的图片上传 icon 也被替换为文件上传 icon。 ![](https://assets-docs.dify.ai/dify-enterprise-mintlify/zh_CN/guides/workflow/90c0e2d9ac9c16b493bb4793b90df548.png) -* 将在未来**停用 Workflow 应用“功能”中的图片上传选项**以及移除 `sys.files` [变量](variables.md),目前这两项功能已被标记为 `LEGACY`,建议应用开发者改用自定义文件变量为 Workflow 应用添加文件上传功能。 +* 将在未来**停用 Workflow 应用“功能”中的图片上传选项**以及移除 `sys.files` [变量](variables),目前这两项功能已被标记为 `LEGACY`,建议应用开发者改用自定义文件变量为 Workflow 应用添加文件上传功能。 ![](https://assets-docs.dify.ai/dify-enterprise-mintlify/zh_CN/guides/workflow/befa0580cd0b7ab312c2fe85f6fc2ac7.png) @@ -41,7 +41,7 @@ Dify 此前仅支持上传图片文件。而在最新的版本中,已提供更 ![](https://assets-docs.dify.ai/dify-enterprise-mintlify/zh_CN/guides/workflow/93f533be37a1f936879379fcaabc2b45.png) -如果你希望在 Chatflow 应用中添加“图片上传”功能,请在功能中开启“文件上传”,仅勾选“图片”类型。然后在 LLM 节点中启用 Vision 功能,并在其中填写 `sys.files` 变量。此时输入框将出现“回形针”的上传入口,详细说明请参考 [附加功能](additional-features.md)。 +如果你希望在 Chatflow 应用中添加“图片上传”功能,请在功能中开启“文件上传”,仅勾选“图片”类型。然后在 LLM 节点中启用 Vision 功能,并在其中填写 `sys.files` 变量。此时输入框将出现“回形针”的上传入口,详细说明请参考 [附加功能](additional-features)。 ![](https://assets-docs.dify.ai/dify-enterprise-mintlify/zh_CN/guides/workflow/e64569e7d240bf453308e86ec0573178.png) @@ -49,7 +49,7 @@ Dify 此前仅支持上传图片文件。而在最新的版本中,已提供更 如果你已创建 Workflow 应用并启用了“图片上传”功能,并在 LLM 节点中开启 Vision 功能,此次变动当下不会产生任何影响但你需要做正式下线前完成手动迁移。 -如果希望为 Workflow 应用开启“图片上传”功能,请在[开始](node/start.md)节点中添加文件变量。然后在后续的节点中引用该文件变量,不再继续使用 `sys.files` 变量。 +如果希望为 Workflow 应用开启“图片上传”功能,请在[开始](node/start)节点中添加文件变量。然后在后续的节点中引用该文件变量,不再继续使用 `sys.files` 变量。 #### 对于Dify 社区版或本地部署的企业版用户: @@ -59,13 +59,13 @@ Dify 此前仅支持上传图片文件。而在最新的版本中,已提供更 已启用“图片上传”功能的 Chatflow 应用将自动完成切换,无需变更。 -如果你希望在 Chatflow 应用中添加“图片上传”功能,详细说明请参考[附加功能](additional-features.md)。 +如果你希望在 Chatflow 应用中添加“图片上传”功能,详细说明请参考[附加功能](additional-features)。 * Workflow 应用 已创建的 Workflow 应用不会产生任何影响,但是请在正式下线前完成手动迁移。 -如果希望为 Workflow 应用开启“图片上传”功能,请在[开始](node/start.md)节点中添加文件变量。然后在后续的节点中引用该文件变量,不再继续使用 `sys.files` 变量。 +如果希望为 Workflow 应用开启“图片上传”功能,请在[开始](node/start)节点中添加文件变量。然后在后续的节点中引用该文件变量,不再继续使用 `sys.files` 变量。 ### 常见问题 diff --git a/zh-hans/guides/workflow/concepts.mdx b/zh-hans/guides/workflow/concepts.mdx index e98680d4..49330a81 100644 --- a/zh-hans/guides/workflow/concepts.mdx +++ b/zh-hans/guides/workflow/concepts.mdx @@ -1,6 +1,5 @@ --- title: 关键概念 -version: '简体中文' --- ### 节点 diff --git a/zh-hans/guides/workflow/error-handling/predefined-nodes-failure-logic.mdx b/zh-hans/guides/workflow/error-handling/predefined-nodes-failure-logic.mdx index 007c2371..ca69ca08 100644 --- a/zh-hans/guides/workflow/error-handling/predefined-nodes-failure-logic.mdx +++ b/zh-hans/guides/workflow/error-handling/predefined-nodes-failure-logic.mdx @@ -4,10 +4,10 @@ title: 预定义异常处理逻辑 以下四种类型的节点提供应对异常情况的预处理逻辑编排能力: -* [LLM](../node/llm.md) -* [HTTP](../node/http-request.md) -* [代码](../node/code.md) -* [工具](../node/tools.md) +* [LLM](../node/llm) +* [HTTP](../node/http-request) +* [代码](../node/code) +* [工具](../node/tools) 异常处理机制提供以下三种预定义编排逻辑选项: diff --git a/zh-hans/guides/workflow/error-handling/readme.mdx b/zh-hans/guides/workflow/error-handling/readme.mdx index 10d01bb6..aae50484 100644 --- a/zh-hans/guides/workflow/error-handling/readme.mdx +++ b/zh-hans/guides/workflow/error-handling/readme.mdx @@ -28,10 +28,10 @@ title: 异常处理 以下四个类型的节点新增异常处理机制,点击标题即可阅读详细文档: -* [LLM](../node/llm.md) -* [HTTP](../node/http-request.md) -* [代码](../node/code.md) -* [工具](../node/tools.md) +* [LLM](../node/llm) +* [HTTP](../node/http-request) +* [代码](../node/code) +* [工具](../node/tools) **异常重试** @@ -51,7 +51,7 @@ title: 异常处理 • **异常分支**:发生异常后,执行预编排的异常分支 -如需了解各个策略的说明和配置方法,请参考[预定义异常处理逻辑](predefined-nodes-failure-logic.md)。 +如需了解各个策略的说明和配置方法,请参考[预定义异常处理逻辑](predefined-nodes-failure-logic)。 ![Error handling](https://assets-docs.dify.ai/2024/12/6e2655949889d4d162945d840d698649.png) diff --git a/zh-hans/guides/workflow/file-upload.mdx b/zh-hans/guides/workflow/file-upload.mdx index c3512840..3b444934 100644 --- a/zh-hans/guides/workflow/file-upload.mdx +++ b/zh-hans/guides/workflow/file-upload.mdx @@ -36,13 +36,13 @@ version: '简体中文' ### 快速开始 -Dify 支持在 [ChatFlow](key-concept.md#chatflow-he-workflow) 和 [WorkFlow](key-concept.md#chatflow-he-workflow) 类型应用中上传文件,并通过[变量](variables.md)交由 LLM 处理。应用开发者可以参考以下方法为应用开启文件上传功能: +Dify 支持在 [ChatFlow](key-concept.md#chatflow-he-workflow) 和 [WorkFlow](key-concept.md#chatflow-he-workflow) 类型应用中上传文件,并通过[变量](variables)交由 LLM 处理。应用开发者可以参考以下方法为应用开启文件上传功能: * 在 Workflow 应用中: - * 在 ["开始节点"](node/start.md) 添加文件变量 + * 在 ["开始节点"](node/start) 添加文件变量 * 在 ChatFlow 应用中: - * 在 ["附加功能"](additional-features.md) 中开启文件上传,允许在聊天窗中直接上传文件 - * 在 ["开始节点"](node/start.md) 添加文件变量 + * 在 ["附加功能"](additional-features) 中开启文件上传,允许在聊天窗中直接上传文件 + * 在 ["开始节点"](node/start) 添加文件变量 * 注意:这两种方法可以同时配置,它们是彼此独立的。附加功能中的文件上传设置(包括上传方式和数量限制)不会影响开始节点中的文件变量。例如只想通过开始节点创建文件变量,则无需开启附加功能中的文件上传功能。 这两种方法为应用提供了灵活的文件上传选项,以满足不同场景的需求。 @@ -69,12 +69,12 @@ file variables 和 array[file] variables 支持以下文件类型与格式: Chatflow应用中文件上传功能的设置界面 -开启该功能并不意味着赋予 LLM 直接读取文件的能力,还需要配备[**文档提取器**](node/doc-extractor.md)将文档解析为文本供 LLM 理解。 +开启该功能并不意味着赋予 LLM 直接读取文件的能力,还需要配备[**文档提取器**](node/doc-extractor)将文档解析为文本供 LLM 理解。 * 对于音频文件,可以使用 gpt-4o-audio-preview 等支持多模态输入的模型直接处理音频,无需额外的提取器。 -* 对于视频和其他文件类型,暂无对应的提取器,需要应用开发者接入[外部工具](../tools/advanced-tool-integration.md)进行处理 +* 对于视频和其他文件类型,暂无对应的提取器,需要应用开发者接入[外部工具](../tools/advanced-tool-integration)进行处理 -2. 添加[文档提取器](node/doc-extractor.md)节点,在输入变量中选中 `sys.files` 变量。 +2. 添加[文档提取器](node/doc-extractor)节点,在输入变量中选中 `sys.files` 变量。 3. 添加 LLM 节点,在系统提示词中选中文档提取器节点的输出变量。 4. 在末尾添加 "直接回复" 节点,填写 LLM 节点的输出变量。 @@ -94,7 +94,7 @@ file variables 和 array[file] variables 支持以下文件类型与格式: #### 1. 在"开始"节点添加文件变量 -在应用的["开始"](node/start.md)节点内添加输入字段,选择 **"单文件"** 或 **"文件列表"** 字段类型的变量。 +在应用的["开始"](node/start)节点内添加输入字段,选择 **"单文件"** 或 **"文件列表"** 字段类型的变量。