Authorization: Bearer ********************{
"content": {
"text": "string",
"type": "Text"
},
"conversationId": "string",
"history": [
{
"content": {
"text": "string",
"type": "Text"
},
"metadata": {},
"role": "user"
}
],
"options": {
"memory": true,
"prompt": {
"type": "None"
},
"toolContext": {}
}
}curl --location --request POST '/tenant//model//chat/call' \
--header 'CoSec-Device-Id;' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"content": {
"text": "string",
"type": "Text"
},
"conversationId": "string",
"history": [
{
"content": {
"text": "string",
"type": "Text"
},
"metadata": {},
"role": "user"
}
],
"options": {
"memory": true,
"prompt": {
"type": "None"
},
"toolContext": {}
}
}'{
"conversationId": "string",
"id": "string",
"metadata": {
"model": "string"
},
"results": [
{
"conversationId": "string",
"message": {
"content": {
"text": "string",
"type": "Text"
},
"metadata": {},
"role": "user"
},
"type": "Ack"
}
]
}