Versions in this module Expand all Collapse all v0 v0.14.2 Aug 19, 2024 Changes in this version + type Client struct + func New(opts ...Option) (c *Client, err error) + func (c *Client) Completion(ctx context.Context, content string) (*core.Response, error) + func (c *Client) GetSummaryPrefix(ctx context.Context, content string) (*core.Response, error) + type Option interface + func WithMaxTokens(val int) Option + func WithModel(val string) Option + func WithTemperature(val float32) Option + func WithToken(val string) Option + func WithTopP(val float32) Option