Retrieve text completions based on the provided input.
The chat model to use for generating completions.
The prompt to use for generating completions.
The maximum number of tokens in the generated completion.
The temperature parameter for controlling randomness in completions.
The diversity of the generated text based on nucleus sampling.
The diversity of the generated text based on top-k sampling.
Options to affect the output of the response.
Options to affect the input of the request.
Successful response.
Unique ID for the completion.
Type of object (completion).
Timestamp of when the completion was created.
The model used for generating the result.
The set of result choices.