{
"model": "gpt-3.5-turbo-instruct",
"prompt": "Say this is a test",
"max_tokens": 7,
"temperature": 0
}
curl --location --request POST 'http://104.194.8.112:9088/v1/completions' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "gpt-3.5-turbo-instruct",
"prompt": "Say this is a test",
"max_tokens": 7,
"temperature": 0
}'
{
"id": "cmpl-8g8VQdNZG6xSMUpR0eyJ8mBaQFyNu",
"object": "text_completion",
"created": 1705053164,
"model": "gpt-3.5-turbo-instruct",
"choices": [
{
"text": "\n\nThis is a test.",
"index": 0,
"logprobs": null,
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 5,
"completion_tokens": 6,
"total_tokens": 11
}
}