InMemoryAiChat constructor
InMemoryAiChat({
- required String chatId,
- required String userId,
- required AiCompletions aiCompletions,
- required AiCompletions summaryCompletions,
- required String instructions(),
- required ExtendedLogger logger,
- CompactionSetup compactionSetup = defaultCompactionSetup,
- String summaryInstructions()?,
- bool isTimeAware = true,
Implementation
InMemoryAiChat({
required super.chatId,
required super.userId,
required super.aiCompletions,
required super.summaryCompletions,
required super.instructions,
required super.logger,
super.compactionSetup,
super.summaryInstructions,
super.isTimeAware,
}) : super(store: InMemoryStore(), repo: InMemoryAiChatRepo());