rag_engine_flutter 0.3.0
rag_engine_flutter: ^0.3.0 copied to clipboard
Native Rust FFI plugin for mobile_rag_engine. Provides high-performance tokenization and HNSW vector indexing for on-device RAG.
rag_engine_flutter #
Native Rust FFI plugin for mobile_rag_engine.
Overview #
This package provides the native Rust components for the mobile_rag_engine package:
- High-performance tokenization using HuggingFace tokenizers
- HNSW vector indexing for O(log n) similarity search
- SQLite integration for persistent vector storage
- Semantic text chunking with Unicode boundary detection
Installation #
This package is automatically included as a dependency of mobile_rag_engine. You don't need to add it directly.
dependencies:
mobile_rag_engine: ^0.3.0
Requirements #
For development (building from source) #
If prebuilt binaries are not available for your platform, you need:
- Rust toolchain (stable)
- Platform-specific build tools (Xcode for iOS/macOS, Android NDK for Android)
For users (with prebuilt binaries) #
No additional requirements - binaries are downloaded automatically.
Supported Platforms #
| Platform | Architecture | Status |
|---|---|---|
| iOS | arm64 | ✅ |
| iOS Simulator | arm64, x86_64 | ✅ |
| macOS | arm64, x86_64 | ✅ |
| Android | arm64-v8a, armeabi-v7a, x86, x86_64 | ✅ |
| Linux | x86_64 | 🚧 Coming soon |
| Windows | x86_64 | 🚧 Coming soon |
License #
MIT