Build mode
RAG
Retrieval-augmented generation finds passages that might answer the question and places those passages in the prompt before the model writes.
Vercel AI SDK 7 · OpenRouter AI SDK Provider 3 · Drizzle ORM 0.45 · Neon 1
Add document → Split into chunks → Embed chunks → Store vectors → Embed question → Similarity search → Ground the model → Stream the answer














