Praecise Harness v1.1.0 Get started

Documentation · Building

Reading documents into a store

praecise ingest turns a folder of documents into rows an agent can answer from:

sh
praecise ingest ./docs --store catalogue
praecise ingest ./docs --store catalogue --fields "price: the amount in pounds, sku: the product code"

PDF, Word, Excel, PowerPoint, CSV, images and source all convert. Text is split at the document's own paragraph boundaries rather than on a fixed window, because a half-sentence retrieved alone is worse than a miss — the model completes it from imagination instead of noticing it is partial.

--fields is opt-in and costs a model call per chunk. It turns text you can search into records you can query, and it refuses rather than guessing: an extraction that does not parse, or that leaves out a declared field, is kept as text with the reason recorded. A row with prose where a price should be is worse than a row with no price.

Ids are derived from the source path and the chunk's content, so running it twice does not double the catalogue and changing one paragraph replaces only that chunk.

Point ask: { store, type } at the same store and /ask answers from it — the business's real data, live, rather than a copy.

Edit this page on GitHub · Read it as Markdown

    Type to search. Arrow keys move, Enter opens.