{
"contentType": "multipart/form-data",
"properties": {
"messages": {
"description": "至今为止对话所包含的消息列表。Python 代码示例。",
"items": {
"properties": {
"content": {
"type": "string"
},
"role": {
"type": "string"
}
},
"type": "object"
},
"type": "array",
"x-i18n": {
"en-US": {
"description": "list of messages in the conversation so far. Python code example."
}
}
},
"model": {
"description": "枚举值:\nveo2\nveo2-fast\nveo2-fast-frames\nveo2-fast-components\nveo2-pro\nveo3\nveo3-fast\nveo3-pro\nveo3-pro-frames",
"type": "string",
"x-i18n": {
"en-US": {
"description": "Enum:\nveo2\nveo2-fast\nveo2-fast-frames\nveo2-fast-components\nveo2-pro\nveo3\nveo3-fast\nveo3-pro\nveo3-pro-frames"
}
}
},
"stream": {
"description": "默认为 false 如果设置,则像在 ChatGPT 中一样会发送部分消息增量。标记将以仅数据的服务器发送事件的形式发送,这些事件在可用时,并在 data: [DONE] 消息终止流。Python 代码示例。",
"type": "boolean",
"x-i18n": {
"en-US": {
"description": "defaults to false if set, sends partial message deltas like ChatGPT. tokens are sent as data-only server-sent events,as they become available; stream ends with data: [DONE]. Python code example."
}
}
}
},
"required": [
"model",
"messages"
]
}