RAG in Parsewise

01TECHNOLOGY · RAG

It answers by meaning

RAG is the pipeline from a question to an answer from your data. The customer asks in their own words — the platform finds the right fragments by meaning and assembles the answer from them.

MEANING

Embeddings

The question and the document become vectors in one space — a match by meaning, not by words.

SEARCH

Vector store

The nearest fragments by meaning are found in milliseconds — even in a large base.

ANSWER

Context for the model

The LLM answers from the fragments it found — from your data, not from imagination.

03ARCHITECTURE

Around a single core

Every node does one thing well. Embeddings compute the meaning, the vector store searches, the LLM selects the fragments — and shows the source on request.

Embeddings
1024 dimensions of meaning
Vector store
pgvector · two stores
Chunks
document fragments
Query expansion
synonyms and rewrites
Sync
updates every morning
Fragment selection
the LLM chooses itself
Cache
frequent queries come back faster
Source
option: show the document
RAG
04PRECISION

Finds by meaning, answers by fact

The model does not invent — it quotes. The fragments that were found go into the prompt and the answer rests on them. No fragments, and the assistant honestly says it does not know.

01

Dimensions.
A dense meaning vector for every fragment in the base.

02

Stores.
The catalogue and the knowledge are searched separately — the context is sharper.

03

From the data.
The answer is assembled from the fragments that were found.

05SPEED

Fast, and no slower tomorrow

Vector search barely notices the base growing. From a hundred documents to tens of thousands — the answer time moves by tens of milliseconds.

01

Search p95
semantic, across the whole base

02

First token
the answer starts typing at once

03

File in the base
from upload to answers

04

Degradation
the speed holds as the base grows

06DETAILS

Precision lives in the details

Good RAG is a discipline of small things. Query expansion, honest fragment selection and the original source on demand.

/01

Query expansion

Synonyms and rewrites raise recall.

/02

The LLM picks the fragments

The model decides which pieces go into the answer.

/03

Option: show the document

The highlighted source fragment — behind a toggle.

GET STARTED

Test it on your own data

Upload your own documents and catalogue — then ask the assistant the questions people ask you. That is the only test that means anything.