A modular, containerized pipeline that combines Large Language Models (LLMs), OCR, CVE parsing, and retrieval-based generation into a unified chatbot interface for cybersecurity red teaming support.
Web-based Chatbot Interface using FastAPI + WebSockets
LLM Integration with customizable prompt & generation backends
OCR Extraction to parse text from cybersecurity documents
CVE/ExploitDB Preprocessing for use in retrieval-augmented generation
Vector Store Retrieval using custom or pretrained embedding models
Interactive Notebooks for experimentation and finetuning
Docker Support for seamless containerized deployment
Clone the Repository git clone https://github.com/iamasr9999/cnh-clm.git cd cnh-clm
Install Dependencies
Or use Docker
— command to build docker
— Push to docker hub
— Tag your image
— push it
Run the Application on server with uvicorn
Embedding Store: Converts input data into vector form
Retriever: Selects relevant context based on input query
Generator: Produces final LLM response
Supports plug-and-play with other models
FastAPI serves chatbot-ui.html, allowing:
Prompt submission and streaming response
Resume/edit previous messages
Visual context (images from static/)
Logs for server activity are saved to:
- logs/server.log
A modular, containerized pipeline that combines Large Language Models (LLMs), OCR, CVE parsing, and retrieval-based generation into a unified chatbot interface for cybersecurity red teaming support.
Web-based Chatbot Interface using FastAPI + WebSockets
LLM Integration with customizable prompt & generation backends
OCR Extraction to parse text from cybersecurity documents
CVE/ExploitDB Preprocessing for use in retrieval-augmented generation
Vector Store Retrieval using custom or pretrained embedding models
Interactive Notebooks for experimentation and finetuning
Docker Support for seamless containerized deployment
Clone the Repository git clone https://github.com/iamasr9999/cnh-clm.git cd cnh-clm
Install Dependencies
Or use Docker
— command to build docker
— Push to docker hub
— Tag your image
— push it
Run the Application on server with uvicorn
Embedding Store: Converts input data into vector form
Retriever: Selects relevant context based on input query
Generator: Produces final LLM response
Supports plug-and-play with other models
FastAPI serves chatbot-ui.html, allowing:
Prompt submission and streaming response
Resume/edit previous messages
Visual context (images from static/)
Logs for server activity are saved to:
- logs/server.log