ragcreator

ragcreator

Guide

What is a vector database?

A vector database stores each passage as a list of numbers, called an embedding, that captures what the passage means. To answer a question it turns the question into numbers the same way and returns the passages whose numbers are closest, so it can find a passage that means the same thing even when it shares no words with the question.

See it run on a real handbook

The question: "Can I telecommute?"

A word search finds no passage, because none of its words appear in the handbook.

But page 9 answers it. It says "remotely", and "telecommute" means the same thing:

Section 3.2 Remote work. You may work remotely up to two days a week. Tell your team which days in the shared calendar.

A vector database stores each passage as numbers for its meaning, so it is built to bring up page 9 for this question anyway. Building that search is the Embed station.

The free X-ray matches words, so it misses this one too. That miss is the lesson, not a bug to hide. The sample is the free X-ray's handbook, 5 short pages. Nothing here is typed in by hand: the page runs the X-ray's own search and the free text splitter's own cuts.

What it is for

A word search fails when the question and the document say the same thing in different words. A vector search is built for exactly that case, which is why a RAG pipeline keeps its passages in one.

What it is not

It does not read or answer anything. It returns the closest passages; the AI writes the answer from them. A wrong passage in, a wrong answer out, which is why a RAG pipeline checks what comes back.

Sources

Keep going

Build the whole pipeline on your documents

Works with the AI you already use: Claude, ChatGPT, any. We do not make the model smarter. We make your pipeline visible.