Ver código fonte

chore: update maas model provider description (#5056)

tags/0.6.11
sino 1 ano atrás
pai
commit
5f870ac950
Nenhuma conta vinculada ao e-mail do autor do commit

+ 20
- 0
api/core/model_runtime/model_providers/volcengine_maas/llm/models.py Ver arquivo

'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',
}
}
} }

+ 16
- 2
api/core/model_runtime/model_providers/volcengine_maas/volcengine_maas.yaml Ver arquivo

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:
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:
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:
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

Carregando…
Cancelar
Salvar