Versions in this module Expand all Collapse all v0 v0.0.1 Aug 24, 2023 Changes in this version + const OPENAI_PREFIX + const OPENAI_TOKEN + type OpenAIClient struct + Client *openai.Client + Model string + func NewOpenAIClient(model string) (*OpenAIClient, error) + func (c *OpenAIClient) Prompt(ctx context.Context, messages []openai.ChatCompletionMessage) (string, error)