▪️Create completion
Creates a completion for the provided prompt and parameters
curl https://api.eye-ai.com/v1/completions \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-d '{
"model": "text-ada-001",
"prompt": "Say this is a test",
"max_tokens": 7,
"temperature": 0
}{
"model": "text-ada-001",
"prompt": "Say this is a test",
"max_tokens": 7,
"temperature": 0,
"top_p": 1,
"n": 1,
"stream": false,
"logprobs": null,
"stop": "\n"
}
Last updated
