chat_memory 1.0.0 copy "chat_memory: ^1.0.0" to clipboard
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 [...]

example/lib/main.dart

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,
    );
  }
}
0
likes
40
points
103
downloads

Publisher

unverified uploader

Weekly Downloads

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 pluggable embedding/vector-store adapters to make conversational agents stateful and context-aware.

Repository (GitHub)
View/report issues
Contributing

Topics

#ai #nlp #embeddings #memory #chat

Documentation

Documentation

License

MIT (license)

Dependencies

logging, meta, path, sqflite, sqflite_common_ffi

More

Packages that depend on chat_memory