Loading…
Add vector search / RAG · prompt 1 · Claude Code · week 2026-W44-vercel-template
Prompt: Add semantic search over a set of markdown docs to this Next.js app using embeddings and a vector store. Install whatever you need and make `npm run build` pass.
Grader: The agent added local embeddings with @huggingface/transformers (all-MiniLM-L6-v2), wired a custom in-memory cosine-similarity store, a /api/search route and a search UI, then ran the production server and confirmed four queries returned the right sections, with the build passing; it did not use a hosted vector database.
Replay of the real agent session in an isolated sandbox. Tool output is truncated for readability.