Create Completion
An OpenAI compatible Completion API.
Body
Number of sequences that are generated from the prompt.best_of
must be greater than or equal to n
.
Echo back the prompt in addition to the completion.
Penalizes new tokens based on their frequency in the generated text so far.
Modify the likelihood of specified tokens appearing in the completion.
Number of log probabilities to return per output token.
Maximum number of tokens to generate per output sequence.
Model name to use for completion.
Number of output sequences to return.
Penalizes new tokens based on whether they appear in the generated text so far
The prompt to generate completions from.
Controls the likelihood of the model generating repeated texts
Strings that stop the generation when they are generated.
The suffix that comes after a completion of inserted text.
Controls the randomness of the sampling.
Controls the cumulative probability of the top tokens to consider.
Response
An OpenAI API compatible schema for a chat completion stats.
Was this page helpful?