Text completion Different Params

POST {{openAIUrl}}/completions

Creates a completion for the provided prompt and parameters.

Request Body

{"model"=>"gpt-3.5-turbo-instruct", "prompt"=>"The specific product name or service, cradlepoint is mostly known for is ", "temperature"=>0.3, "max_tokens"=>100, "frequency_penalty"=>-1}

RESPONSES

status: OK

{"id":"cmpl-76eAjNsslP4eGrgHXtawkjQhM55ZS","object":"text_completion","created":1681818745,"model":"text-davinci-003","choices":[{"text":"\n\nVolkswagen's most recognizable product is the Volkswagen Beetle, an iconic car that has been in production since 1938. Volkswagen also produces a wide range of other vehicles, including the Golf, Jetta, Passat, Tiguan, and Touareg, as well as commercial vehicles, such as the Transporter, Caddy, and Cra","index":0,"logprobs":null,"finish_reason":"length"}],"usage":{"prompt_tokens":14,"completion_tokens":70,"total_tokens":84}}