Creates a completion for the provided prompt and parameters.
curl https://mkp-api.fptcloud.com/completions \ -H "Content-Type: application/json" \ -H "Authorization: Bearer API_KEY" \ -d '{ "model": "gpt-3.5-turbo-instruct", "prompt": "Say this is a test", "max_tokens": 7, "temperature": 0 }'
Last updated 8 months ago
Was this helpful?