YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
Researcher Sangram B, AI/ML Engineer @DDReg Pharma
DDReg Pharma Chatbot
Multi-agent RAG chatbot for DDReg Pharma website using LangGraph and Flask
Features
- Automated website content synchronization
- Multi-agent conversation workflow
- Handles 20+ concurrent requests
- Dockerized deployment
- Automatic content updates
Installation
python3 -m venv botenv
source botenv/bin/activate
pip install -r requirements.txt
ddreg-chatbot/
βββ docker/
β βββ Dockerfile
β βββ docker-compose.yml
βββ src/
β βββ agents/
β β βββ __init__.py
β β βββ coordinator.py # Main agent coordinator
β β βββ retrieval_agent.py # RAG document retrieval
β β βββ response_agent.py # LLM response generation
β β βββ validation_agent.py # Compliance/accuracy checks
β βββ api/
β β βββ __init__.py
β β βββ dependencies.py # FastAPI dependencies
β β βββ routes/
β β β βββ chat.py # Chat endpoints
β β β βββ health.py # Health checks
β β βββ websockets.py # WebSocket handlers
β βββ core/
β β βββ config.py # Configuration settings
β β βββ security.py # Auth middleware
β β βββ session_manager.py # Session handling
β βββ data/
β β βββ connectors/
β β β βββ website_ingestor.py # Content synchronization
β β β βββ sitemap_parser.py
β β βββ models/
β β βββ chat.py # Pydantic models
β β βββ website.py # Website content models
β βββ db/
β β βββ redis_client.py # Redis connection
β β βββ chat_history.py # Chat history management
β βββ services/
β β βββ llm_service.py # LLM abstraction layer
β β βββ cache.py # Content caching
β βββ utils/
β β βββ logger.py
β β βββ monitoring.py # Performance tracking
β βββ workflows/
β β βββ chat_workflow.py # LangGraph workflow definition
β βββ main.py # FastAPI app initialization
βββ tests/
β βββ integration/
β β βββ test_api.py
β β βββ test_agents.py
β βββ unit/
β βββ test_models.py
β βββ test_services.py
βββ requirements.txt
βββ .env.template
βββ alembic/ # Database migrations
β βββ versions/
βββ scripts/
β βββ ingest_content.py # Content ingestion script
β βββ start.sh # Startup script
βββ README.md
- Downloads last month
- -
Inference Providers NEW
This model isn't deployed by any Inference Provider. π Ask for provider support