Documentation
¶
Index ¶
- func AddMessage(chatID int, role, apiName, content string) error
- func CloseDB()
- func CreateChat(title string) (int, error)
- func DeleteAPIKey(apiName string) error
- func FlushDB() error
- func GetAPIKey(apiName string) (string, error)
- func GetAllAPIKeys() ([]struct{ ... }, error)
- func InitDB() error
- func SetAPIKey(apiName, apiKey string) error
- type Chat
- type Message
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddMessage ¶
func CreateChat ¶
func DeleteAPIKey ¶
func GetAllAPIKeys ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.