You need to agree to share your Hugging Face information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

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