Module completion

Source
Expand description

This module defines the data structures for handling completion requests and responses in the API.

Structsยง

Choice
Represents a single completion choice.
CompletionRequest
Represents a request payload for the Completions API.
CompletionResponse
Represents a response from the Completions API.
Logprobs
Represents the log probabilities of tokens.
Usage
Represents usage statistics for a completion.