mirror of
https://gitee.com/dify_ai/dify.git
synced 2024-11-30 02:08:37 +08:00
add abab7-chat-preview model (#10654)
Some checks failed
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/amd64, build-api-amd64) (push) Has been cancelled
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/arm64, build-api-arm64) (push) Has been cancelled
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/amd64, build-web-amd64) (push) Has been cancelled
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/arm64, build-web-arm64) (push) Has been cancelled
Build and Push API & Web / create-manifest (api, DIFY_API_IMAGE_NAME, merge-api-images) (push) Has been cancelled
Build and Push API & Web / create-manifest (web, DIFY_WEB_IMAGE_NAME, merge-web-images) (push) Has been cancelled
Some checks failed
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/amd64, build-api-amd64) (push) Has been cancelled
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/arm64, build-api-arm64) (push) Has been cancelled
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/amd64, build-web-amd64) (push) Has been cancelled
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/arm64, build-web-arm64) (push) Has been cancelled
Build and Push API & Web / create-manifest (api, DIFY_API_IMAGE_NAME, merge-api-images) (push) Has been cancelled
Build and Push API & Web / create-manifest (web, DIFY_WEB_IMAGE_NAME, merge-web-images) (push) Has been cancelled
Co-authored-by: xiandan-erizo <xiandan-erizo@outlook.com>
This commit is contained in:
parent
2a4783307a
commit
5b8f03cd9d
@ -0,0 +1,46 @@
|
|||||||
|
model: abab7-chat-preview
|
||||||
|
label:
|
||||||
|
en_US: Abab7-chat-preview
|
||||||
|
model_type: llm
|
||||||
|
features:
|
||||||
|
- agent-thought
|
||||||
|
- tool-call
|
||||||
|
- stream-tool-call
|
||||||
|
model_properties:
|
||||||
|
mode: chat
|
||||||
|
context_size: 245760
|
||||||
|
parameter_rules:
|
||||||
|
- name: temperature
|
||||||
|
use_template: temperature
|
||||||
|
min: 0.01
|
||||||
|
max: 1
|
||||||
|
default: 0.1
|
||||||
|
- name: top_p
|
||||||
|
use_template: top_p
|
||||||
|
min: 0.01
|
||||||
|
max: 1
|
||||||
|
default: 0.95
|
||||||
|
- name: max_tokens
|
||||||
|
use_template: max_tokens
|
||||||
|
required: true
|
||||||
|
default: 2048
|
||||||
|
min: 1
|
||||||
|
max: 245760
|
||||||
|
- name: mask_sensitive_info
|
||||||
|
type: boolean
|
||||||
|
default: true
|
||||||
|
label:
|
||||||
|
zh_Hans: 隐私保护
|
||||||
|
en_US: Moderate
|
||||||
|
help:
|
||||||
|
zh_Hans: 对输出中易涉及隐私问题的文本信息进行打码,目前包括但不限于邮箱、域名、链接、证件号、家庭住址等,默认true,即开启打码
|
||||||
|
en_US: Mask the sensitive info of the generated content, such as email/domain/link/address/phone/id..
|
||||||
|
- name: presence_penalty
|
||||||
|
use_template: presence_penalty
|
||||||
|
- name: frequency_penalty
|
||||||
|
use_template: frequency_penalty
|
||||||
|
pricing:
|
||||||
|
input: '0.1'
|
||||||
|
output: '0.1'
|
||||||
|
unit: '0.001'
|
||||||
|
currency: RMB
|
@ -34,6 +34,7 @@ from core.model_runtime.model_providers.minimax.llm.types import MinimaxMessage
|
|||||||
|
|
||||||
class MinimaxLargeLanguageModel(LargeLanguageModel):
|
class MinimaxLargeLanguageModel(LargeLanguageModel):
|
||||||
model_apis = {
|
model_apis = {
|
||||||
|
"abab7-chat-preview": MinimaxChatCompletionPro,
|
||||||
"abab6.5s-chat": MinimaxChatCompletionPro,
|
"abab6.5s-chat": MinimaxChatCompletionPro,
|
||||||
"abab6.5-chat": MinimaxChatCompletionPro,
|
"abab6.5-chat": MinimaxChatCompletionPro,
|
||||||
"abab6-chat": MinimaxChatCompletionPro,
|
"abab6-chat": MinimaxChatCompletionPro,
|
||||||
|
Loading…
Reference in New Issue
Block a user