Concepts¶
These pages explain how Pagelore is built and why it works the way it does.
-
The layers of the code, the data model in Postgres, and how a document moves from upload to search result.
-
Every ingestion, retrieval, evaluation and operations technique Pagelore uses, with what it solves and the option that turns it on.
Vocabulary¶
- Project
- A set of documents with its own vector collection, default chunking and keyword-search language. Searches run on one project or on several.
- Document
- One file, web page, S3 object or text item in a project. It keeps its
extracted text (as sections), its metadata, its source and a
version. - Section
- A piece of a document's extracted text with its location: a page, a slide, a sheet, a heading path, a time range or a range of table rows.
- Chunk
- A piece of a document that is embedded and searched. Each chunk keeps the location of the text it came from, which becomes its citation.
- Parent chunk
- A run of consecutive chunks, for small-to-big retrieval. The chunks are searched, and the parent is returned.
- Collection
- The vector DB index of a project. It is bound to the embedding model that created it.
- Extractor
- What reads a file's text:
native(Pagelore's own loaders) ordocling(Docling). - External id
- A document's key in its project: the file name, the URL or
s3://bucket/keyunless you set your own. Sending a document with an existing key makes a new version.