This app uses a language model (LLaMA 3.2 via LangChain) to answer questions about pizza restaurants based on retrieved customer reviews. The system retrieves relevant reviews and generates a response tailored to your question.
- Ask any question about pizza restaurants.
- View relevant customer reviews used to generate the answer.
- Customize the number of reviews used for context.
- Select from example questions for quick queries.
- Python 3.10 or higher: Download Python
- OpenAI Hugging Face Token Access: Sign up for Hugginf Face's Token
-
Clone the Repository
git clone https://github.com/rezwanh001/Local-RAG-AI-Agent cd Local-RAG-AI-Agent
-
Create a Virtual Environment
conda activate <your env name>
-
Install Dependencies
pip install -r requirements.txt
-
Set Up Environment Variables
Create a
.env
file in the project root:HF_TOKEN="Your Hugging Face Token"
-
Activate the Virtual Environment
conda activate <your env name>
-
Run the Streamlit App
streamlit run app.py
-
Access the App
Open the URL provided by Streamlit (usually
http://localhost:8501
) in your web browser.
- Streamlit for the web application framework.
- AIAnytime for the stremlit design.
- LocalAIAgentWithRAG for csv file and core code.