Spaces:
Running
Running
metadata
title: CedroPM Bot
emoji: π€
colorFrom: blue
colorTo: indigo
sdk: docker
pinned: false
app_port: 7860
PM-RAG-ChatBot (CedroPM)
A specialized RAG (Retrieval Augmented Generation) chatbot designed for Project Managers and Software Architects. It processes Software Requirements Documents (SRDs) and provides expert-level analysis by combining project-specific data with a pre-seeded "Gold Standard" knowledge base of industry best practices.
π Key Features
- π Intelligent SRD Analysis: Upload PDF requirements and get answers grounded strictly in your document.
- π§ Global Expert Knowledge: Pre-seeded with 30+ industry standards (ISO, OWASP, NIST, Agile) to provide "Senior Architect" advice even when your PDF is silent.
- π¨ Diagram Vision: Understands and explains architecture diagrams using Claude Vision or Qwen2-VL.
- π Hybrid Search: Uses a dual-scope retrieval engine to search your Project PDF and Global Best Practices simultaneously.
- π¬ Interactive Chat: Built with Chainlit for a clean, chat-like interface with history retention.
- π Secure & Private: Multi-user isolation ensures one project's data never leaks to another.
ποΈ System Architecture
- Ingestion Layer:
- PDFs: Processed with
pdfplumberandSmartSRDSplitter(Section-aware chunking). - Tables: Extracted via
camelotand converted to Markdown. - Diagrams: Processed via OCR (
Tesseract) or Vision LLM (Claude 3.5 Sonnet).
- PDFs: Processed with
- Knowledge Store:
- ChromaDB: vector storage for semantic search.
- Dual-Scope: Queries filter by
(User + Project)OR(Global_Expert_Knowledge).
- Reasoning Engine:
- Claude 3.5 Sonnet: Generates detailed, structured responses.
- Seed Data: A Python script injects "Golden Rules" for Security, DevOps, and PM methodologies.
π Prerequisites
- Python 3.10+
- System Tools:
Poppler(for PDF rendering)Tesseract OCR(for image text extraction)
- API Key: Anthropic API Key (for Claude).
π§ Installation & Setup
1. Clone the Repository
git clone <your-repo-url>
cd PM-RAG-ChatBot