QuestionQ149

VerifiedData Cloud for Agentforce

A company wants to retrieve patient-history details to enhance an AI agent’s response. The company wants to use the Data Cloud search index feature.

What is the best practice when considering retrieval-augmented generation (RAG) for information that could contain personally identifiable information (PII)?

Explanation

Sensitive patient information should be masked or excluded before it enters a RAG index, so retrieved context cannot expose PII. Encryption at rest does not by itself prevent PII from being retrieved and provided to a model, and prompt instructions are not an enforceable data-protection control. Salesforce Data Cloud guidance recommends protecting PII with masking and field-specific data-exclusion policies.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!