Skip to content

Personal Data Assistant Chatbot using Next.js, Flask, Langchain and RAG.

License

Notifications You must be signed in to change notification settings

rafayhanan/Data-Assistant-RAGBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

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

About

Personal Data Assistant Chatbot using Next.js, Flask, Langchain and RAG.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published