Versions in this module Expand all Collapse all v0 v0.0.1 Jun 8, 2023 Changes in this version + type Client struct + func New(opts ...Option) (*Client, error) + func (cli *Client) ChatCompletionStream(ctx context.Context, in *textv1.ChatCompletionsRequest, ...) (textv1.MinimaxService_ChatCompletionStreamClient, error) + func (cli *Client) ChatCompletions(ctx context.Context, in *textv1.ChatCompletionsRequest, ...) (*textv1.ChatCompletionsResponse, error) + type Option func(*Client) error + func WithApiToken(token string) Option + func WithBaseUrl(url string) Option + func WithGroupId(groupId string) Option