How callobuzz/cob-rag-engine works
cob-rag-engine is a self-hosted, multi-tenant platform for running branded, document-grounded AI assistants. A business configures an assistant and supplies documents or a website; content is ingested into tenant knowledge bases, then user questions are answered through retrieval and a language model, with cited evidence and validation. The platform also exposes a REST API and client libraries, a website widget, and WhatsApp support, alongside operator and business dashboards for setup, usage, and billing. Some domain links come from the README; unsampled implementation details are not asserted.
Main entry points: api Engine API · retrieval Answer and retrieval · ingest.py Website ingestion · assistant-setup Assistant setup
Components 22
Assistant runtime
- Engine API
src/callobuzz_rag/api - Answer and retrieval
src/callobuzz_rag/retrieval - Answer validation
src/callobuzz_rag/retrieval/validation/pipeline.py - Language models
src/callobuzz_rag/llm - Vector collections
src/callobuzz_rag/vectordb/collection_manager.py
Knowledge ingestion
- Website ingestion
src/callobuzz_rag/website/ingest.py - Scraper service
services/scraper/scraper/api/routes.py - Crawl and verify
services/scraper/scraper/crawl/orchestrator.py - Scrape job store
services/scraper/scraper/storage/database.py - Document ingestion
src/callobuzz_rag
User interfaces
- Business dashboard
services/dashboard/src/features - Assistant setup
services/dashboard/src/features/assistant-setup - Website widget
services/chat - Branded public site
services/dashboard/landing/src - WhatsApp channel
src/callobuzz_rag
Platform operations
- Operator controls
services/dashboard/src/features - Plans and billing
src/callobuzz_rag/billing
Developer access
- Python and JS clients
clients - MCP server
Other components
- Business owner
- Assistant user
- Model and payment providers
Connections 25
- Business owner → Branded public site: signs up
- Business owner → Assistant setup: configures assistant
- Assistant setup → Document ingestion: adds documents
- Assistant setup → Website ingestion: adds website
- Website ingestion → Scraper service: submits crawl
- Scraper service → Crawl and verify: starts crawl
services/scraper/scraper/api/routes.py - Crawl and verify → Scrape job store: persists jobs
services/scraper/scraper/crawl/orchestrator.py - Document ingestion → Vector collections: stores knowledge
src/callobuzz_rag/vectordb/collection_manager.py - Website ingestion → Vector collections: indexes content
- Assistant user → Website widget: asks question
- Assistant user → WhatsApp channel: asks question
- Website widget → Engine API: sends query
- WhatsApp channel → Engine API: sends query
src/callobuzz_rag/api/routes/engine_settings.py - Engine API → Answer and retrieval: runs retrieval
- Answer and retrieval → Vector collections: retrieves passages
- Answer and retrieval → Language models: generates answer
- Answer and retrieval → Answer validation: validates response
src/callobuzz_rag/retrieval/validation/pipeline.py - Engine API → Assistant user: returns answer
- Business owner → Business dashboard: manages assistant
- Business dashboard → Engine API: uses REST API
- Operator controls → Plans and billing: manages plans
- Python and JS clients → Engine API: calls REST API
- MCP server → Engine API: uses knowledge API
- Language models → Model and payment providers: calls providers
- Plans and billing → Model and payment providers: charges payments