Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Anthropic ¶
func New_Anthropic ¶
type Client ¶
type Client interface {
Chat(args Client_Args) (string, error)
}
type Client_Args ¶
type Google ¶
func New_Google ¶
func (*Google) Simple_Chat ¶
func (cs *Google) Simple_Chat(args Client_Args) error
type LLM_Conversations ¶
type LLM_Conversations struct { Role string `yaml:"role"` Content string `yaml:"content"` Model string `yaml:"model"` Timestamp string `yaml:"timestamp"` }
func Last_n_Chats ¶
func Last_n_Chats(log_file *string, n int) ([]LLM_Conversations, error)
func Load_Chat_Log ¶
func Load_Chat_Log(log_file *string) ([]LLM_Conversations, error)
Click to show internal directories.
Click to hide internal directories.