fire_rag 1.3.0
fire_rag: ^1.3.0 copied to clipboard
Firebase RAG for AI Agents
1.3.0 #
- Added repository-oriented ingestion and retrieval APIs with
Repository,RepositoryRecord,FireResult, andFireResultSet. - Added
FireRag.querySingle(...)andFireRag.query(...)for nearest-neighbor search scoped to a repository. - Added generation-aware refresh utilities with
pushRecordVectors(...),deleteRecordVectors(...), and stale-result filtering during query. - Added
ChunkSourcevariants for Cloud Storage files, Firestore documents, and inline strings. - Added record progress tracking for core and distilled vector work through
coreVectorProgressanddistilledVectorProgress. - Added image-aware embedding support in
TaskEmbedfor image-modality chunks stored in the configured bucket. - Updated
FireRag.init(...)to requirevectorCollectionandbucket. - Updated the README to document the new repository, refresh, and query workflow.
1.1.2 #
- ID Fixes
1.1.1 #
- Generated models
1.1.0 #
- Updated chunk persistence to use the serialized
agentic.Chunkdocument shape instead of hand-built field maps. - Stored
record,up,down, andvectoron the top-level chunk document, while keeping app-specific values insidemetadata. - Updated
TaskEmbedto rebuild text fromChunk.fullContentbefore embedding. - Updated
TaskDistillto read and write Firestore records through theChunkmodel path and preserve chunk metadata during recursive distillation. - Updated package documentation to describe the current Firestore schema and how it fits with
rag.
1.0.0 #
- Added
FireRag.init()bootstrap wiring for a shared embedding model, chat model, andTaskManager. - Added Cloud Task executors for chunking, recursive distillation, and embedding work.
- Added
TaskChunkto download source files, create persisted base chunks, and fan out embedding batches. - Added
TaskDistillto build higher-LOD distilled chunks, maintain parent/child linkage fields, and continue recursive summarization until a single output remains. - Added
TaskEmbedto read stored chunk text and write vector embeddings back to Firestore documents. - Added
CloudRecursiveChunkingTaskManageras the package entry point for recursive ingestion workflows.