Skip to content
Lab preview · knowledge systems

Knowledge Library

A local-first pipeline for turning a personal book collection into structured, searchable knowledge.

BuildingPDF · EPUB · SQLite · Qdrant · Neo4j
What we’re trying to solve

Make a large library usable without giving it away.

Books are easy to collect and difficult to work with. This build explores a durable path from messy files to catalogued text, summaries, topics, relationships, and grounded questions.

System

From files to connected knowledge.

The pipeline proceeds in resumable phases: inventory and metadata recovery, canonical naming, text extraction, summaries, offline topic classification, graph export, embeddings, cross-book relationships, and an assistant surface.

High-level workflow

books → catalog → text corpus → summaries/topics
                         ↘ graph → embeddings → grounded assistant
Evidence

What the repository makes visible.

EvidenceWhat the repository shows
Resumable phasesTen documented phases cover ingestion, enrichment, relationships, and assistant access.
Local-first stackSQLite is the canonical catalog; graph export and vector retrieval are separate, inspectable layers.
Retrieval designEmbeddings are paired with lexical/search fallbacks rather than treated as the only path.
Operational disciplineSource files remain read-only and the pipeline can be interrupted and resumed.
What we’re learning

Knowledge work needs boring foundations.

01 · Provenance matters

Every useful answer depends on knowing which source, extraction, and transformation produced it.

02 · Fallbacks are features

Lexical retrieval and offline stages keep the system useful when a model or vector service is unavailable.

03 · Resumability changes scope

Long-running knowledge pipelines become practical when each stage can be inspected and restarted.

04 · Corpus boundaries are real

A useful internal library is not automatically a public dataset. Sharing the method is safer than exposing the source material.

Next

What comes next.

The next milestone is a reproducible, synthetic demonstration corpus and evaluation fixture that can show retrieval quality without publishing the underlying personal library.