How syedmuhammadubaidurrehman22/ragforge works
RAGForge is data infrastructure for preparing and serving knowledge to RAG systems. The implemented user workflow is uploading a document through the API or ingesting a local file through the CLI; ingestion snapshots and fingerprints the bytes, stores an immutable Bronze object, and records document/version and run metadata. API endpoints also expose document details, versions, deletion, health, and metrics. Processing, embeddings, retrieval, evaluation, and orchestration are named product capabilities, but their repository modules are currently empty. Connections shown below are limited to those supported by the excerpts, SOURCE INDEX, or README.
Main entry points: service.py Ingestion service · app.py HTTP API · cli.py Command line · contracts.py Domain contracts
Components 15
User entry points
- HTTP API
src/ragforge/api/app.py - Command line
src/ragforge/cli.py
Ingestion and domain
- Ingestion service
src/ragforge/ingestion/service.py - Stable identities
src/ragforge/domain/identity.py - Domain contracts
src/ragforge/domain/contracts.py
Runtime services
- Application settings
src/ragforge/config.py - Logs and metrics
src/ragforge/observability/__init__.py - PostgreSQL metadata
- MinIO Bronze objects
RAG capabilities
- Document processing
src/ragforge/processing - Embedding generation
src/ragforge/embeddings - Index and retrieval
src/ragforge/retrieval - RAG evaluation
src/ragforge/evaluation - Pipeline orchestration
src/ragforge/orchestration
Other components
- Document user
Connections 13
- Document user → HTTP API: uploads and queries
README.md - Document user → Command line: ingests files
README.md - HTTP API → Ingestion service: routes document operations
src/ragforge/api/app.py - Command line → Ingestion service: invokes ingestion
src/ragforge/cli.py - HTTP API → Application settings: loads settings
src/ragforge/api/app.py - Command line → Application settings: loads settings
src/ragforge/cli.py - HTTP API → Domain contracts: uses response models
src/ragforge/api/app.py - Ingestion service → Domain contracts: returns domain records
src/ragforge/ingestion/service.py - Ingestion service → Stable identities: derives identifiers
src/ragforge/ingestion/service.py - Ingestion service → PostgreSQL metadata: reads and writes metadata
src/ragforge/ingestion/service.py - Ingestion service → MinIO Bronze objects: stores Bronze bytes
src/ragforge/ingestion/service.py - HTTP API → Logs and metrics: configures and serves metrics
src/ragforge/api/app.py - Command line → Logs and metrics: configures logging
src/ragforge/cli.py