Building Online RAG Pipelines For Semantic Search — Data skill for Claude Code
Build a production retrieval-augmented generation pipeline in plain JavaScript: ingest, chunk, embed, store in pgvector, hybrid-search with RRF and MMR, then stream grounded, cited answers from Claude.
How to install Building Online RAG Pipelines For Semantic Search
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open etemigarba/Building-Online-RAG-Pipelines-for-Semantic-Search and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Building Online RAG Pipelines For Semantic Search does
Build a production retrieval-augmented generation pipeline in plain JavaScript: ingest, chunk, embed, store in pgvector, hybrid-search with RRF and MMR, then stream grounded, cited answers from Claude or GPT into a Next.js app. No orchestration frameworks. Companion repo to a 51-slide course. MIT: free to adopt, edit and teach.
Alternatives in Data
- n8n Code JavaScript — JavaScript in n8n Code nodes with data access patterns 3.6k ★
- Global Stock Data — US stock market data for AI coding assistants — zero-auth, official sources 1.5k ★
- Soul.Md — The best way to build a personality for your agent 381 ★
README
Building Online RAG Pipelines for Semantic Search
A complete, hand-written Retrieval-Augmented Generation (RAG) pipeline in plain JavaScript — seven steps, zero frameworks, fully functional offline by default.
**Course repository** for the 51-slide "Building Online RAG Pipelines for Semantic Search" (2026).
Quick Links
| Resource | Location |
|---|---|
| Course materials | `rag-pipeline-course/` |
| Full documentation | `rag-pipeline-course/docs/` |
| Wiki (concepts & guides) | GitHub Wiki |
| Slide-to-code mapping | `rag-pipeline-course/docs/slide-to-code-map.md` |
The Pipeline (7 Steps)
Data → Clean → Chunk → Embed → Store → Retrieve → Rerank → Prompt → Generate
1 2 3 4 5 6 7 8 9
- Offline (steps 1-4): Run on a schedule — ingestion, chunking, embedding, indexing
- Online (steps 5-9): Run per-request — semantic search, reranking, grounding, generation, streaming
Run It (No Keys Required)
git clone https://github.com/etemigarba/Building-Online-RAG-Pipelines-for-Semantic-Search.git
cd Building-Online-RAG-Pipelines-for-Semantic-Search/rag-pipeline-course
npm install
npm run index:seed # index 12 seed documents (~40 chunks)
npm run serve # http://localhost:3001
Ask: *"What is the pass mark for CSC 508?"*
Uses deterministic fake providers by default (`EMBED_PROVIDER=fake`, `LLM_PROVIDER=fake`) — no API keys, no network, no Docker.
Go Live (Two Variables)
EMBED_PROVIDER=openai OPENAI_API_KEY=sk-... \
LLM_PROVIDER=claude ANTHROPIC_API_KEY=sk-ant-... \
npm run index -- --full && npm run serve
Add PostgreSQL/pgvector when the JSON store outgrows linear scan:
createdb ragdb && psql ragdb -c 'CR
Related Skills
FACT
FACT – Fast Augmented Context Tools: FACT is a lean retrieval pattern that skips vector search. We cache every
Docwise Agentic
Full agentic RAG pipeline: adaptive chunking → Qdrant hybrid search (semantic + BM25 + RRF) → LangGraph ReAct
HyperMnesia
Self-hosted long-term memory for AI coding agents: Postgres+pgvector doc-RAG (component/constraint map + hybri
ECommerce Skills
E-commerce skills for AI agents — product research, marketing automation, supply chain optimization, and busin
Chunk Repo Context
Split CONTEXT.md into organized chunks in context-data/ directory
DPDP ACT Compliance
Claude Agent Skill for India's DPDP Act 2023 & DPDP Rules 2025. Section-cited legal guidance plus hands-on web
Related Agents
Ecc RAG Pipeline Reviewer
Reviews RAG (Retrieval-Augmented Generation) pipelines for retrieval quality, chunking strategy, embedding cho
Python RAG Backend Engineer
Production-grade Python RAG backend engineer specializing in ChromaDB vector storage, sentence-transformers em
AI Specialist
Expert in integrating LLMs, building RAG systems (pgvector), and creating MCP servers.