Skip to content

Local RAG based AI Agent: To answer questions about pizza restaurants based on retrieved customer reviews.

Notifications You must be signed in to change notification settings

rezwanh001/Local-RAG-AI-Agent

Repository files navigation

Local RAG Based AI Agent

AI Agent Preview

Overview

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.

Features:

  • 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.

Installation

Prerequisites

Steps

  1. Clone the Repository

    git clone https://github.com/rezwanh001/Local-RAG-AI-Agent
    cd Local-RAG-AI-Agent
  2. Create a Virtual Environment

    conda activate <your env name>
  3. Install Dependencies

    pip install -r requirements.txt
  4. Set Up Environment Variables

    Create a .env file in the project root:

    HF_TOKEN="Your Hugging Face Token"

Usage

  1. Activate the Virtual Environment

    conda activate <your env name>
  2. Run the Streamlit App

    streamlit run app.py
  3. Access the App

    Open the URL provided by Streamlit (usually http://localhost:8501) in your web browser.

Acknowledgements

About

Local RAG based AI Agent: To answer questions about pizza restaurants based on retrieved customer reviews.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages