From bf553ba500cdef5866a29a7092a61a811ac96dd2 Mon Sep 17 00:00:00 2001 From: AllenWriter Date: Sat, 17 May 2025 19:54:53 +0800 Subject: [PATCH] Docs: fix typo --- en/guides/model-configuration/customizable-model.mdx | 2 +- en/guides/model-configuration/predefined-model.mdx | 2 +- ja-jp/guides/model-configuration/customizable-model.mdx | 2 +- ja-jp/guides/model-configuration/interfaces.mdx | 2 +- ja-jp/guides/model-configuration/predefined-model.mdx | 2 +- zh-hans/guides/model-configuration/customizable-model.mdx | 2 +- zh-hans/guides/model-configuration/interfaces.mdx | 2 +- zh-hans/guides/model-configuration/predefined-model.mdx | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/en/guides/model-configuration/customizable-model.mdx b/en/guides/model-configuration/customizable-model.mdx index 367fbe78..7dbf957a 100644 --- a/en/guides/model-configuration/customizable-model.mdx +++ b/en/guides/model-configuration/customizable-model.mdx @@ -303,7 +303,7 @@ In `llm.py`, create a Xinference LLM class, which we will name `XinferenceAILarg """ ``` -For an explanation of interface methods, see: [Interfaces](https://github.com/langgenius/dify/blob/main/api/core/model\_runtime/docs/en\_US/interfaces). For specific implementations, refer to: [llm.py](https://github.com/langgenius/dify-runtime/blob/main/lib/model\_providers/anthropic/llm/llm.py). +For an explanation of interface methods, see: [Interfaces](https://github.com/langgenius/dify/blob/main/api/core/model_runtime/docs/en_US/interfaces.md). For specific implementations, refer to: [llm.py](https://github.com/langgenius/dify-official-plugins/blob/main/models/anthropic/models/llm/llm.py). {/* Contributing Section diff --git a/en/guides/model-configuration/predefined-model.mdx b/en/guides/model-configuration/predefined-model.mdx index 8c0474b6..d9b459fd 100644 --- a/en/guides/model-configuration/predefined-model.mdx +++ b/en/guides/model-configuration/predefined-model.mdx @@ -172,7 +172,7 @@ Create an Anthropic LLM class in `llm.py`, which we will name `AnthropicLargeLan """ ``` -For interface method descriptions, see: [Interfaces](https://github.com/langgenius/dify/blob/main/api/core/model_runtime/docs/en_US/interfaces), and for specific implementation, refer to: [llm.py](https://github.com/langgenius/dify-runtime/blob/main/lib/model_providers/anthropic/llm/llm.py). +For interface method descriptions, see: [Interfaces](https://github.com/langgenius/dify/blob/main/api/core/model_runtime/docs/en_US/interfaces), and for specific implementation, refer to: [llm.py](https://github.com/langgenius/dify-official-plugins/blob/main/models/anthropic/models/llm/llm.py). #### Provider diff --git a/ja-jp/guides/model-configuration/customizable-model.mdx b/ja-jp/guides/model-configuration/customizable-model.mdx index f8970ac6..47e18eea 100644 --- a/ja-jp/guides/model-configuration/customizable-model.mdx +++ b/ja-jp/guides/model-configuration/customizable-model.mdx @@ -300,7 +300,7 @@ provider_credential_schema: """ ``` -インターフェース方法の詳細については:[インターフェース](https://github.com/langgenius/dify/blob/main/api/core/model_runtime/docs/en_US/interfaces)をご覧ください。具体的な実装例については、[llm.py](https://github.com/langgenius/dify-runtime/blob/main/lib/model_providers/anthropic/llm/llm.py)を参照してください。 +インターフェース方法の詳細については:[インターフェース](https://github.com/langgenius/dify/blob/main/api/core/model_runtime/docs/en_US/interfaces)をご覧ください。具体的な実装例については、[llm.py](https://github.com/langgenius/dify-official-plugins/blob/main/models/anthropic/models/llm/llm.py)を参照してください。 {/* Contributing Section diff --git a/ja-jp/guides/model-configuration/interfaces.mdx b/ja-jp/guides/model-configuration/interfaces.mdx index 9a763d19..c4603182 100644 --- a/ja-jp/guides/model-configuration/interfaces.mdx +++ b/ja-jp/guides/model-configuration/interfaces.mdx @@ -224,7 +224,7 @@ class XinferenceProvider(Provider): 供給業者がカスタムLLMを追加することをサポートしている場合、このメソッドを実装してカスタムモデルがモデル規則を取得できるようにすることができます。デフォルトではNoneを返します。 -ほとんどの微調整モデルは`OpenAI`供給業者の下で、微調整モデル名を使用してベースモデルを取得できます。例えば、`gpt-3.5-turbo-1106`のような微調整モデル名を使用して、基本モデルの事前定義されたパラメータルールを取得できます。具体的な実装については、[openai](https://github.com/langgenius/dify-runtime/blob/main/lib/model_providers/anthropic/llm/llm.py)を参照してください。 +ほとんどの微調整モデルは`OpenAI`供給業者の下で、微調整モデル名を使用してベースモデルを取得できます。例えば、`gpt-3.5-turbo-1106`のような微調整モデル名を使用して、基本モデルの事前定義されたパラメータルールを取得できます。具体的な実装については、[openai](https://github.com/langgenius/dify-official-plugins/blob/main/models/anthropic/models/llm/llm.py)を参照してください。 ### TextEmbedding diff --git a/ja-jp/guides/model-configuration/predefined-model.mdx b/ja-jp/guides/model-configuration/predefined-model.mdx index 8566e46d..aa0eedfa 100644 --- a/ja-jp/guides/model-configuration/predefined-model.mdx +++ b/ja-jp/guides/model-configuration/predefined-model.mdx @@ -169,7 +169,7 @@ pricing: # 価格情報 """ ``` -インターフェースメソッドの説明については:[Interfaces](https://github.com/langgenius/dify/blob/main/api/core/model_runtime/docs/en_US/interfaces)をご覧ください。具体的な実装については:[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/en_US/interfaces.md)をご覧ください。具体的な実装については:[llm.py](https://github.com/langgenius/dify-official-plugins/blob/main/models/anthropic/models/llm/llm.py)を参照してください。 [^1]: #### プロバイダー diff --git a/zh-hans/guides/model-configuration/customizable-model.mdx b/zh-hans/guides/model-configuration/customizable-model.mdx index 1568a08b..356601d1 100644 --- a/zh-hans/guides/model-configuration/customizable-model.mdx +++ b/zh-hans/guides/model-configuration/customizable-model.mdx @@ -303,7 +303,7 @@ provider_credential_schema: """ ``` -接口方法说明见:[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)。 +接口方法说明见:[Interfaces](https://github.com/langgenius/dify/blob/main/api/core/model_runtime/docs/zh_Hans/interfaces.md),具体实现可参考:[llm.py](https://github.com/langgenius/dify-official-plugins/blob/main/models/anthropic/models/llm/llm.py)。 {/* Contributing Section diff --git a/zh-hans/guides/model-configuration/interfaces.mdx b/zh-hans/guides/model-configuration/interfaces.mdx index 6905d1a7..4f00a649 100644 --- a/zh-hans/guides/model-configuration/interfaces.mdx +++ b/zh-hans/guides/model-configuration/interfaces.mdx @@ -227,7 +227,7 @@ class XinferenceProvider(Provider): ​当供应商支持增加自定义 LLM 时,可实现此方法让自定义模型可获取模型规则,默认返回 None。 -对于`OpenAI`供应商下的大部分微调模型,可以通过其微调模型名称获取到其基类模型,如`gpt-3.5-turbo-1106`,然后返回基类模型的预定义参数规则,参考[openai](https://github.com/langgenius/dify-runtime/blob/main/lib/model_providers/anthropic/llm/llm.py) +对于`OpenAI`供应商下的大部分微调模型,可以通过其微调模型名称获取到其基类模型,如`gpt-3.5-turbo-1106`,然后返回基类模型的预定义参数规则,参考[openai](https://github.com/langgenius/dify-official-plugins/blob/main/models/anthropic/models/llm/llm.py) 的具体实现 ### TextEmbedding diff --git a/zh-hans/guides/model-configuration/predefined-model.mdx b/zh-hans/guides/model-configuration/predefined-model.mdx index 324ed83d..ddba9943 100644 --- a/zh-hans/guides/model-configuration/predefined-model.mdx +++ b/zh-hans/guides/model-configuration/predefined-model.mdx @@ -172,7 +172,7 @@ pricing: # 价格信息 """ ``` -接口方法说明见:[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)。 +接口方法说明见:[Interfaces](https://github.com/langgenius/dify/blob/main/api/core/model\_runtime/docs/zh\_Hans/interfaces),具体实现可参考:[llm.py](https://github.com/langgenius/dify-official-plugins/blob/main/models/anthropic/models/llm/llm.py)。 [^1]: #### Provider