mirror of
https://github.com/langgenius/dify-docs.git
synced 2026-03-26 13:18:34 +07:00
update Github--> GitHub
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
This commit is contained in:
@@ -64,7 +64,7 @@ Using a LLM hosted on GPUStack as an example:
|
||||
|
||||

|
||||
|
||||
For more information about GPUStack, please refer to [Github Repo](https://github.com/gpustack/gpustack).
|
||||
For more information about GPUStack, please refer to [GitHub Repo](https://github.com/gpustack/gpustack).
|
||||
|
||||
{/*
|
||||
Contributing Section
|
||||
|
||||
@@ -53,7 +53,7 @@ Currently supported model types:
|
||||
* `tts`: Text to speech
|
||||
* `moderation`: Content moderation
|
||||
|
||||
Taking `Anthropic` as an example, since its model series only contains LLM type models, you only need to create an `/llm` folder under the `/models` path and add yaml files for different model versions. For detailed code structure, please refer to the [Github repository](https://github.com/langgenius/dify-official-plugins/tree/main/models/anthropic/models/llm).
|
||||
Taking `Anthropic` as an example, since its model series only contains LLM type models, you only need to create an `/llm` folder under the `/models` path and add yaml files for different model versions. For detailed code structure, please refer to the [GitHub repository](https://github.com/langgenius/dify-official-plugins/tree/main/models/anthropic/models/llm).
|
||||
|
||||

|
||||
|
||||
@@ -102,7 +102,7 @@ If the model provider contains multiple types of large models, e.g., the OpenAI
|
||||
│ └── tts.py
|
||||
```
|
||||
|
||||
It is recommended to prepare all model configurations before starting the model code implementation. For complete YAML rules, please refer to the [Model Design Rules](/en/plugins/schema-definition/model/model-designing-rules). For more code details, please refer to the example [Github repository](https://github.com/langgenius/dify-official-plugins/tree/main/models).
|
||||
It is recommended to prepare all model configurations before starting the model code implementation. For complete YAML rules, please refer to the [Model Design Rules](/en/plugins/schema-definition/model/model-designing-rules). For more code details, please refer to the example [GitHub repository](https://github.com/langgenius/dify-official-plugins/tree/main/models).
|
||||
|
||||
### 2. Writing Model Requesting Code
|
||||
|
||||
@@ -199,7 +199,7 @@ def _invoke_error_mapping(self) -> dict[type[InvokeError], list[type[Exception]]
|
||||
"""
|
||||
```
|
||||
|
||||
See the [Github code repository](https://github.com/langgenius/dify-official-plugins/blob/main/models/anthropic/models/llm/llm.py) for full code details.
|
||||
See the [GitHub code repository](https://github.com/langgenius/dify-official-plugins/blob/main/models/anthropic/models/llm/llm.py) for full code details.
|
||||
|
||||
### **3.** Add Predefined Model Configurations
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ title: Endpoint
|
||||
<p>If you notice any discrepancies or areas needing improvement in the new documentation, please use the "Report an issue" button at the bottom of the page.</p>
|
||||
</Card>
|
||||
|
||||
In this article, we will use the [Quick Start: Rainbow Cat project](../quick-start/develop-plugins/extension-plugin) as an example to illustrate the structure of Endpoint within the plugin. For the complete plugin code, please refer to the [Github repository](https://github.com/langgenius/dify-plugin-sdks/tree/main/python/examples/neko).
|
||||
In this article, we will use the [Quick Start: Rainbow Cat project](../quick-start/develop-plugins/extension-plugin) as an example to illustrate the structure of Endpoint within the plugin. For the complete plugin code, please refer to the [GitHub repository](https://github.com/langgenius/dify-plugin-sdks/tree/main/python/examples/neko).
|
||||
|
||||
### **Group Definition**
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ If this file's format is incorrect, both the plugin parsing and packaging proces
|
||||
|
||||
### **Code Example**
|
||||
|
||||
Below is a simple example of a Manifest file. The meaning and function of each data element will be explained below. For reference to other plugin codes, please check the [Github repository](https://github.com/langgenius/dify-plugin-sdks/tree/main/python/examples).
|
||||
Below is a simple example of a Manifest file. The meaning and function of each data element will be explained below. For reference to other plugin codes, please check the [GitHub repository](https://github.com/langgenius/dify-plugin-sdks/tree/main/python/examples).
|
||||
|
||||
```yaml
|
||||
version: 0.0.1
|
||||
|
||||
Reference in New Issue
Block a user