Generate a chat completion
POST
https://api.genxt.ai/api/chat
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.genxt.ai/api/chat' \
--header 'Content-Type: application/json' \
--data-raw ''
Response Response Example
{
"model": "string",
"created_at": "2019-08-24T14:15:22Z",
"message": {
"role": "string",
"content": "string"
},
"done": true,
"total_duration": 0
}
Request
Body Params application/json
Responses
Modified at 2024-11-25 19:58:30