Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunSetupConfig ¶ added in v0.2.0
func SetupClient ¶ added in v0.2.0
SetupClient initializes the client and returns the config. if forceInitialize is true, it will run the setup process even if the config file exists.
Types ¶
type ChatClient ¶
type ChatClient struct {
// contains filtered or unexported fields
}
func (*ChatClient) InitClient ¶
func (c *ChatClient) InitClient(client *openai.Client, config domain.Config)
func (*ChatClient) StartChatLoop ¶
func (c *ChatClient) StartChatLoop(initialPrompt string)
Click to show internal directories.
Click to hide internal directories.