forked from langgenius/dify
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
357 additions
and
3 deletions.
There are no files selected for viewing
37 changes: 37 additions & 0 deletions
37
api/core/model_runtime/model_providers/wenxin/llm/ernie-3.5-4k-0205.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
model: ernie-3.5-8k | ||
label: | ||
en_US: Ernie-3.5-8K | ||
model_type: llm | ||
features: | ||
- agent-thought | ||
model_properties: | ||
mode: chat | ||
context_size: 4096 | ||
parameter_rules: | ||
- name: temperature | ||
use_template: temperature | ||
min: 0.1 | ||
max: 1.0 | ||
default: 0.8 | ||
- name: top_p | ||
use_template: top_p | ||
- name: max_tokens | ||
use_template: max_tokens | ||
default: 1024 | ||
min: 2 | ||
max: 2048 | ||
- name: presence_penalty | ||
use_template: presence_penalty | ||
- name: frequency_penalty | ||
use_template: frequency_penalty | ||
- name: response_format | ||
use_template: response_format | ||
- name: disable_search | ||
label: | ||
zh_Hans: 禁用搜索 | ||
en_US: Disable Search | ||
type: boolean | ||
help: | ||
zh_Hans: 禁用模型自行进行外部搜索。 | ||
en_US: Disable the model to perform external search. | ||
required: false |
37 changes: 37 additions & 0 deletions
37
api/core/model_runtime/model_providers/wenxin/llm/ernie-3.5-8k-0205.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
model: ernie-3.5-8k-0205 | ||
label: | ||
en_US: Ernie-3.5-8K-0205 | ||
model_type: llm | ||
features: | ||
- agent-thought | ||
model_properties: | ||
mode: chat | ||
context_size: 8192 | ||
parameter_rules: | ||
- name: temperature | ||
use_template: temperature | ||
min: 0.1 | ||
max: 1.0 | ||
default: 0.8 | ||
- name: top_p | ||
use_template: top_p | ||
- name: max_tokens | ||
use_template: max_tokens | ||
default: 1024 | ||
min: 2 | ||
max: 2048 | ||
- name: presence_penalty | ||
use_template: presence_penalty | ||
- name: frequency_penalty | ||
use_template: frequency_penalty | ||
- name: response_format | ||
use_template: response_format | ||
- name: disable_search | ||
label: | ||
zh_Hans: 禁用搜索 | ||
en_US: Disable Search | ||
type: boolean | ||
help: | ||
zh_Hans: 禁用模型自行进行外部搜索。 | ||
en_US: Disable the model to perform external search. | ||
required: false |
37 changes: 37 additions & 0 deletions
37
api/core/model_runtime/model_providers/wenxin/llm/ernie-3.5-8k-1222.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
model: ernie-3.5-8k-1222 | ||
label: | ||
en_US: Ernie-3.5-8K-1222 | ||
model_type: llm | ||
features: | ||
- agent-thought | ||
model_properties: | ||
mode: chat | ||
context_size: 8192 | ||
parameter_rules: | ||
- name: temperature | ||
use_template: temperature | ||
min: 0.1 | ||
max: 1.0 | ||
default: 0.8 | ||
- name: top_p | ||
use_template: top_p | ||
- name: max_tokens | ||
use_template: max_tokens | ||
default: 1024 | ||
min: 2 | ||
max: 2048 | ||
- name: presence_penalty | ||
use_template: presence_penalty | ||
- name: frequency_penalty | ||
use_template: frequency_penalty | ||
- name: response_format | ||
use_template: response_format | ||
- name: disable_search | ||
label: | ||
zh_Hans: 禁用搜索 | ||
en_US: Disable Search | ||
type: boolean | ||
help: | ||
zh_Hans: 禁用模型自行进行外部搜索。 | ||
en_US: Disable the model to perform external search. | ||
required: false |
37 changes: 37 additions & 0 deletions
37
api/core/model_runtime/model_providers/wenxin/llm/ernie-3.5-8k.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
model: ernie-3.5-8k | ||
label: | ||
en_US: Ernie-3.5-8K | ||
model_type: llm | ||
features: | ||
- agent-thought | ||
model_properties: | ||
mode: chat | ||
context_size: 8192 | ||
parameter_rules: | ||
- name: temperature | ||
use_template: temperature | ||
min: 0.1 | ||
max: 1.0 | ||
default: 0.8 | ||
- name: top_p | ||
use_template: top_p | ||
- name: max_tokens | ||
use_template: max_tokens | ||
default: 1024 | ||
min: 2 | ||
max: 2048 | ||
- name: presence_penalty | ||
use_template: presence_penalty | ||
- name: frequency_penalty | ||
use_template: frequency_penalty | ||
- name: response_format | ||
use_template: response_format | ||
- name: disable_search | ||
label: | ||
zh_Hans: 禁用搜索 | ||
en_US: Disable Search | ||
type: boolean | ||
help: | ||
zh_Hans: 禁用模型自行进行外部搜索。 | ||
en_US: Disable the model to perform external search. | ||
required: false |
37 changes: 37 additions & 0 deletions
37
api/core/model_runtime/model_providers/wenxin/llm/ernie-4.0-8k.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
model: ernie-4.0-8k | ||
label: | ||
en_US: Ernie-4.0-8K | ||
model_type: llm | ||
features: | ||
- agent-thought | ||
model_properties: | ||
mode: chat | ||
context_size: 8192 | ||
parameter_rules: | ||
- name: temperature | ||
use_template: temperature | ||
min: 0.1 | ||
max: 1.0 | ||
default: 0.8 | ||
- name: top_p | ||
use_template: top_p | ||
- name: max_tokens | ||
use_template: max_tokens | ||
default: 1024 | ||
min: 2 | ||
max: 2048 | ||
- name: presence_penalty | ||
use_template: presence_penalty | ||
- name: frequency_penalty | ||
use_template: frequency_penalty | ||
- name: response_format | ||
use_template: response_format | ||
- name: disable_search | ||
label: | ||
zh_Hans: 禁用搜索 | ||
en_US: Disable Search | ||
type: boolean | ||
help: | ||
zh_Hans: 禁用模型自行进行外部搜索。 | ||
en_US: Disable the model to perform external search. | ||
required: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,3 +36,4 @@ parameter_rules: | |
required: false | ||
- name: response_format | ||
use_template: response_format | ||
deprecated: true |
30 changes: 30 additions & 0 deletions
30
api/core/model_runtime/model_providers/wenxin/llm/ernie-lite-8k-0308.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
model: ernie-lite-8k-0308 | ||
label: | ||
en_US: ERNIE-Lite-8K-0308 | ||
model_type: llm | ||
features: | ||
- agent-thought | ||
model_properties: | ||
mode: chat | ||
context_size: 8192 | ||
parameter_rules: | ||
- name: temperature | ||
use_template: temperature | ||
min: 0.1 | ||
max: 1.0 | ||
default: 0.95 | ||
- name: top_p | ||
use_template: top_p | ||
min: 0 | ||
max: 1.0 | ||
default: 0.7 | ||
- name: max_tokens | ||
use_template: max_tokens | ||
default: 1024 | ||
min: 2 | ||
max: 1024 | ||
- name: presence_penalty | ||
use_template: presence_penalty | ||
default: 1.0 | ||
min: 1.0 | ||
max: 2.0 |
30 changes: 30 additions & 0 deletions
30
api/core/model_runtime/model_providers/wenxin/llm/ernie-lite-8k-0922.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
model: ernie-lite-8k-0922 | ||
label: | ||
en_US: ERNIE-Lite-8K-0922 | ||
model_type: llm | ||
features: | ||
- agent-thought | ||
model_properties: | ||
mode: chat | ||
context_size: 8192 | ||
parameter_rules: | ||
- name: temperature | ||
use_template: temperature | ||
min: 0.1 | ||
max: 1.0 | ||
default: 0.95 | ||
- name: top_p | ||
use_template: top_p | ||
min: 0 | ||
max: 1.0 | ||
default: 0.7 | ||
- name: max_tokens | ||
use_template: max_tokens | ||
default: 1024 | ||
min: 2 | ||
max: 1024 | ||
- name: presence_penalty | ||
use_template: presence_penalty | ||
default: 1.0 | ||
min: 1.0 | ||
max: 2.0 |
30 changes: 30 additions & 0 deletions
30
api/core/model_runtime/model_providers/wenxin/llm/ernie-speed-128k.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
model: ernie-speed-128k | ||
label: | ||
en_US: ERNIE-Speed-128K | ||
model_type: llm | ||
features: | ||
- agent-thought | ||
model_properties: | ||
mode: chat | ||
context_size: 128000 | ||
parameter_rules: | ||
- name: temperature | ||
use_template: temperature | ||
min: 0.1 | ||
max: 1.0 | ||
default: 0.95 | ||
- name: top_p | ||
use_template: top_p | ||
min: 0 | ||
max: 1.0 | ||
default: 0.7 | ||
- name: max_tokens | ||
use_template: max_tokens | ||
default: 1024 | ||
min: 2 | ||
max: 1024 | ||
- name: presence_penalty | ||
use_template: presence_penalty | ||
default: 1.0 | ||
min: 1.0 | ||
max: 2.0 |
30 changes: 30 additions & 0 deletions
30
api/core/model_runtime/model_providers/wenxin/llm/ernie-speed-8k.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
model: ernie-speed-8k | ||
label: | ||
en_US: ERNIE-Speed-8K | ||
model_type: llm | ||
features: | ||
- agent-thought | ||
model_properties: | ||
mode: chat | ||
context_size: 8192 | ||
parameter_rules: | ||
- name: temperature | ||
use_template: temperature | ||
min: 0.1 | ||
max: 1.0 | ||
default: 0.95 | ||
- name: top_p | ||
use_template: top_p | ||
min: 0 | ||
max: 1.0 | ||
default: 0.7 | ||
- name: max_tokens | ||
use_template: max_tokens | ||
default: 1024 | ||
min: 2 | ||
max: 1024 | ||
- name: presence_penalty | ||
use_template: presence_penalty | ||
default: 1.0 | ||
min: 1.0 | ||
max: 2.0 |
25 changes: 25 additions & 0 deletions
25
api/core/model_runtime/model_providers/wenxin/llm/ernie-speed-appbuilder.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
model: ernie-speed-appbuilder | ||
label: | ||
en_US: ERNIE-Speed-AppBuilder | ||
model_type: llm | ||
features: | ||
- agent-thought | ||
model_properties: | ||
mode: chat | ||
context_size: 8192 | ||
parameter_rules: | ||
- name: temperature | ||
use_template: temperature | ||
min: 0.1 | ||
max: 1.0 | ||
default: 0.95 | ||
- name: top_p | ||
use_template: top_p | ||
min: 0 | ||
max: 1.0 | ||
default: 0.7 | ||
- name: presence_penalty | ||
use_template: presence_penalty | ||
default: 1.0 | ||
min: 1.0 | ||
max: 2.0 |
Oops, something went wrong.