A powerful Retrieval-Augmented Generation (RAG) system combining Colpali's ColQwen image embeddings with LLaMA Vision via Ollama.
Install Poppler (required for PDF support):
Mac:
brew install poppler
Windows:
C:\Program Files\poppler)C:\Program Files\poppler\bin)pdftoppm -h
Clone and setup environment:
git clone https://github.com/kturung/colpali-llama-vision-rag.git
python -m venv venv
source venv/bin/activate # For Mac/Linux
# or
.\venv\Scripts\activate # For Windows
pip install -r requirements.txt
Install Ollama from https://ollama.com
Launch application:
streamlit run app.py
Note: Restart your terminal/IDE after modifying PATH variables
CREATE TABLE embeddings (
id INTEGER PRIMARY KEY AUTOINCREMENT,
image_base64 TEXT,
image_hash TEXT UNIQUE,
embedding BLOB
)
4 commits
2 commits
Python
100.0%
A powerful Retrieval-Augmented Generation (RAG) system combining Colpali's ColQwen image embeddings with LLaMA Vision via Ollama.
Install Poppler (required for PDF support):
Mac:
brew install poppler
Windows:
C:\Program Files\poppler)C:\Program Files\poppler\bin)pdftoppm -h
Clone and setup environment:
git clone https://github.com/kturung/colpali-llama-vision-rag.git
python -m venv venv
source venv/bin/activate # For Mac/Linux
# or
.\venv\Scripts\activate # For Windows
pip install -r requirements.txt
Install Ollama from https://ollama.com
Launch application:
streamlit run app.py
Note: Restart your terminal/IDE after modifying PATH variables
CREATE TABLE embeddings (
id INTEGER PRIMARY KEY AUTOINCREMENT,
image_base64 TEXT,
image_hash TEXT UNIQUE,
embedding BLOB
)
4 commits
2 commits
Python
100.0%