messagesarray<object>ObbligatorioCronologia ordinata solo testo per Tencent HY-MT2 Pro (fino a 256 messaggi).
- Predefinito
- Non specificato
- Vincoli
- minItems:1maxItems:256
messages[].rolestringObbligatorio dentro l’oggettoRole of the message author.
- Predefinito
- Non specificato
- Valori ammessi
"system""developer""user""assistant"
messages[].namestringFacoltativoOptional name identifying the speaker within its role.
- Predefinito
- Non specificato
messages[].contentstring | array | nullFacoltativoMessage content, either plain text or a list of content parts.
- Predefinito
- Non specificato
{
"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."
}