chat_memory 1.0.0
chat_memory: ^1.0.0 copied to clipboard
A modular Dart library that provides robust chat-memory management for LLM-based applications. Features hybrid memory (in-memory + vector stores), summarization strategies, semantic retrieval, and plu [...]
import 'package:flutter/material.dart';
import 'core/theme/app_theme.dart';
import 'presentation/screens/chat_screen.dart';
void main() {
runApp(const ChatMemoryExampleApp());
}
class ChatMemoryExampleApp extends StatelessWidget {
const ChatMemoryExampleApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Chat Memory Demo',
theme: AppTheme.lightTheme,
darkTheme: AppTheme.darkTheme,
themeMode: ThemeMode.system,
home: const ChatScreen(),
debugShowCheckedModeBanner: false,
);
}
}