01
Solution · Retrieval-augmented generation
Search and RAG over protected data.
Embed, retrieve and answer over clinical corpora in one resident 4096-d vector space — so a single index can span every region that serves embeddings (CH and EU today).
The problem
Why this is hard
Retrieval-augmented generation over clinical data means embedding documents that are protected health information, then feeding retrieved passages to a model. If embeddings or the answer step leave your jurisdiction, the whole index is a compliance problem. CloudSitus embeds PHI on resident providers in a single 4096-d space — so one index stays valid across borders — and answers on a PHI-gated chat model.
How it works
The pipeline, end to end
Step 1: Ingest the corpus
POST /v1/ocrConvert scanned records and PDFs to clean markdown with Azure Document Intelligence, then chunk them in your pipeline.
Step 2: Embed in one space
POST /v1/embeddingsEmbed chunks with the canonical qwen3-embedding-8b (4096-d). The same space in CH and EU means one index spans jurisdictions and failover never changes the dimension.
Step 3: Retrieve
Your vector DBStore the 4096-d vectors in your own store (pgvector, Qdrant, etc.) and retrieve the top passages for a query — CloudSitus stays stateless.
Step 4: Answer, grounded
POST /v1/chat/completionsSend the query plus retrieved passages to a resident chat model under X-PHI:true for a grounded answer with citations you control.
Why CloudSitus
What makes it compliant
02
PHI embeddings, resident
03
Dimension-safe failover
04
OCR ingestion
In code
A representative call
Embed a batch of chunks in Switzerland — 4096-d vectors, the same space as every other region that serves embeddings.
Compliance posture
- Embeddings: CH → Infomaniak, EU → Scaleway, both PHI-eligible and 4096-d.
- Answers: resident chat model under the PHI gate (CH Infomaniak, EU Scaleway).
- Your vector store holds the embeddings; CloudSitus persists nothing.
- One 4096-d space keeps a single index valid across CH and EU.
curl https://cloudsitus.com/api/v1/embeddings \
-H "Authorization: Bearer $PHI_API_KEY" \
-H "X-Region: CH" -H "X-PHI: true" \
-d '{
"model": "qwen3-embedding-8b",
"input": ["chunk 1 ...", "chunk 2 ..."]
}'x-phi-routed: infomaniak-qwen3-embedding-8b/CH/phi
x-phi-tier: phi
# data[].embedding -> 4096 floats, cross-region comparableCan one index serve multiple jurisdictions?
Where do the vectors live?
Is the answer step also PHI-safe?
Ready when you are
Build search & rag over phi on a gateway that survives the audit.
Prepaid credits from $10, no subscription. The residency and PHI posture is the same on your first call as in production.
Prepaid credits from $10 · No subscription · No data retained