rag 1.3.1
rag: ^1.3.1 copied to clipboard
Retrieval Augmented Generation for Agentic
1.3.0 #
- Support agentic 1.4+
1.2.5 #
- Support fire_api imposter objects for vector values
1.2.3 #
- Fix barrel exports
1.2.2 #
Changed #
- Raised the minimum supported
agenticversion to1.2.2. - Updated the
fire_apidependency to1.5.8. - Aligned dependency constraints for the current
ragrelease line.
1.2.1 #
Added #
- Added
FirestoreVectorSpaceas an abstract Firestore-backedVectorSpaceimplementation inlib/spaces/fire_space.dart. - Added
QdrantVectorSpaceas an abstract Qdrant-backedVectorSpaceimplementation inlib/spaces/qdrant_space.dart. - Added
VectorUpsert.fromIChunk(...)to makeagenticingestion output easier to index directly into a vector space. - Added package dependencies required by the new backend implementations:
fast_log,fire_api,fixnum,grpc,qdrant,toxic, anduuid.
Changed #
- Raised the minimum supported
agenticversion to1.2.1soragcan rely on the newer ingestion/export surface. - Decoupled the core vector-space types and backend adapters from unnecessary
umbrella imports so they can compile and test cleanly without loading the
full
agenticruntime graph. - Moved the Pinecone implementation to
lib/spaces/pinecone_space.dart. - Refactored the Qdrant backend into a reusable abstract base that delegates
embedding generation to
onEmbed(). - Expanded backend coverage so the package now documents Pinecone, Firestore, and Qdrant retrieval flows.
- Improved Qdrant interoperability with stable deterministic point IDs derived from caller IDs, original ID round-tripping through payloads, safer payload decoding, and prefix listing based on stored IDs.
Fixed #
- Fixed
FirestoreVectorSpace.query()so token counts are preserved and result ranking uses finite scores.
Documentation #
- Rewrote the README with a full project overview, feature list, setup notes, import guidance, and usage examples.
- Documented the new backend import paths under
package:rag/spaces/.... - Added example implementations for Firestore and Qdrant vector spaces.
Tests #
- Added regression tests for
VectorUpsert.fromIChunk(...)andVectorSpace.queryAll(...). - Added Firestore adapter tests covering query ranking/token accounting and upsert field wiring.
- Added Qdrant adapter tests covering deterministic ID mapping, original ID round-tripping, payload decoding, prefix listing, and batched query hydration.
1.0.0 #
- Initial release.