Skip to content

MP-RAG Stands for Multi Purpose Retrieval-Augmented Generation.

Notifications You must be signed in to change notification settings

sadiqhussain13/MP-RAG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multipurpose RAG Web App

Version Streamlit Conda

About

This project is a Multipurpose RAG Web app that enables users to explore the possibilities of text, images, and audio. The app features three main components: PDF Chatbot, Story Board, and Image-to-Text.

Installation

1. Clone the repository

Clone the repository using the following command:

git clone "https://github.com/sadiqhussain13/MP-RAG.git"
cd MP-RAG

2. Install dependencies

Install the necessary dependencies using the following command:

conda env create -f environment.yml
conda activate MP-RAG

3. Set up environment variables

Create a .env file in the root of the project and add the following environment variables:

GROQ_API_KEY=YOUR_GROQ_API_KEY
HUGGINGFACEHUB_API_TOKEN=YOUR_HUGGINGFACEHUB_API_TOKEN

Replace YOUR_GROQ_API_KEY and YOUR_HUGGINGFACEHUB_API_TOKEN with your actual API keys.

Running the Application

1. Start the app

Start the app using the following command:

streamlit run 1_🏠_Home.py

This will start the Streamlit app on port 8501.

2. Access the app

Open the app in your web browser by navigating to http://localhost:8501.

Technologies Used

Technology Description
Streamlit Web app framework
Conda Package manager
GROQ Question answering API
Hugging Face API AI image generation API
PyPDF2 PDF parsing library
Transformers Natural language processing library
FAISS Vector store library
dotenv Environment variable management library

About

MP-RAG Stands for Multi Purpose Retrieval-Augmented Generation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages