curl --request POST \
--url https://{api_endpoint}/api/v1/completions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "<string>",
"prompt": "<string>",
"frequency_penalty": 0,
"presence_penalty": 0,
"logit_bias": {},
"logprobs": 123,
"temperature": 1,
"n": 1,
"best_of": 1,
"seed": 123,
"stop": [
"<string>"
],
"stream": false,
"max_tokens": 16,
"top_p": 1,
"user": "<string>",
"suffix": "<string>",
"extra_model_args": {}
}
'