open_ai/models/completions_model library

Represents a request to the OpenAI Completions API.

Classes

Choice
Represents a choice generated by the model.
CompletionsRequest
Represents a request to the OpenAI Completions API.
CompletionsResponse
Represents a response from the OpenAI Completions API.
Usage
Represents the usage statistics for a completion.