messagesarray<object>必須Tencent HY-MT2 Pro へのテキスト専用会話履歴(最大 256 件)。
- デフォルト値
- 指定なし
- 制約
- minItems:1maxItems:256
messages[].rolestringオブジェクト内で必須Role of the message author.
- デフォルト値
- 指定なし
- 使用可能な値
"system""developer""user""assistant"
messages[].namestring任意Optional name identifying the speaker within its role.
- デフォルト値
- 指定なし
messages[].contentstring | array | null任意Message content, either plain text or a list of content parts.
- デフォルト値
- 指定なし
{
"type": [
"string",
"array",
"null"
],
"items": {
"oneOf": [
{
"type": "object",
"required": [
"type",
"text"
],
"properties": {
"text": {
"type": "string"
},
"type": {
"const": "text"
}
}
}
]
},
"description": "Message content, either plain text or a list of content parts."
}