mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-10 11:26:52 +08:00
add JSON Mode support for moonshot models (#7568)
This commit is contained in:
@@ -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'
|
||||||
|
|||||||
Reference in New Issue
Block a user