-
Notifications
You must be signed in to change notification settings - Fork 8.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'deploy/dev' of https://github.com/langgenius/dify into …
…deploy/dev * 'deploy/dev' of https://github.com/langgenius/dify: (42 commits) fix: account delete function chore: improve Vietnamese (vi-VN) translations (#7127) Update i18n/ja-JP/dataset-documents.ts "embeddedSpend" value. (#7124) update stepfun model (#7118) feat: wenxin add yi-34b-chat (#7117) fix annotation reply is null (#7103) feat: Postgres max connections (#7067) feat: add zhipu embedding-3 (#7100) feat: add text-embedding functon and LLM models to Siliconflow (#7090) extract docx filter comment element (#7092) fix: refine the tooltip component fix: only update&request sso settings when enabled fix: workflow search blocks (#7097) feat: app icon enhancements (#7095) workflow logs support workflow run id filter (#6833) fix: set enable_web_sso_switch_component default value to false feat: add a builtin tool to support regex extraction. (#7081) (#7087) add nltk punkt resource (#7063) Feat/add 360-zhinao provider (#7069) feat: Poetry requests timeout (#7086) ...
- Loading branch information
Showing
204 changed files
with
2,829 additions
and
1,241 deletions.
There are no files selected for viewing
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
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
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 @@ | |
- hunyuan | ||
- siliconflow | ||
- perfxcloud | ||
- zhinao |
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
28 changes: 20 additions & 8 deletions
28
api/core/model_runtime/model_providers/siliconflow/llm/_position.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 |
---|---|---|
@@ -1,8 +1,20 @@ | ||
- deepseek-v2-chat | ||
- qwen2-72b-instruct | ||
- qwen2-57b-a14b-instruct | ||
- qwen2-7b-instruct | ||
- yi-1.5-34b-chat | ||
- yi-1.5-9b-chat | ||
- yi-1.5-6b-chat | ||
- glm4-9B-chat | ||
- Qwen/Qwen2-72B-Instruct | ||
- Qwen/Qwen2-57B-A14B-Instruct | ||
- Qwen/Qwen2-7B-Instruct | ||
- Qwen/Qwen2-1.5B-Instruct | ||
- 01-ai/Yi-1.5-34B-Chat | ||
- 01-ai/Yi-1.5-9B-Chat-16K | ||
- 01-ai/Yi-1.5-6B-Chat | ||
- THUDM/glm-4-9b-chat | ||
- deepseek-ai/DeepSeek-V2-Chat | ||
- deepseek-ai/DeepSeek-Coder-V2-Instruct | ||
- internlm/internlm2_5-7b-chat | ||
- google/gemma-2-27b-it | ||
- google/gemma-2-9b-it | ||
- meta-llama/Meta-Llama-3-70B-Instruct | ||
- meta-llama/Meta-Llama-3-8B-Instruct | ||
- meta-llama/Meta-Llama-3.1-405B-Instruct | ||
- meta-llama/Meta-Llama-3.1-70B-Instruct | ||
- meta-llama/Meta-Llama-3.1-8B-Instruct | ||
- mistralai/Mixtral-8x7B-Instruct-v0.1 | ||
- mistralai/Mistral-7B-Instruct-v0.2 |
2 changes: 1 addition & 1 deletion
2
api/core/model_runtime/model_providers/siliconflow/llm/deepseek-v2-chat.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
30 changes: 30 additions & 0 deletions
30
api/core/model_runtime/model_providers/siliconflow/llm/gemma-2-27b-it.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: google/gemma-2-27b-it | ||
label: | ||
en_US: google/gemma-2-27b-it | ||
model_type: llm | ||
features: | ||
- agent-thought | ||
model_properties: | ||
mode: chat | ||
context_size: 8196 | ||
parameter_rules: | ||
- name: temperature | ||
use_template: temperature | ||
- name: max_tokens | ||
use_template: max_tokens | ||
type: int | ||
default: 512 | ||
min: 1 | ||
max: 4096 | ||
help: | ||
zh_Hans: 指定生成结果长度的上限。如果生成结果截断,可以调大该参数。 | ||
en_US: Specifies the upper limit on the length of generated results. If the generated results are truncated, you can increase this parameter. | ||
- name: top_p | ||
use_template: top_p | ||
- name: frequency_penalty | ||
use_template: frequency_penalty | ||
pricing: | ||
input: '1.26' | ||
output: '1.26' | ||
unit: '0.000001' | ||
currency: RMB |
30 changes: 30 additions & 0 deletions
30
api/core/model_runtime/model_providers/siliconflow/llm/gemma-2-9b-it.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: google/gemma-2-9b-it | ||
label: | ||
en_US: google/gemma-2-9b-it | ||
model_type: llm | ||
features: | ||
- agent-thought | ||
model_properties: | ||
mode: chat | ||
context_size: 8196 | ||
parameter_rules: | ||
- name: temperature | ||
use_template: temperature | ||
- name: max_tokens | ||
use_template: max_tokens | ||
type: int | ||
default: 512 | ||
min: 1 | ||
max: 4096 | ||
help: | ||
zh_Hans: 指定生成结果长度的上限。如果生成结果截断,可以调大该参数。 | ||
en_US: Specifies the upper limit on the length of generated results. If the generated results are truncated, you can increase this parameter. | ||
- name: top_p | ||
use_template: top_p | ||
- name: frequency_penalty | ||
use_template: frequency_penalty | ||
pricing: | ||
input: '0' | ||
output: '0' | ||
unit: '0.000001' | ||
currency: RMB |
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
30 changes: 30 additions & 0 deletions
30
api/core/model_runtime/model_providers/siliconflow/llm/internlm2_5-7b-chat.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: internlm/internlm2_5-7b-chat | ||
label: | ||
en_US: internlm/internlm2_5-7b-chat | ||
model_type: llm | ||
features: | ||
- agent-thought | ||
model_properties: | ||
mode: chat | ||
context_size: 32768 | ||
parameter_rules: | ||
- name: temperature | ||
use_template: temperature | ||
- name: max_tokens | ||
use_template: max_tokens | ||
type: int | ||
default: 512 | ||
min: 1 | ||
max: 4096 | ||
help: | ||
zh_Hans: 指定生成结果长度的上限。如果生成结果截断,可以调大该参数。 | ||
en_US: Specifies the upper limit on the length of generated results. If the generated results are truncated, you can increase this parameter. | ||
- name: top_p | ||
use_template: top_p | ||
- name: frequency_penalty | ||
use_template: frequency_penalty | ||
pricing: | ||
input: '0' | ||
output: '0' | ||
unit: '0.000001' | ||
currency: RMB |
30 changes: 30 additions & 0 deletions
30
api/core/model_runtime/model_providers/siliconflow/llm/meta-mlama-3-70b-instruct.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: meta-llama/Meta-Llama-3-70B-Instruct | ||
label: | ||
en_US: meta-llama/Meta-Llama-3-70B-Instruct | ||
model_type: llm | ||
features: | ||
- agent-thought | ||
model_properties: | ||
mode: chat | ||
context_size: 32768 | ||
parameter_rules: | ||
- name: temperature | ||
use_template: temperature | ||
- name: max_tokens | ||
use_template: max_tokens | ||
type: int | ||
default: 512 | ||
min: 1 | ||
max: 4096 | ||
help: | ||
zh_Hans: 指定生成结果长度的上限。如果生成结果截断,可以调大该参数。 | ||
en_US: Specifies the upper limit on the length of generated results. If the generated results are truncated, you can increase this parameter. | ||
- name: top_p | ||
use_template: top_p | ||
- name: frequency_penalty | ||
use_template: frequency_penalty | ||
pricing: | ||
input: '4.13' | ||
output: '4.13' | ||
unit: '0.000001' | ||
currency: RMB |
30 changes: 30 additions & 0 deletions
30
api/core/model_runtime/model_providers/siliconflow/llm/meta-mlama-3-8b-instruct.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: meta-llama/Meta-Llama-3-8B-Instruct | ||
label: | ||
en_US: meta-llama/Meta-Llama-3-8B-Instruct | ||
model_type: llm | ||
features: | ||
- agent-thought | ||
model_properties: | ||
mode: chat | ||
context_size: 8192 | ||
parameter_rules: | ||
- name: temperature | ||
use_template: temperature | ||
- name: max_tokens | ||
use_template: max_tokens | ||
type: int | ||
default: 512 | ||
min: 1 | ||
max: 4096 | ||
help: | ||
zh_Hans: 指定生成结果长度的上限。如果生成结果截断,可以调大该参数。 | ||
en_US: Specifies the upper limit on the length of generated results. If the generated results are truncated, you can increase this parameter. | ||
- name: top_p | ||
use_template: top_p | ||
- name: frequency_penalty | ||
use_template: frequency_penalty | ||
pricing: | ||
input: '0' | ||
output: '0' | ||
unit: '0.000001' | ||
currency: RMB |
30 changes: 30 additions & 0 deletions
30
api/core/model_runtime/model_providers/siliconflow/llm/meta-mlama-3.1-405b-instruct.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: meta-llama/Meta-Llama-3.1-405B-Instruct | ||
label: | ||
en_US: meta-llama/Meta-Llama-3.1-405B-Instruct | ||
model_type: llm | ||
features: | ||
- agent-thought | ||
model_properties: | ||
mode: chat | ||
context_size: 32768 | ||
parameter_rules: | ||
- name: temperature | ||
use_template: temperature | ||
- name: max_tokens | ||
use_template: max_tokens | ||
type: int | ||
default: 512 | ||
min: 1 | ||
max: 4096 | ||
help: | ||
zh_Hans: 指定生成结果长度的上限。如果生成结果截断,可以调大该参数。 | ||
en_US: Specifies the upper limit on the length of generated results. If the generated results are truncated, you can increase this parameter. | ||
- name: top_p | ||
use_template: top_p | ||
- name: frequency_penalty | ||
use_template: frequency_penalty | ||
pricing: | ||
input: '21' | ||
output: '21' | ||
unit: '0.000001' | ||
currency: RMB |
30 changes: 30 additions & 0 deletions
30
api/core/model_runtime/model_providers/siliconflow/llm/meta-mlama-3.1-70b-instruct.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: meta-llama/Meta-Llama-3.1-70B-Instruct | ||
label: | ||
en_US: meta-llama/Meta-Llama-3.1-70B-Instruct | ||
model_type: llm | ||
features: | ||
- agent-thought | ||
model_properties: | ||
mode: chat | ||
context_size: 32768 | ||
parameter_rules: | ||
- name: temperature | ||
use_template: temperature | ||
- name: max_tokens | ||
use_template: max_tokens | ||
type: int | ||
default: 512 | ||
min: 1 | ||
max: 4096 | ||
help: | ||
zh_Hans: 指定生成结果长度的上限。如果生成结果截断,可以调大该参数。 | ||
en_US: Specifies the upper limit on the length of generated results. If the generated results are truncated, you can increase this parameter. | ||
- name: top_p | ||
use_template: top_p | ||
- name: frequency_penalty | ||
use_template: frequency_penalty | ||
pricing: | ||
input: '4.13' | ||
output: '4.13' | ||
unit: '0.000001' | ||
currency: RMB |
Oops, something went wrong.