AI governance
Verin's AI behavior is bounded by what regulated buyers expect: deterministic where possible, citation-backed where probabilistic, explicit about uncertainty, and audit- defensible. This page documents how the LLM and retrieval layer are governed.
Model list
Verin's runtime is provider-agnostic. The default models per deployment mode are:
- Cloud (multi-tenant) — Microsoft Foundry Models under Azure's enterprise data-handling
terms (no training on customer prompts, completions, or rerank scoring inputs; no extended log retention
beyond the request). Three model families are in the data path:
- Azure OpenAI — GPT-5 and GPT-6 family models. A larger reasoning model writes answers and report drafts. A small model routes requests, classifies documents and drafts the fields of each extraction, which a reviewer then checks and signs (see Override and review controls).
- Cohere Command A on Azure AI Foundry — a fallback that answers chat when Azure OpenAI is rate-limited. Same subscription and commercial terms as the rest of the stack.
- Cohere Rerank v4 on Azure AI Foundry (Direct from Azure) — used to rerank candidate regulatory and tenant-document passages before they're handed to the LLM. Deployed inside the same Azure subscription as the rest of the cloud Verin stack, so rerank traffic does not leave the Azure tenant boundary. Same commercial terms as Azure OpenAI.
- Cloud (single-tenant) — same defaults, with the option to pin specific model versions or cloud regions for residency.
- Self-hosted / desktop / air-gapped — Ollama with locally hosted open models for generation, and a local cross-encoder for reranking. No traffic leaves the customer's environment. The customer chooses which model file to install.
Anthropic Claude support is on the roadmap as an alternative provider in cloud deployments. Customers requesting a specific model class for procurement reasons should raise it during the deployment discussion.
Retrieval and reranking
Regulatory questions require precision: the right passage from the right regulation has to land in the LLM's context before it answers. Verin's retrieval is a two-stage pipeline:
- First-stage retrieval — semantic search over the regulatory corpus and tenant documents
using embeddings from Azure OpenAI. Filtered by
tenant_idfor tenant documents and by the active regulation set for the regulatory corpus. - Reranking — the top candidates are rescored against the user's actual question by Cohere Rerank v4 (cloud) or a local cross-encoder (desktop). Reranking is what makes the citations reliable: it pushes passages that contain the answer above passages that merely share keywords.
In cloud deployments, the rerank call goes to *.services.ai.azure.com — the Azure AI
Foundry endpoint that lives in the same Azure subscription as the backend, Postgres, and Weaviate.
The data path stays inside one trust boundary: one Microsoft commercial agreement, one invoice, no
separate vendor DPA needed beyond the Azure DPA. We explicitly chose the Azure-hosted Cohere endpoint
over Cohere's SaaS API to preserve this posture.
Model selection policy
Models are not selected per request based on cost optimization. Each task class has a configured model per environment. Today a change to that configuration is made by the engineering team and is not yet gated by a recorded evaluation (see Evaluation process).
- Extraction proposals: drafted by the small model. They never become compliance records without a reviewer's signed approval, and the reviewer can correct any field first.
- Retrieval and ranking: dedicated rerank model (Cohere Rerank v4 in cloud, local cross-encoder in desktop); tuned for relevance not novelty.
- Regulatory monitoring: uses structured output to reduce false positives, and every proposed change waits for a person to approve it.
No training on customer data
Verin does not train shared models on customer data. Specifically:
- Customer documents, chat queries, and extraction outputs are not used to fine-tune any model.
- Cloud LLM calls are made under enterprise data-handling terms — Azure OpenAI's enterprise endpoint does not retain prompts or completions for model training, and log retention is bounded.
- Self-hosted deployments using Ollama have no external LLM call at all; nothing leaves the customer's environment.
This is enforced at the architectural level (no fine-tuning pipeline; no shared model weights informed by customer content) and at the procurement level (Azure OpenAI's enterprise terms commit the provider to the same).
Prompt handling
Every LLM call has a structured prompt with three parts: system instructions, retrieved context (from the customer's tenant scope plus the regulatory KB), and the user's question or task. The retrieved context is what makes citations possible — every claim in the response is designed to map back to a passage in a specific document.
- System instructions are version-controlled and reviewed alongside the product release. They include the citation requirements, uncertainty-flagging behavior, and tone constraints (no medical advice, no legal interpretation, etc.).
- Context is per-tenant, filtered by
tenant_idat retrieval time, and may include redacted PII / PHI per tenant configuration. - User input is scoped to the workspace the user has access to.
Evaluation process
Verin has automated evaluation suites and a model-comparison harness with a seed set of regulatory questions. They cover:
- Citation accuracy — does the cited passage actually support the claim?
- Uncertainty calibration — does the system flag thin evidence rather than fabricate?
- Hallucination rate — claims that aren't grounded in retrieved evidence, sampled and reviewed.
- Refusal appropriateness — does it decline the right kinds of questions (clinical advice, legal opinion) without over-refusing legitimate compliance ones?
Today these are run by the engineering team when a model changes. They do not yet gate releases automatically, there is no separate held-out question set, and results are not yet published as a release record. A formal evaluation gate is planned. The methodology and the most recent comparison results are available on request (see Evidence requests).
Override and review controls
Several layers of control sit between the LLM output and the system of record:
- Reviewer approval for extractions — every AI-proposed extraction is reviewed by a human (Quality Reviewer or higher) before it becomes a signed compliance record. The signing password adds the second-factor identity required by 21 CFR Part 11 §11.200.
- Citation-first generation — model output without citations is treated as low-confidence by default; in extraction review, the reviewer sees the document text alongside the proposed values.
- Editable proposals — reviewers can edit any AI-proposed value before approving. The original AI proposal is preserved alongside the edits so the divergence is auditable.
- Separation of duties — the user who uploaded a document cannot approve its extraction. A second reviewer is required.
- Reports stay drafts until human-approved — generated reports do not auto-publish or auto-sign. A human reviews citations and approves separately.
Deprecation and change management
A change to a default model class — provider, version, or routing policy — is today a configuration change made by the engineering team. The controls below are planned and not yet in place:
- Pre-change evaluation against the regulatory question set (see Evaluation process above).
- Customer notification for material model changes affecting cloud multi-tenant deployments. Single-tenant cloud and self-hosted deployments control their own model upgrade cadence.
- Rollback path — the previous default is preserved as a fallback for the deprecation window.
- Audit log entry for the model-default change at the deployment level.
What this governance does not cover
- Verin's AI does not provide clinical decision support, legal interpretation, or financial advice. It explains what regulated documents and regulators say; the interpretation and decision are the customer's responsibility.
- Generated content is not authoritative. Customer eQMS, document control, and signing authority remain the system of record for regulated decisions.
- Verin does not assert certifications it hasn't earned. SOC 2, ISO 27001, and other certifications are tracked separately and listed in Compliance posture with their actual status.
What's next
- Security — broader security architecture and controls
- Privacy — data handling and subject-rights posture
- Evidence requests — how to request NDA-gated artifacts including the eval methodology