completion
abstract suspend fun completion(request: <Error class: unknown class>): <Error class: unknown class>
Deprecated
completions is deprecated, use chat completion instead
This is the main endpoint of the API. Returns the predicted completion for the given prompt, and can also return the probabilities of alternative tokens at each position if requested.