How it works
- Upload — an admin or member uploads a document (PDF, DOCX, TXT, Markdown, HTML, or a scanned image) from the Knowledge Base page. Upload returns immediately; ingestion runs in the background.
- Extract — text is pulled from the file. Scanned or image-only pages go through HASP’s self-hosted OCR sidecar — no third-party OCR provider is involved.
- Redact — the extracted text is scanned for PHI and redacted before anything is stored. This step is unconditional: there is no setting that disables it, and there is no path to re-identify a retrieved chunk later.
- Chunk & embed — the redacted text is split into passages and embedded into your org’s isolated vector index.
- Search — during a chat turn, the Assistant can call its knowledge-base search tool to retrieve the most relevant passages and cite them in its response.
pending → extracting → chunking → embedding → ready (or failed, with a reason shown in the UI). Uploading the same file content again is a no-op — HASP deduplicates by content hash and does not re-embed or re-bill for it.
Per-org isolation
Every organization’s documents, chunks, and vector index are isolated from every other organization at the database layer (row-level security), not just at the application layer. A search can never return another org’s content, even if application code has a bug — this is enforced as a backstop independent of any query HASP’s code issues.Citations
When the Assistant answers using knowledge-base content, the response includes numbered citations pointing back to the source document. Unlike a web citation, a document citation has no external link — it names the source document only, since the underlying content lives inside your org’s own knowledge base. Citations persist across page refresh and are recorded in your audit chain.Settings
Public API access
Programmatic upload, listing, and deletion are available on the Public API under the Knowledge Base endpoints, gated by theknowledge:read (list) and ai:embeddings (upload, delete) scopes. The model-facing retrieval tool is documented at knowledge.search.