mirror of
https://gitee.com/dify_ai/dify.git
synced 2024-11-30 18:27:53 +08:00
add JSON Mode support for moonshot models (#7568)
This commit is contained in:
parent
df69ad9f0e
commit
ad13011043
@ -21,6 +21,18 @@ parameter_rules:
|
||||
default: 1024
|
||||
min: 1
|
||||
max: 128000
|
||||
- name: response_format
|
||||
label:
|
||||
zh_Hans: 回复格式
|
||||
en_US: response_format
|
||||
type: string
|
||||
help:
|
||||
zh_Hans: 指定模型必须输出的格式
|
||||
en_US: specifying the format that the model must output
|
||||
required: false
|
||||
options:
|
||||
- text
|
||||
- json_object
|
||||
pricing:
|
||||
input: '0.06'
|
||||
output: '0.06'
|
||||
|
@ -21,6 +21,18 @@ parameter_rules:
|
||||
default: 1024
|
||||
min: 1
|
||||
max: 32000
|
||||
- name: response_format
|
||||
label:
|
||||
zh_Hans: 回复格式
|
||||
en_US: response_format
|
||||
type: string
|
||||
help:
|
||||
zh_Hans: 指定模型必须输出的格式
|
||||
en_US: specifying the format that the model must output
|
||||
required: false
|
||||
options:
|
||||
- text
|
||||
- json_object
|
||||
pricing:
|
||||
input: '0.024'
|
||||
output: '0.024'
|
||||
|
@ -21,6 +21,18 @@ parameter_rules:
|
||||
default: 512
|
||||
min: 1
|
||||
max: 8192
|
||||
- name: response_format
|
||||
label:
|
||||
zh_Hans: 回复格式
|
||||
en_US: response_format
|
||||
type: string
|
||||
help:
|
||||
zh_Hans: 指定模型必须输出的格式
|
||||
en_US: specifying the format that the model must output
|
||||
required: false
|
||||
options:
|
||||
- text
|
||||
- json_object
|
||||
pricing:
|
||||
input: '0.012'
|
||||
output: '0.012'
|
||||
|
Loading…
Reference in New Issue
Block a user