Secure the data pipeline
The safest RAG answer starts before retrieval. Know what enters the index, who owns it, how long it stays there, and what metadata proves access rights and document provenance.
- Classify documents before embedding and indexing.
- Attach source, owner, sensitivity, tenant, and retention metadata.
- Remove or mask sensitive data that the assistant should never expose.