mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 11:42:29 +08:00
chore: update maas model provider description (#5056)
This commit is contained in:
parent
415816cf35
commit
5f870ac950
|
@ -69,4 +69,24 @@ ModelConfigs = {
|
||||||
'mode': 'chat',
|
'mode': 'chat',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
'Llama3-8B': {
|
||||||
|
'req_params': {
|
||||||
|
'max_prompt_tokens': 8192,
|
||||||
|
'max_new_tokens': 8192,
|
||||||
|
},
|
||||||
|
'model_properties': {
|
||||||
|
'context_size': 8192,
|
||||||
|
'mode': 'chat',
|
||||||
|
}
|
||||||
|
},
|
||||||
|
'Llama3-70B': {
|
||||||
|
'req_params': {
|
||||||
|
'max_prompt_tokens': 8192,
|
||||||
|
'max_new_tokens': 8192,
|
||||||
|
},
|
||||||
|
'model_properties': {
|
||||||
|
'context_size': 8192,
|
||||||
|
'mode': 'chat',
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,8 @@ provider: volcengine_maas
|
||||||
label:
|
label:
|
||||||
en_US: Volcengine
|
en_US: Volcengine
|
||||||
description:
|
description:
|
||||||
en_US: Volcengine MaaS models.
|
en_US: Volcengine Ark models.
|
||||||
|
zh_Hans: 火山方舟提供的模型,例如 Doubao-pro-4k、Doubao-pro-32k 和 Doubao-pro-128k。
|
||||||
icon_small:
|
icon_small:
|
||||||
en_US: icon_s_en.svg
|
en_US: icon_s_en.svg
|
||||||
icon_large:
|
icon_large:
|
||||||
|
@ -12,6 +13,7 @@ background: "#F9FAFB"
|
||||||
help:
|
help:
|
||||||
title:
|
title:
|
||||||
en_US: Get your Access Key and Secret Access Key from Volcengine Console
|
en_US: Get your Access Key and Secret Access Key from Volcengine Console
|
||||||
|
zh_Hans: 从火山引擎控制台获取您的 Access Key 和 Secret Access Key
|
||||||
url:
|
url:
|
||||||
en_US: https://console.volcengine.com/iam/keymanage/
|
en_US: https://console.volcengine.com/iam/keymanage/
|
||||||
supported_model_types:
|
supported_model_types:
|
||||||
|
@ -50,7 +52,7 @@ model_credential_schema:
|
||||||
required: true
|
required: true
|
||||||
label:
|
label:
|
||||||
en_US: Volcengine Region
|
en_US: Volcengine Region
|
||||||
zh_Hans: 火山引擎地区
|
zh_Hans: 火山引擎地域
|
||||||
type: text-input
|
type: text-input
|
||||||
default: cn-beijing
|
default: cn-beijing
|
||||||
placeholder:
|
placeholder:
|
||||||
|
@ -124,6 +126,18 @@ model_credential_schema:
|
||||||
show_on:
|
show_on:
|
||||||
- variable: __model_type
|
- variable: __model_type
|
||||||
value: llm
|
value: llm
|
||||||
|
- label:
|
||||||
|
en_US: Llama3-8B
|
||||||
|
value: Llama3-8B
|
||||||
|
show_on:
|
||||||
|
- variable: __model_type
|
||||||
|
value: llm
|
||||||
|
- label:
|
||||||
|
en_US: Llama3-70B
|
||||||
|
value: Llama3-70B
|
||||||
|
show_on:
|
||||||
|
- variable: __model_type
|
||||||
|
value: llm
|
||||||
- label:
|
- label:
|
||||||
en_US: Doubao-embedding
|
en_US: Doubao-embedding
|
||||||
value: Doubao-embedding
|
value: Doubao-embedding
|
||||||
|
|
Loading…
Reference in New Issue
Block a user