Practical overview
When it fits
Use it as a teaching or exploration environment when you want to see how several RAG retrieval approaches behave on the same text-and-image corpus and compare them against a small evaluation set.
Who it is for
- Learners exploring how to select retrieval techniques for RAG.
- Developers who want to compare keyword, semantic, image-based, and combined retrieval on a concrete corpus.
- Educators presenting retrieval methods through notebook examples and an evaluation scorecard.
Documented uses
- Compare exact-term keyword search with meaning-based dense semantic search.
- Explore image-based retrieval when the relevant visual detail is absent from article text.
- Study combinations such as filtering with visual reranking and coarse-to-fine retrieval.
- Inspect retrieval results and scores across a small hand-built set of test questions.
Requirements & limits
The repository is public and MIT licensed. Running the notebook locally requires uv and service API keys; Claude is only needed for the agentic section and RAG answers.
- The examples use a specialized corpus of bird articles and photos rather than a reader's own data.
- The project separates image/full-text indexing from chunked text-dense indexing across two Pinecone indexes.
- The first image-index build embeds about 2,000 photos and may take 15–30 minutes; embeddings are cached locally.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Set up and open the Bird Search notebook
Prepare the documented local environment and launch the Marimo notebook.
Before you start
- uv, the Python runner used by the repository.
- Pinecone and Google Gemini API keys for the core retrieval techniques.
- An Anthropic Claude API key for the agentic section and RAG answers.
Steps
Install uv if it is not already installed.
Copy .env.example to .env and add the API keys for the services you plan to use.
Run the command below to install dependencies, build missing Pinecone indexes, and open the notebook.
make run
Expected outcome
The notebook opens with its retrieval examples and evaluation set. The first run builds the indexes; image embedding for about 2,000 photos may take 15–30 minutes and is cached locally.
Guide limitations
- Claude is only required for the agentic section and RAG answers; keyword, dense semantic, and visual cross-modal retrieval use Pinecone and Gemini.
- The repository documents that the first image-index build can take 15–30 minutes.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 14 October 2026
- Original website title
- pinecone-io/better-rag-retrieval-marimo · Official homepage title · retained in its source language

