This project implements a Retrieval-Augmented Generation (RAG) based system where users ask question related to the ThreatMon-Reports-IOC and it will response to the query. This project is completed using Micro services.
Follow these steps to set up and run the project:
-
Clone the repository:
git clone https://github.com/cyber-evangelists/ioc-mircoservice.git
-
Navigate to the project root directory:
cd ioc-mircoservice
-
Download data from this site and add that folder into the same root directory
-
Make sure that the docker is installed on your system:
docker --version
If docker is not installed, run the following command:
sudo apt install docker
-
In the same directory, create a file name
.env
and add following API keyGROQ_API_KEY=your_api_key
replace your_api_key with groq API key
-
Build the docker environment::
docker compose up --build
-
Access the graio app by pasting this URL:
http://localhost:7860/
-
Enter Query and click on Search button, and the response will be shown below