Completions

completions

Methods

Create Completion ->
post/completions

Creates a completion for the provided prompt and parameters.

Domain types

Completion = { id, choices, created, 4 more... }
CompletionChoice = { finish_reason, index, logprobs, 1 more... }
CompletionUsage = { completion_tokens, prompt_tokens, total_tokens, 2 more... }