Skip to content

Latest commit

 

History

History
64 lines (44 loc) · 1.16 KB

README.md

File metadata and controls

64 lines (44 loc) · 1.16 KB

Data Assistant RAG Bot

This chatbot allows the user to upload their private pdf files and can answer queries related to it.

image

Getting Started

1. Clone Repository

  git clone https://github.com/rafayhanan/Data-Assistant-RAGBot.git

2. Install Dependencies

  • Next.js

      cd data-assistant
      npm i
  • Python

        cd data-assistant\flask-backend
        pip install -r requirements.txt

    OR

  • Setup Python Virtual Environment (Optional)

      cd data-assistant\flask-backend
      python -m venv .venv
      .venv\Scripts\activate
      pip install -r requirements.txt

3. LLM API Key

Get API Key from Groq Cloud. Then create a ".env" file in the flask-backend directory.

  GROQ_API_KEY = <your-key-here>

Run the Project

Initialize backend

  cd data-assistant\flask-backend
  .venv\Scripts\activate
  python server.py

Initialize frontend

  cd data-assistant
  npm run dev