Documentation
¶
Index ¶
- Variables
- type ChatStore
- func (cs *ChatStore) CountUserMessages(chatId string) int
- func (cs *ChatStore) Delete(chatId string)
- func (cs *ChatStore) Get(chatId string) *uctypes.AIChat
- func (cs *ChatStore) PostMessage(chatId string, aiOpts *uctypes.AIOptsType, message uctypes.GenAIMessage) error
- func (cs *ChatStore) RemoveMessage(chatId string, messageId string) bool
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type ChatStore ¶
type ChatStore struct {
// contains filtered or unexported fields
}
func (*ChatStore) CountUserMessages ¶ added in v0.12.4
func (*ChatStore) PostMessage ¶
func (cs *ChatStore) PostMessage(chatId string, aiOpts *uctypes.AIOptsType, message uctypes.GenAIMessage) error
Click to show internal directories.
Click to hide internal directories.