This project implements a Retrieval-Augmented Generation (RAG) based system where users ask question related to the CAPEC dataset and it will response to the query. This project is completed using Web Sockets Fast API.
Follow these steps to set up and run the project:
-
Clone the repository:
git clone https://github.com/cyber-evangelists/CAPEC-Rag.git
-
Navigate to the project root directory:
CAPEC-Rag
-
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 text to search for the query