Overview

QRyptoRAG transforms text documents into searchable, compressed MP4 videos using QR code encoding. A self-contained solution for RAG systems without external API dependencies.

Why QRyptoRAG?

Traditional RAG systems rely on vector databases, but QRyptoRAG takes a novel approach: encoding knowledge as QR codes within MP4 video files. This provides:

  • 80-95% Compression: H.264 video compression dramatically reduces storage requirements.
  • Self-Contained: No external APIs or databases - just MP4 files that work anywhere.
  • Semantic Search: Vector embeddings enable fast, accurate retrieval from video content.
  • Portable Format: Standard MP4 files work on any device, online or offline.

How It Works

QRyptoRAG operates through a simple two-phase process:

  1. Encoding: Text documents are chunked, converted to QR codes, and encoded as MP4 video frames.
  2. Retrieval: User queries are semantically matched to extract relevant QR codes from video frames.

This approach leverages video compression algorithms' superior efficiency at storing visual data compared to traditional text storage methods.