rag_engine_flutter 0.7.5
rag_engine_flutter: ^0.7.5 copied to clipboard
Native Rust FFI plugin for mobile_rag_engine. Provides high-performance tokenization and HNSW vector indexing for on-device RAG.
Changelog #
0.7.5 #
- BM25 Index Fix: Added
rebuild_chunk_bm25_index()function to properly build BM25 index for Source RAG chunks. - Hybrid Search Fix: BM25 keyword search now correctly works alongside Vector similarity search.
- Initialization: Both HNSW and BM25 indexes are now built during app initialization for existing chunks.
0.7.0 #
- Metadata Support: Added
metadatacolumn tosourcestable and support inHybridSearchResult. - Hybrid Search: Enhanced
search_hybridwith weighted scoring (Vector + BM25) and metadata retrieval. - Prompt Optimization: Search results now include metadata for better LLM context construction.
0.6.1 #
- Updated README to remove specific version constraints in examples.
- Updated Supported Platforms documentation.
0.6.0 #
- DB Connection Pool: Implemented connection pooling with
r2d2for 50-90% search performance improvement - Resource Optimization: Eliminated redundant SQLite connections to reduce file descriptor usage
- Refactoring: Updated API to use pooled connections instead of direct file opens
0.5.1 #
- Unit Tests: Added tests for
hnsw_indexanddocument_parsermodules - BM25 Korean Support: Improved Korean tokenization using
unicode-segmentationcrate for better word boundary detection - Code Quality: Enhanced test coverage for core Rust modules
0.5.0 #
- PDF/DOCX Text Extraction: New text extraction with smart dehyphenation
- Markdown Chunking: Structure-aware chunking with header path inheritance
- PDF Fix: Enhanced text normalization to preserve paragraph structure
- Safety: Added 50MB file size processing limit
0.4.0 #
- Fix binary mismatch: Rebuilt native binaries to resolve hash mismatch with Dart bindings.
0.3.0 #
- Fix platform directories missing: Include ios/, android/, macos/, linux/, windows/ in package
- Add .pubignore to prevent parent ignore rules from excluding platform configs
0.2.0 #
- Fix package structure: Include rust/ directory in package for correct pub.dev distribution
- Update platform build configs (iOS, macOS, Android, Linux, Windows) to reference internal rust/ path
0.1.0 #
- Initial release
- High-performance tokenization with HuggingFace tokenizers
- HNSW vector indexing for O(log n) similarity search
- SQLite integration for persistent vector storage
- Semantic text chunking with Unicode boundary detection
- Prebuilt binaries for iOS, macOS, and Android