InMemoryAiChat constructor

InMemoryAiChat({
  1. required String chatId,
  2. required String userId,
  3. required AiCompletions aiCompletions,
  4. required AiCompletions summaryCompletions,
  5. required String instructions(),
  6. required ExtendedLogger logger,
  7. CompactionSetup compactionSetup = defaultCompactionSetup,
  8. String summaryInstructions()?,
  9. 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());