mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-14 18:45:56 +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
|
default: 1024
|
||||||
min: 1
|
min: 1
|
||||||
max: 128000
|
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:
|
pricing:
|
||||||
input: '0.06'
|
input: '0.06'
|
||||||
output: '0.06'
|
output: '0.06'
|
||||||
|
@ -21,6 +21,18 @@ parameter_rules:
|
|||||||
default: 1024
|
default: 1024
|
||||||
min: 1
|
min: 1
|
||||||
max: 32000
|
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:
|
pricing:
|
||||||
input: '0.024'
|
input: '0.024'
|
||||||
output: '0.024'
|
output: '0.024'
|
||||||
|
@ -21,6 +21,18 @@ parameter_rules:
|
|||||||
default: 512
|
default: 512
|
||||||
min: 1
|
min: 1
|
||||||
max: 8192
|
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:
|
pricing:
|
||||||
input: '0.012'
|
input: '0.012'
|
||||||
output: '0.012'
|
output: '0.012'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user