mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-12 12:29:00 +08:00
feat:add hunyuan model(hunyuan-role, hunyuan-large, hunyuan-large-rol… (#11766)
Co-authored-by: xanderdong <xanderdong@tencent.com>
This commit is contained in:
parent
688292e6ff
commit
56434db4f5
@ -3,8 +3,8 @@ label:
|
|||||||
zh_Hans: 腾讯混元
|
zh_Hans: 腾讯混元
|
||||||
en_US: Hunyuan
|
en_US: Hunyuan
|
||||||
description:
|
description:
|
||||||
en_US: Models provided by Tencent Hunyuan, such as hunyuan-standard, hunyuan-standard-256k, hunyuan-pro and hunyuan-lite.
|
en_US: Models provided by Tencent Hunyuan, such as hunyuan-standard, hunyuan-standard-256k, hunyuan-pro, hunyuan-role, hunyuan-large, hunyuan-large-role, hunyuan-turbo-latest, hunyuan-large-longcontext, hunyuan-turbo, hunyuan-vision, hunyuan-turbo-vision, hunyuan-functioncall and hunyuan-lite.
|
||||||
zh_Hans: 腾讯混元提供的模型,例如 hunyuan-standard、 hunyuan-standard-256k, hunyuan-pro 和 hunyuan-lite。
|
zh_Hans: 腾讯混元提供的模型,例如 hunyuan-standard、 hunyuan-standard-256k, hunyuan-pro, hunyuan-role, hunyuan-large, hunyuan-large-role, hunyuan-turbo-latest, hunyuan-large-longcontext, hunyuan-turbo, hunyuan-vision, hunyuan-turbo-vision, hunyuan-functioncall 和 hunyuan-lite。
|
||||||
icon_small:
|
icon_small:
|
||||||
en_US: icon_s_en.png
|
en_US: icon_s_en.png
|
||||||
icon_large:
|
icon_large:
|
||||||
|
@ -4,3 +4,10 @@
|
|||||||
- hunyuan-pro
|
- hunyuan-pro
|
||||||
- hunyuan-turbo
|
- hunyuan-turbo
|
||||||
- hunyuan-vision
|
- hunyuan-vision
|
||||||
|
- hunyuan-role
|
||||||
|
- hunyuan-large
|
||||||
|
- hunyuan-large-role
|
||||||
|
- hunyuan-large-longcontext
|
||||||
|
- hunyuan-turbo-latest
|
||||||
|
- hunyuan-turbo-vision
|
||||||
|
- hunyuan-functioncall
|
||||||
|
@ -0,0 +1,38 @@
|
|||||||
|
model: hunyuan-functioncall
|
||||||
|
label:
|
||||||
|
zh_Hans: hunyuan-functioncall
|
||||||
|
en_US: hunyuan-functioncall
|
||||||
|
model_type: llm
|
||||||
|
features:
|
||||||
|
- agent-thought
|
||||||
|
- tool-call
|
||||||
|
- multi-tool-call
|
||||||
|
- stream-tool-call
|
||||||
|
model_properties:
|
||||||
|
mode: chat
|
||||||
|
context_size: 32000
|
||||||
|
parameter_rules:
|
||||||
|
- name: temperature
|
||||||
|
use_template: temperature
|
||||||
|
- name: top_p
|
||||||
|
use_template: top_p
|
||||||
|
- name: max_tokens
|
||||||
|
use_template: max_tokens
|
||||||
|
default: 1024
|
||||||
|
min: 1
|
||||||
|
max: 32000
|
||||||
|
- name: enable_enhance
|
||||||
|
label:
|
||||||
|
zh_Hans: 功能增强
|
||||||
|
en_US: Enable Enhancement
|
||||||
|
type: boolean
|
||||||
|
help:
|
||||||
|
zh_Hans: 功能增强(如搜索)开关,关闭时将直接由主模型生成回复内容,可以降低响应时延(对于流式输出时的首字时延尤为明显)。但在少数场景里,回复效果可能会下降。
|
||||||
|
en_US: Allow the model to perform external search to enhance the generation results.
|
||||||
|
required: false
|
||||||
|
default: true
|
||||||
|
pricing:
|
||||||
|
input: '0.004'
|
||||||
|
output: '0.008'
|
||||||
|
unit: '0.001'
|
||||||
|
currency: RMB
|
@ -0,0 +1,38 @@
|
|||||||
|
model: hunyuan-large-longcontext
|
||||||
|
label:
|
||||||
|
zh_Hans: hunyuan-large-longcontext
|
||||||
|
en_US: hunyuan-large-longcontext
|
||||||
|
model_type: llm
|
||||||
|
features:
|
||||||
|
- agent-thought
|
||||||
|
- tool-call
|
||||||
|
- multi-tool-call
|
||||||
|
- stream-tool-call
|
||||||
|
model_properties:
|
||||||
|
mode: chat
|
||||||
|
context_size: 134000
|
||||||
|
parameter_rules:
|
||||||
|
- name: temperature
|
||||||
|
use_template: temperature
|
||||||
|
- name: top_p
|
||||||
|
use_template: top_p
|
||||||
|
- name: max_tokens
|
||||||
|
use_template: max_tokens
|
||||||
|
default: 1024
|
||||||
|
min: 1
|
||||||
|
max: 134000
|
||||||
|
- name: enable_enhance
|
||||||
|
label:
|
||||||
|
zh_Hans: 功能增强
|
||||||
|
en_US: Enable Enhancement
|
||||||
|
type: boolean
|
||||||
|
help:
|
||||||
|
zh_Hans: 功能增强(如搜索)开关,关闭时将直接由主模型生成回复内容,可以降低响应时延(对于流式输出时的首字时延尤为明显)。但在少数场景里,回复效果可能会下降。
|
||||||
|
en_US: Allow the model to perform external search to enhance the generation results.
|
||||||
|
required: false
|
||||||
|
default: true
|
||||||
|
pricing:
|
||||||
|
input: '0.006'
|
||||||
|
output: '0.018'
|
||||||
|
unit: '0.001'
|
||||||
|
currency: RMB
|
@ -0,0 +1,38 @@
|
|||||||
|
model: hunyuan-large-role
|
||||||
|
label:
|
||||||
|
zh_Hans: hunyuan-large-role
|
||||||
|
en_US: hunyuan-large-role
|
||||||
|
model_type: llm
|
||||||
|
features:
|
||||||
|
- agent-thought
|
||||||
|
- tool-call
|
||||||
|
- multi-tool-call
|
||||||
|
- stream-tool-call
|
||||||
|
model_properties:
|
||||||
|
mode: chat
|
||||||
|
context_size: 32000
|
||||||
|
parameter_rules:
|
||||||
|
- name: temperature
|
||||||
|
use_template: temperature
|
||||||
|
- name: top_p
|
||||||
|
use_template: top_p
|
||||||
|
- name: max_tokens
|
||||||
|
use_template: max_tokens
|
||||||
|
default: 1024
|
||||||
|
min: 1
|
||||||
|
max: 32000
|
||||||
|
- name: enable_enhance
|
||||||
|
label:
|
||||||
|
zh_Hans: 功能增强
|
||||||
|
en_US: Enable Enhancement
|
||||||
|
type: boolean
|
||||||
|
help:
|
||||||
|
zh_Hans: 功能增强(如搜索)开关,关闭时将直接由主模型生成回复内容,可以降低响应时延(对于流式输出时的首字时延尤为明显)。但在少数场景里,回复效果可能会下降。
|
||||||
|
en_US: Allow the model to perform external search to enhance the generation results.
|
||||||
|
required: false
|
||||||
|
default: true
|
||||||
|
pricing:
|
||||||
|
input: '0.004'
|
||||||
|
output: '0.008'
|
||||||
|
unit: '0.001'
|
||||||
|
currency: RMB
|
@ -0,0 +1,38 @@
|
|||||||
|
model: hunyuan-large
|
||||||
|
label:
|
||||||
|
zh_Hans: hunyuan-large
|
||||||
|
en_US: hunyuan-large
|
||||||
|
model_type: llm
|
||||||
|
features:
|
||||||
|
- agent-thought
|
||||||
|
- tool-call
|
||||||
|
- multi-tool-call
|
||||||
|
- stream-tool-call
|
||||||
|
model_properties:
|
||||||
|
mode: chat
|
||||||
|
context_size: 32000
|
||||||
|
parameter_rules:
|
||||||
|
- name: temperature
|
||||||
|
use_template: temperature
|
||||||
|
- name: top_p
|
||||||
|
use_template: top_p
|
||||||
|
- name: max_tokens
|
||||||
|
use_template: max_tokens
|
||||||
|
default: 1024
|
||||||
|
min: 1
|
||||||
|
max: 32000
|
||||||
|
- name: enable_enhance
|
||||||
|
label:
|
||||||
|
zh_Hans: 功能增强
|
||||||
|
en_US: Enable Enhancement
|
||||||
|
type: boolean
|
||||||
|
help:
|
||||||
|
zh_Hans: 功能增强(如搜索)开关,关闭时将直接由主模型生成回复内容,可以降低响应时延(对于流式输出时的首字时延尤为明显)。但在少数场景里,回复效果可能会下降。
|
||||||
|
en_US: Allow the model to perform external search to enhance the generation results.
|
||||||
|
required: false
|
||||||
|
default: true
|
||||||
|
pricing:
|
||||||
|
input: '0.004'
|
||||||
|
output: '0.012'
|
||||||
|
unit: '0.001'
|
||||||
|
currency: RMB
|
@ -0,0 +1,38 @@
|
|||||||
|
model: hunyuan-role
|
||||||
|
label:
|
||||||
|
zh_Hans: hunyuan-role
|
||||||
|
en_US: hunyuan-role
|
||||||
|
model_type: llm
|
||||||
|
features:
|
||||||
|
- agent-thought
|
||||||
|
- tool-call
|
||||||
|
- multi-tool-call
|
||||||
|
- stream-tool-call
|
||||||
|
model_properties:
|
||||||
|
mode: chat
|
||||||
|
context_size: 32000
|
||||||
|
parameter_rules:
|
||||||
|
- name: temperature
|
||||||
|
use_template: temperature
|
||||||
|
- name: top_p
|
||||||
|
use_template: top_p
|
||||||
|
- name: max_tokens
|
||||||
|
use_template: max_tokens
|
||||||
|
default: 1024
|
||||||
|
min: 1
|
||||||
|
max: 32000
|
||||||
|
- name: enable_enhance
|
||||||
|
label:
|
||||||
|
zh_Hans: 功能增强
|
||||||
|
en_US: Enable Enhancement
|
||||||
|
type: boolean
|
||||||
|
help:
|
||||||
|
zh_Hans: 功能增强(如搜索)开关,关闭时将直接由主模型生成回复内容,可以降低响应时延(对于流式输出时的首字时延尤为明显)。但在少数场景里,回复效果可能会下降。
|
||||||
|
en_US: Allow the model to perform external search to enhance the generation results.
|
||||||
|
required: false
|
||||||
|
default: true
|
||||||
|
pricing:
|
||||||
|
input: '0.004'
|
||||||
|
output: '0.008'
|
||||||
|
unit: '0.001'
|
||||||
|
currency: RMB
|
@ -0,0 +1,38 @@
|
|||||||
|
model: hunyuan-turbo-latest
|
||||||
|
label:
|
||||||
|
zh_Hans: hunyuan-turbo-latest
|
||||||
|
en_US: hunyuan-turbo-latest
|
||||||
|
model_type: llm
|
||||||
|
features:
|
||||||
|
- agent-thought
|
||||||
|
- tool-call
|
||||||
|
- multi-tool-call
|
||||||
|
- stream-tool-call
|
||||||
|
model_properties:
|
||||||
|
mode: chat
|
||||||
|
context_size: 32000
|
||||||
|
parameter_rules:
|
||||||
|
- name: temperature
|
||||||
|
use_template: temperature
|
||||||
|
- name: top_p
|
||||||
|
use_template: top_p
|
||||||
|
- name: max_tokens
|
||||||
|
use_template: max_tokens
|
||||||
|
default: 1024
|
||||||
|
min: 1
|
||||||
|
max: 32000
|
||||||
|
- name: enable_enhance
|
||||||
|
label:
|
||||||
|
zh_Hans: 功能增强
|
||||||
|
en_US: Enable Enhancement
|
||||||
|
type: boolean
|
||||||
|
help:
|
||||||
|
zh_Hans: 功能增强(如搜索)开关,关闭时将直接由主模型生成回复内容,可以降低响应时延(对于流式输出时的首字时延尤为明显)。但在少数场景里,回复效果可能会下降。
|
||||||
|
en_US: Allow the model to perform external search to enhance the generation results.
|
||||||
|
required: false
|
||||||
|
default: true
|
||||||
|
pricing:
|
||||||
|
input: '0.015'
|
||||||
|
output: '0.05'
|
||||||
|
unit: '0.001'
|
||||||
|
currency: RMB
|
@ -0,0 +1,39 @@
|
|||||||
|
model: hunyuan-turbo-vision
|
||||||
|
label:
|
||||||
|
zh_Hans: hunyuan-turbo-vision
|
||||||
|
en_US: hunyuan-turbo-vision
|
||||||
|
model_type: llm
|
||||||
|
features:
|
||||||
|
- agent-thought
|
||||||
|
- tool-call
|
||||||
|
- multi-tool-call
|
||||||
|
- stream-tool-call
|
||||||
|
- vision
|
||||||
|
model_properties:
|
||||||
|
mode: chat
|
||||||
|
context_size: 8000
|
||||||
|
parameter_rules:
|
||||||
|
- name: temperature
|
||||||
|
use_template: temperature
|
||||||
|
- name: top_p
|
||||||
|
use_template: top_p
|
||||||
|
- name: max_tokens
|
||||||
|
use_template: max_tokens
|
||||||
|
default: 1024
|
||||||
|
min: 1
|
||||||
|
max: 8000
|
||||||
|
- name: enable_enhance
|
||||||
|
label:
|
||||||
|
zh_Hans: 功能增强
|
||||||
|
en_US: Enable Enhancement
|
||||||
|
type: boolean
|
||||||
|
help:
|
||||||
|
zh_Hans: 功能增强(如搜索)开关,关闭时将直接由主模型生成回复内容,可以降低响应时延(对于流式输出时的首字时延尤为明显)。但在少数场景里,回复效果可能会下降。
|
||||||
|
en_US: Allow the model to perform external search to enhance the generation results.
|
||||||
|
required: false
|
||||||
|
default: true
|
||||||
|
pricing:
|
||||||
|
input: '0.08'
|
||||||
|
output: '0.08'
|
||||||
|
unit: '0.001'
|
||||||
|
currency: RMB
|
Loading…
x
Reference in New Issue
Block a user