Versions in this module Expand all Collapse all v0 v0.3.1 Dec 8, 2023 v0.3.0 Sep 14, 2023 Changes in this version + type ChatGPTResponder interface + RequestCompletion func(string, float32, float32) (string, error) + type MockOpenAIClient struct + func NewMockClient() *MockOpenAIClient + func (m *MockOpenAIClient) RequestCompletion(prompt string, temperature, model float32) (string, error) + type OpenAIClient struct + func NewClient(authToken string) *OpenAIClient + func (c *OpenAIClient) RequestCompletion(prompt string, temperature, openaiModel float32) (string, error)