Expand description
Core traits for RAGFS components.
This module defines the trait interfaces that all RAGFS components implement:
ContentExtractor: Extract content from filesChunker: Split content into chunksEmbedder: Generate vector embeddingsVectorStore: Store and search vectorsIndexer: Coordinate the indexing pipeline
These traits enable a pluggable architecture where different implementations can be swapped without changing the rest of the system.
Traitsยง
- Chunker
- Trait for splitting content into chunks.
- Content
Extractor - Trait for extracting content from files.
- Embedder
- Trait for generating embeddings.
- Indexer
- Trait for file indexing coordination.
- Vector
Store - Trait for vector storage and search.