A Python application that uses LangChain and Ollama to answer questions about restaurants based on customer reviews.
- Create a virtual environment:
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate- Install dependencies:
pip install langchain-ollama langchain-community chromadb pandas- Run the application:
python main.py- Uses Ollama for embeddings and LLM
- Stores restaurant reviews in a vector database
- Answers questions based on relevant reviews
- Interactive command-line interface