package
2.15.0
Repository: https://github.com/tbckr/sgpt.git
Documentation: pkg.go.dev

# Functions

CreateClient creates a new OpenAI client with the given config and output writer.

# Variables

DefaultModel is the default model used for chat completions.
ErrMissingAPIKey is returned, if the OPENAI_API_KEY environment variable is not set.

# Structs

OpenAIClient is a client for the OpenAI API.