curl --location --request POST 'https://ai.thrust.com.br/api/AI/Completion' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "string",
"messages": [
{
"role": "string",
"content": null,
"name": "string",
"tool_calls": [
null
],
"tool_call_id": "string"
}
],
"temperature": 0,
"top_p": 0,
"n": 0,
"stream": true,
"max_tokens": 0,
"presence_penalty": 0,
"frequency_penalty": 0,
"logit_bias": {
"property1": 0,
"property2": 0
},
"user": "string",
"tools": [
{
"type": "string",
"function": {
"description": "string",
"name": "string",
"parameters": {
"type": "string",
"description": "string",
"properties": {
"property1": null,
"property2": null
},
"required": [
"string"
],
"title": "string"
}
}
}
]
}'{
"id": "string",
"created": "2019-08-24T14:15:22.123Z",
"choices": [
{
"message": {
"role": {
"label": "string"
},
"content": "string"
},
"index": 0,
"finishReason": "string"
}
],
"usage": {
"completionTokens": 0,
"promptTokens": 0,
"totalTokens": 0
}
}