Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/itsjavi/llama3-rag-chatbot
Chatbot UI that can answer questions about any webpage. Built with LangChain, OLlama, Llama3, ChromaDB and Gradio.
https://github.com/itsjavi/llama3-rag-chatbot
chatbot langchain llama3 ollama rag
Last synced: about 13 hours ago
JSON representation
Chatbot UI that can answer questions about any webpage. Built with LangChain, OLlama, Llama3, ChromaDB and Gradio.
- Host: GitHub
- URL: https://github.com/itsjavi/llama3-rag-chatbot
- Owner: itsjavi
- Created: 2024-05-19T19:09:05.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-05-19T19:14:57.000Z (6 months ago)
- Last Synced: 2024-10-29T08:36:02.904Z (11 days ago)
- Topics: chatbot, langchain, llama3, ollama, rag
- Language: Python
- Homepage:
- Size: 117 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Llama3 RAG Chatbot
This project provides the basics and demonstrates how to use Llama3 and a vector DB to create a chatbot that can answer questions about any webpage.
Built using: LangChain, OLlama, Llama3, ChromaDB and Gradio UI
![screenshot](demo.png)
## Pre-requisites
- Python 3.11 or higher
- OLlama server running> Only tested on macOS Sonoma with Python 3.11.x
## Setup
1. Create a virtual environment:
```bash
python -m venv .venv
source .venv/bin/activate
```2. Install dependencies:
```bash
pip install -r requirements.txt
```3. Run the app:
```bash
python main.py
```> You might need to replace `python` with `python3` depending on your system.
## References
- https://python.langchain.com/v0.1/docs/integrations/document_loaders/source_code/
- https://www.trychroma.com/
- https://www.youtube.com/watch?v=O7RdEyRsatw