add JSON Mode support for moonshot models (#7568)

This commit is contained in:
噢哎哟喂 2024-08-23 16:24:45 +08:00 committed by GitHub
parent df69ad9f0e
commit ad13011043
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 36 additions and 0 deletions

View File

@ -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'

View File

@ -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'

View File

@ -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'