ai_chat library

Classes

AiChat
The (chatId, userId) pair must uniquely identify a chat instructions and summaryInstructions are evaluated pre every request
AiChatStub

Properties

aiChatItemAssistantSeed → AssistantItem
final
aiChatItemContextSeed → ContextItem
final
aiChatItemHistorySummarySeed → HistorySummaryItem
final
aiChatItemUserSeed → UserItem
final
aiConversationItemAssistantSeed → dynamic
final
aiConversationItemUserSeed → dynamic
final
chatStateSeed → dynamic
final

Typedefs

CompactionSetup = ({int compactionTargetChars, int minCharsToCompact, int recentCharsToKeep})
SyncRemoteItems = Future<void> Function(List inserts, List<String> deletes)