CTI Chatbot β Llama 3.2 3B
An AI-powered conversational assistant for general knowledge, cybersecurity and threat intelligence.
Model Overview
This project integrates Meta's Llama 3.2 3B Instruct model through Ollama into a web-based Threat Intelligence Platform.
The model provides general-purpose conversational responses, cybersecurity explanations and assistance with NoSQL laboratory experiments.
This repository documents the model integration and its application. It does not contain newly trained or fine-tuned model weights.
Model Details
| Property | Value |
|---|---|
| Model | Llama 3.2 3B Instruct |
| Provider | Meta |
| Runtime | Ollama |
| Ollama model identifier | llama3.2:3b |
| Quantization | Q4_K_M |
| Local model size | Approximately 2.0 GB |
| Task | Text Generation |
| Language | English |
Project Architecture
The chatbot follows this architecture:
User Interface β FastAPI Backend β Ollama API β Llama 3.2 3B β AI Response
Additional components:
- MongoDB for threat intelligence storage.
- Optional vector search for retrieving relevant threat reports.
- FastAPI for backend API services.
- HTML, CSS and JavaScript for the frontend.
General AI conversations can use the local Ollama model independently of vector search.
Main Features
- General-purpose AI conversations.
- Cybersecurity question answering.
- Explanation of vulnerabilities and cyberattacks.
- Threat intelligence assistance.
- Follow-up conversations with session context.
- NoSQL experiment-related assistance.
- Local model inference through Ollama.
Technology Stack
- Python
- FastAPI
- Ollama
- Llama 3.2 3B
- MongoDB
- Retrieval-Augmented Generation (RAG)
- HTML, CSS and JavaScript
Intended Use
This integration is designed for educational and demonstration purposes, including:
- Cybersecurity learning and awareness.
- Understanding cyber threats and vulnerabilities.
- General technical question answering.
- Threat intelligence analysis workflows.
- Academic demonstrations of local LLM integration.
Limitations
- AI-generated responses may contain inaccurate information.
- The model does not independently access live internet information.
- General responses are not verified threat intelligence.
- Security-critical decisions require independent investigation and verification.
Original Model and References
Meta Llama 3.2 3B Instruct
https://huggingface.co/meta-llama/Llama-3.2-3B-Instruct
Ollama Model Library
https://ollama.com/library/llama3.2:3b
Project Source Code
https://github.com/NIdeesh2045/threat-intelligence-platform
Attribution
This project uses an existing pre-trained Meta Llama model through Ollama. The original model authors retain their applicable rights and licensing terms.
No claim is made that the underlying Llama model was independently trained or developed by this project.
Developer
K. Nideesh Reddy
AI & Machine Learning Student
JAIN (Deemed-to-be University)