mirror of
https://github.com/langgenius/dify-docs-archived.git
synced 2026-07-01 20:35:52 -04:00
Fix several minor errors in plugin docs (#576)
* Docs: fix minor format errors in plugin introduction * Docs: fix links for model plugin integration steps in README files * Docs: fix links for model integration instructions in multiple languages * Docs: add missing content references for tool, agent, and model in schema definition README files * Docs: empty commit for merge issue --------- Co-authored-by: AllenWriter <allen@dify.ai>
This commit is contained in:
@@ -64,5 +64,5 @@ Taking OpenAI as an example, which supports multiple model types:
|
||||
Please follow these steps to create a model plugin, click the document titles for specific creation guides:
|
||||
|
||||
1. [Create Model Provider](create-model-providers.md)
|
||||
2. Integrate [Predefined](../../../guides/model-configuration/predefined-model.md)/[Custom](../../../guides/model-configuration/customizable-model.md) Models
|
||||
2. Integrate [Predefined](predefined-model.md)/[Custom](customizable-model.md) Models
|
||||
3. [Debug Plugin](../../debug-plugin.md)
|
||||
|
||||
@@ -221,5 +221,5 @@ class XinferenceProvider(Provider):
|
||||
|
||||
After initializing the model provider, the next step is to integrate specific llm models provided by the provider. For detailed instructions, please refer to:
|
||||
|
||||
* [Develop Predefined Models](../../../../guides/model-configuration/predefined-model.md)
|
||||
* [Develop Custom Models](../../../../guides/model-configuration/customizable-model.md)
|
||||
* [Develop Predefined Models](predefined-model.md)
|
||||
* [Develop Custom Models](customizable-model.md)
|
||||
|
||||
@@ -8,6 +8,14 @@
|
||||
[endpoint.md](endpoint.md)
|
||||
{% endcontent-ref %}
|
||||
|
||||
{% content-ref url="tool.md" %}
|
||||
[tool.md](tool.md)
|
||||
{% endcontent-ref %}
|
||||
|
||||
{% content-ref url="agent.md" %}
|
||||
[agent.md](agent.md)
|
||||
{% endcontent-ref %}
|
||||
|
||||
{% content-ref url="model/" %}
|
||||
[model](model/)
|
||||
{% endcontent-ref %}
|
||||
|
||||
@@ -63,6 +63,6 @@ OpenAIを例にとると、複数のモデルタイプをサポートしてい
|
||||
|
||||
モデルプラグインを作成するには、以下の手順に従ってください。具体的な作成ガイドは、各ドキュメントのタイトルをクリックして参照してください。
|
||||
|
||||
1. [モデルプロバイダーの作成](create-model-providers.md)
|
||||
2. [事前定義済み](../../../guides/model-configuration/predefined-model.md)モデル、または[カスタム](../../../guides/model-configuration/customizable-model.md)モデルの統合
|
||||
3. [モデルプラグインのデバッグ](../../debug-plugin.md)
|
||||
1. [モデルプロバイダーの作成](create-model-providers.md)
|
||||
2. [事前定義済み](integrate-the-predefined-model.md)モデル、または[カスタム](customizable-model.md)モデルの統合
|
||||
3. [モデルプラグインのデバッグ](../../debug-plugin.md)
|
||||
|
||||
@@ -239,5 +239,5 @@ class XinferenceProvider(Provider):
|
||||
|
||||
モデルプロバイダーを初期化した後、プロバイダーが提供する具体的なLLMモデルを接続する必要があります。詳細については、以下を参照してください。
|
||||
|
||||
* [定義済みモデルの接続](../../../../guides/model-configuration/predefined-model.md)
|
||||
* [カスタムモデルの接続](../../../../guides/model-configuration/customizable-model.md)
|
||||
* [定義済みモデルの接続](integrate-the-predefined-model.md)
|
||||
* [カスタムモデルの接続](customizable-model.md)
|
||||
|
||||
@@ -8,8 +8,16 @@
|
||||
[endpoint.md](endpoint.md)
|
||||
{% endcontent-ref %}
|
||||
|
||||
{% content-ref url="reverse-invocation-of-the-dify-service/model.md" %}
|
||||
[model.md](reverse-invocation-of-the-dify-service/model.md)
|
||||
{% content-ref url="tool.md" %}
|
||||
[tool.md](tool.md)
|
||||
{% endcontent-ref %}
|
||||
|
||||
{% content-ref url="agent.md" %}
|
||||
[agent.md](agent.md)
|
||||
{% endcontent-ref %}
|
||||
|
||||
{% content-ref url="model/" %}
|
||||
[model](model/)
|
||||
{% endcontent-ref %}
|
||||
|
||||
{% content-ref url="general-specifications.md" %}
|
||||
|
||||
@@ -8,7 +8,7 @@ description: 'Author: Yeuoly, Allen'
|
||||
|
||||
### 什么是插件?
|
||||
|
||||
这是一个对开发者更加友好,可扩展性更强的第三方服务扩展模块。虽然 Dify 平台已内置多个由官方维护与社区贡献者开发的工具,但现有的工具难以全面覆盖各类细分场景的需求,而一个新工具的开发到嵌入 至平台又需要较长周期。
|
||||
这是一个对开发者更加友好,可扩展性更强的第三方服务扩展模块。虽然 Dify 平台已内置多个由官方维护与社区贡献者开发的工具,但现有的工具难以全面覆盖各类细分场景的需求,而一个新工具的开发到嵌入至平台又需要较长周期。
|
||||
|
||||
为了让开发过程更加敏捷,我们决定开放生态并提供完善的插件开发 SDK,让每位开发者都能够轻松地打造属于自己的工具,轻松使用**第三方模型与工具**,显著提升应用能力。
|
||||
|
||||
@@ -51,7 +51,7 @@ description: 'Author: Yeuoly, Allen'
|
||||
|
||||
插件系统提供了完善的开发和调试支持:
|
||||
|
||||
* 支持主流 IDE 和调试工具,仅需配置一些简单的环境变量,即可远程连接一个 Dify 实例。甚至支持连接 Dify 的 SaaS 服务,此时你在 Dify 中对该插件的任何操作都会被转发至你的本地运行
|
||||
* 支持主流 IDE 和调试工具,仅需配置一些简单的环境变量,即可远程连接一个 Dify 实例。甚至支持连接 Dify 的 SaaS 服务,此时你在 Dify 中对该插件的任何操作都会被转发至你的本地运行。
|
||||
* **持久化存储数据**
|
||||
|
||||
为支持复杂应用场景,插件系统全新引入了数据持久化存储能力:
|
||||
|
||||
@@ -23,11 +23,11 @@ Model 模型插件使 Dify 平台能够调用该模型供应商下的所有 LLM
|
||||
```bash
|
||||
- Anthropic
|
||||
- llm
|
||||
claude-3-5-sonnet-20240620
|
||||
claude-3-5-sonnet-20240620
|
||||
claude-3-haiku-20240307
|
||||
claude-3-opus-20240229
|
||||
claude-3-sonnet-20240229
|
||||
claude-instant-1.2
|
||||
claude-3-opus-20240229
|
||||
claude-3-sonnet-20240229
|
||||
claude-instant-1.2
|
||||
claude-instant-1
|
||||
```
|
||||
|
||||
@@ -64,5 +64,5 @@ Model 模型插件使 Dify 平台能够调用该模型供应商下的所有 LLM
|
||||
请参考以下顺序阅读文档,了解如何开发一个模型插件。
|
||||
|
||||
1. [创建模型供应商](create-model-providers.md)
|
||||
2. 接入[预定义](../../../../guides/model-configuration/predefined-model.md) / [自定义](customizable-model.md)模型
|
||||
2. 接入[预定义](integrate-the-predefined-model.md) / [自定义](customizable-model.md)模型
|
||||
3. [调试插件](../../debug-plugin.md)
|
||||
|
||||
@@ -240,5 +240,5 @@ class XinferenceProvider(Provider):
|
||||
|
||||
初始化模型供应商后,接下来需要接入供应商所提供的具体 llm 模型。详细说明请参考以下内容:
|
||||
|
||||
* [接入预定义模型](../../../../guides/model-configuration/predefined-model.md)
|
||||
* [接入自定义模型](../../../../guides/model-configuration/customizable-model.md)
|
||||
* [接入预定义模型](integrate-the-predefined-model.md)
|
||||
* [接入自定义模型](customizable-model.md)
|
||||
|
||||
@@ -8,8 +8,16 @@
|
||||
[endpoint.md](endpoint.md)
|
||||
{% endcontent-ref %}
|
||||
|
||||
{% content-ref url="reverse-invocation-of-the-dify-service/model.md" %}
|
||||
[model.md](reverse-invocation-of-the-dify-service/model.md)
|
||||
{% content-ref url="tool.md" %}
|
||||
[tool.md](tool.md)
|
||||
{% endcontent-ref %}
|
||||
|
||||
{% content-ref url="agent.md" %}
|
||||
[agent.md](agent.md)
|
||||
{% endcontent-ref %}
|
||||
|
||||
{% content-ref url="model/" %}
|
||||
[model](model/)
|
||||
{% endcontent-ref %}
|
||||
|
||||
{% content-ref url="general-specifications.md" %}
|
||||
|
||||
Reference in New Issue
Block a user