Documentation ¶
Index ¶
- func GetChatLog(userId string, limit int32) []*chatgptpb.ChatGptMessage
- func GetChatScene(userId string) *chatgptpb.ChatGptMessage
- func GetDeviceId() string
- func InsertChatLogs(userId string, chatLogs []*chatgptpb.ChatGptMessage)
- func SetChatScene(userId string, message *chatgptpb.ChatGptMessage)
- type Sqlite3
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetChatLog ¶
func GetChatLog(userId string, limit int32) []*chatgptpb.ChatGptMessage
func GetChatScene ¶
func GetChatScene(userId string) *chatgptpb.ChatGptMessage
func GetDeviceId ¶
func GetDeviceId() string
func InsertChatLogs ¶
func InsertChatLogs(userId string, chatLogs []*chatgptpb.ChatGptMessage)
func SetChatScene ¶
func SetChatScene(userId string, message *chatgptpb.ChatGptMessage)
Types ¶
Click to show internal directories.
Click to hide internal directories.