The journey from upload to searchable
Files uploaded with Skip Indexing checked bypass this pipeline entirely — they’re stored for safekeeping and download but never become searchable (and never incur indexing cost). Run Reprocess Content later if you change your mind.
The 5 phases
1. Extract — pulling text out of the source
1. Extract — pulling text out of the source
Pria reads the source bytes and turns them into clean text.
The card sits between 5% and 40% during extract. Long videos and large PDFs spend most of their time here.
2. Chunk — splitting into searchable segments
2. Chunk — splitting into searchable segments
The extracted text is split into segments of about 8,000 characters each (roughly 1,500–2,000 words). Segments overlap by ~5% so a sentence that lands on a boundary still appears whole in one of the two neighbours.Segment boundaries snap to the nearest paragraph or sentence end — chunks never tear mid-thought.The card runs 40% to 50% during chunking. Even huge files finish this phase in seconds.
3. Sanitize — cleaning OCR noise and enriching context
3. Sanitize — cleaning OCR noise and enriching context
Each segment is screened by a quick heuristic. Clean prose passes through untouched — no LLM call, no cost. Segments that look noisy (OCR garbage, broken formatting, navigation residue) are rewritten by your institution’s summary model into cleaner prose.Sanitize is enabled by default, but your administrator can turn it off per institution.The card runs 50% to 75% during sanitize. The bar advances in real time as each batch comes back from the model.
4. Embed — turning each chunk into a vector
4. Embed — turning each chunk into a vector
Every segment is converted to a vector embedding — a high-dimensional numerical representation of its meaning. Embeddings are what make semantic search possible: your Digital Twin compares the vector of your question against every segment vector to find the closest matches.Pria optionally enriches each segment with 2–3 AI-generated keywords plus a document-level summary header before embedding. This makes single-segment matches more findable.The card runs 75% to 95% during embed.
5. Finalize — making the file searchable
5. Finalize — making the file searchable
The final phase is cheap closing work:
- Vault Health Grade is computed from the final segment set.
- The file’s status flips from
inactiveto Included, which is the trigger every retrieval path checks. - Scratch data is cleaned up.
- Token usage is rolled into the billing record.
Reading the progress bar
The bar on each file card shows the active phase and the percentage of work completed within the pipeline. The percentage reflects actual segments processed, not interpolated time — so 50% really means half the segments are through.The counter updates in batches, not one segment at a time. On short files the bar may pause briefly before jumping ahead. That’s normal — work is still in flight.
Vault Health Grade
After finalize, every file gets a Vault Health Grade — a quick read on how usable the file is for retrieval. The badge appears on the file card and contributes to your overall Vault Health letter grade (A–F).What affects the grade
Text quality
Clean, well-structured prose scores highest. OCR-heavy text, garbled characters, and code-dominant content lower the grade.
Chunk coverage
Files that produce a reasonable number of well-sized segments grade better than tiny one-segment files or oversized monolithic blobs.
OCR accuracy
Scanned PDFs with high OCR confidence grade higher than blurry image-based documents.
Metadata richness
Files with extractable titles, authors, and structure (headings, sections) help Pria retrieve more precisely.
Common issues
Re-processing a file
Open the file’s action menu and pick Reprocess Content. You get four modes:
Re-ingest preserves the file’s identifiers, so any links you shared keep resolving.
Confidential files
Confidential is a per-file flag for shared-vault uploads (Instance or Account). When set:- Only you, the uploader, can open the file. Other members — including admins — can’t preview or download it; where its details would appear they see a ”🔒 CONFIDENTIAL” marker instead.
- Processing is unchanged. Confidential files go through the same pipeline and stay indexed — their content can still inform the Digital Twin’s answers for other members, but those members only ever see a short, redacted snippet in the retrieved-passages panel, never the document itself.
- For you, everything works normally — full citations, full preview, full retrieval in your own conversations.
Related
- Managing Files — uploading, organizing, and the file action menu
- IP Vault — vault overview and access tiers
- Searching Inside Your Files — content search across the vault
- Knowledge Modes — how processed files are used at chat time