Documentation ¶ Index ¶ func Complete(ctx context.Context, messages []openai.ChatCompletionMessage) (map[string]interface{}, error) func Embed(ctx context.Context, text string) ([]float32, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Complete ¶ func Complete(ctx context.Context, messages []openai.ChatCompletionMessage) (map[string]interface{}, error) > OpenAI usage func Embed ¶ func Embed(ctx context.Context, text string) ([]float32, error) > OpenAI embedding usage Types ¶ This section is empty. Source Files ¶ View all Source files embedding_openai.gollm_openai.go Click to show internal directories. Click to hide internal directories.