Create completion
POST {{baseUrl}}/completions
Creates a completion for the provided prompt and parameters.
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
RESPONSES
status OK
{
"choices": [
{
"finish_reason": "<string>",
"index": "<number>",
"logprobs": {},
"text": "<string>"
},
{
"finish_reason": "<string>",
"index": "<number>",
"logprobs": {},
"text": "<string>"
}
],
"created": "<number>",
"id": "<string>",
"model": "<string>",
"object": "<string>"
} |
ENDPOINTS