rag_kit 0.1.0 copy "rag_kit: ^0.1.0" to clipboard
rag_kit: ^0.1.0 copied to clipboard

Retrieval-augmented generation for Dart: chunking, embeddings, vector search, and context building. Bring your own embedding model.

Changelog #

0.1.0 #

Initial release.

  • Chunker.fixed, Chunker.paragraphs, and Chunker.sentences, all reporting exact source offsets.
  • VectorStore interface and InMemoryVectorStore: cosine similarity over float32 vectors with precomputed norms, top-k via a bounded min-heap, minScore and metadata where filters.
  • Binary serialization (toBytes/fromBytes) and, on the VM, file persistence via package:rag_kit/io.dart.
  • Retriever: chunk, batch-embed, upsert, retrieve, and buildContext for assembling LLM prompt context.
0
likes
0
points
197
downloads

Publisher

verified publisherdeveloperyusuf.com

Weekly Downloads

Retrieval-augmented generation for Dart: chunking, embeddings, vector search, and context building. Bring your own embedding model.

Repository (GitHub)
View/report issues

Topics

#rag #embeddings #vector-search #ai #llm

License

unknown (license)

More

Packages that depend on rag_kit