Skip to main content
Give your agents access to documents, URLs, and knowledge bases using Retrieval-Augmented Generation (RAG).
Vision Agents uses Stream Video for real-time WebRTC transport by default. External WebRTC transports are supported as well. Most AI providers offer free tiers to get started.

Options

Gemini’s File Search handles chunking, embedding, and retrieval automatically.
Features:
  • Store reuse (finds existing stores by name)
  • Content deduplication via SHA-256 hash
  • Concurrent batch uploads

TurboPuffer

TurboPuffer provides hybrid search combining vector (semantic) and BM25 (keyword) search with Reciprocal Rank Fusion.

RAG Pipeline Overview

For custom implementations, a typical RAG pipeline involves:
  1. Document gathering — URLs, folders, PDFs, external APIs
  2. Parsing — Convert to text (markdownify, BeautifulSoup, OCR)
  3. Chunking — Split into retrievable pieces (fixed size, semantic, recursive)
  4. Embedding — Convert text to vectors (MTEB leaderboard)
  5. Vector storage — Store embeddings for similarity search
  6. Hybrid search — Combine vector + full-text search (TurboPuffer guide)
  7. Reranking — Score and filter results before passing to LLM

Comparison

Next Steps

Full Example

Phone + RAG implementation

TurboPuffer Integration

TurboPuffer plugin reference