on_device_rag 0.1.0
on_device_rag: ^0.1.0 copied to clipboard
A lightweight, pure-Dart on-device Retrieval-Augmented Generation (RAG) engine for Flutter and Dart: chunk text, embed it, run vector similarity search, and build grounded prompts — fully offline, bri [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add on_device_ragWith Flutter:
$ flutter pub add on_device_ragThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
on_device_rag: ^0.1.0Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:on_device_rag/on_device_rag.dart';