Getting started¶
Pagelore runs as an HTTP API. Your app (a chatbot, an agent, a search page) sends it documents and questions, and gets passages with citations back.
flowchart LR
APP["Your app<br/>or LLM agent"] -- "documents" --> P["Pagelore API<br/>:8000/api/v1"]
APP -- "question" --> P
P -- "passages + citations" --> APP
P --- PG[("Postgres")]
P --- V[("Vector DB")]
You need three things running:
| Part | What it does | Default |
|---|---|---|
| Pagelore API | Ingestion, chunking, retrieval (FastAPI) | http://localhost:8000 |
| Postgres | Projects, documents, chunks, metadata and the keyword index | Postgres 18 with pgvector, in Docker |
| A vector database | Chunk embeddings | Qdrant, in Docker (or embedded in a local folder) |
The embedding model runs inside Pagelore by default (sentence-transformers), so you don't need an API key to start.
Pick a path¶
-
Run with uv
The API runs on your machine with auto reload, and Postgres and Qdrant run in Docker. Best for development.
-
Everything in Docker
One command builds the API image and starts it with Postgres, Qdrant and pgAdmin. Best for trying it or deploying it.
Then follow the quick start to create a project, add documents and run your first search.
Requirements¶
- Python 3.10 or newer. 3.12 is the default (
.python-version), and 3.10 to 3.15 are supported. - uv, which manages the dependencies.
- Docker, for Postgres and Qdrant (or for everything).
- Optional, for some file types:
tesseract(OCR), LibreOffice (legacy Office files). See File types.