Skip to content

dvquy13/review-rec-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Business Recommendation Chatbot based on Yelp Data

How to run

Prerequisite

  • Poetry 1.8.3
  • Miniconda or alternatives that can create new Python environment with a specified Python version

Set up

  • Download the Yelp Data at https://www.yelp.com/dataset, unzip the reviews file yelp_dataset.tar (4.34 GB) and put the data at data/yelp_dataset. For example: data/yelp_dataset/yelp_academic_dataset_business.json
  • Create a new .env file based on .env.example and populate the variables there
  • Create a new Python 3.11.9 environment: conda create --prefix ./.venv python=3.11.9
  • Make sure Poetry use the new Python 3.11.9 environment: poetry env use ./.venv
  • Install Python dependencies with Poetry: poetry install
  • Start the Jupyterlab notebook: poetry run jupyter lab

Build the RAG pipeline

Start Chatbot UI

  • Navigate to ui folder: cd ui
  • Run: poetry run chainlit run chat_v2.py -hw
  • Access the Chatbot UI at http://localhost:8000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published