Skip to main content

on_device_rag 0.2.0 copy "on_device_rag: ^0.2.0" to clipboard
on_device_rag: ^0.2.0 copied to clipboard

Pure-Dart on-device RAG for Flutter and Dart. Chunk text, embed it, search vectors and build grounded LLM prompts, fully offline. Bring your own LLM.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add on_device_rag

With Flutter:

 $ flutter pub add on_device_rag

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  on_device_rag: ^0.2.0

Alternatively, 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';
2
likes
150
points
27
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Pure-Dart on-device RAG for Flutter and Dart. Chunk text, embed it, search vectors and build grounded LLM prompts, fully offline. Bring your own LLM.

Topics

#rag #llm #ai #embeddings #on-device

License

MIT (license)

More

Packages that depend on on_device_rag