Create completion
Creates a completion for the provided prompt and parameters.
In: header
ID of the model to use. You can use the List models API to see all of your available models.
1 <= value <= 20-2 <= value <= 2Empty Object
0 <= value <= 50 <= value1 <= value <= 128-2 <= value <= 20 <= value <= 20 <= value <= 1Response Body
curl -X POST "https://api.openroute.cn/v1/completions" \ -H "Content-Type: application/json" \ -d '{ "model": "gpt-3.5-turbo-instruct", "prompt": "Say this is a test", "max_tokens": 7, "temperature": 0 }'Last updated on
