Model of Retrieval Augmented Generation (RAG) for a QA bot for Super Market Business, leveraging the OpenAI API and a vector database (Pinecone DB).
Model Setup
- Clone the repository for the Flutter app:
git clone https://github.com/deep200315/RAG-Model-for-QA-Bot.git-
Navigate to the project directory:
-
Create a virtual environment (optional but recommended when using personal environment):
python -m venv venv
source venv/bin/activate # For Unix/Linux
# or
venv\Scripts\activate # For Windows-
Gather API keys from your OpenAI and PineCone Accounts and store them safely in your environment.
-
Install Dependencies and packages:
refer the pip commands in the code- Run the each cell one by one
Usage
Ask Any question based on the super market business;
It can answer you precisely and simply.
Here is the colab Link for your reference
https://colab.research.google.com/drive/1o1C7yvz2U0mxidtX-X_rpkndroQeu50G?usp=sharing