messagesarray<object>ObrigatórioHistórico ordenado somente texto para Tencent HY-MT2 Pro (até 256 mensagens).
- Valor padrão
- Não especificado
- Restrições
- minItems:1maxItems:256
messages[].rolestringObrigatório no objetoRole of the message author.
- Valor padrão
- Não especificado
- Valores permitidos
"system""developer""user""assistant"
messages[].namestringOpcionalOptional name identifying the speaker within its role.
- Valor padrão
- Não especificado
messages[].contentstring | array | nullOpcionalMessage content, either plain text or a list of content parts.
- Valor padrão
- Não especificado
{
"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."
}