# Functions
No description provided by the author
NewClient creates new MinMax AI API client.
NewClientWithConfig creates new OpenAI API client for specified config.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
APIError provides error information returned by the API.
No description provided by the author
ChatCompletionRequest represents a request structure for chat completion API.
No description provided by the author
ChatCompletionResponse represents a response structure for chat completion API.
No description provided by the author
No description provided by the author
ChatCompletionStream Note: Perhaps it is more elegant to abstract Stream using generics.
No description provided by the author
ClientConfig is a configuration of a client.
No description provided by the author
RequestError provides informations about generic request errors.
No description provided by the author