---
schema_version: "1"
id: 98c7fff1dd89869d5b1e3a28482126534438b9c784e511e13187332eac215098
title: "Einstein Trust Layer: Response Journey"
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ai/264-0-0/generative_ai_trust_arch2.md
canonical_url: https://help.salesforce.com/s/articleView?id=ai.generative_ai_trust_arch2.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 788a2e57e65f0e14bac3054212e7b94831e6e62d486ff1fc3db3ba1e10b2561b
description: When the generated response is returned from the large language model, the Einstein Trust Layer applies certain policies and processes to make sure the response is safe and useful.
products:
  - Agentforce
  - Cross Cloud
release: "264"
---
# Einstein Trust Layer: Response Journey

When the generated response is returned from the large language model, the Einstein Trust Layer applies certain policies and processes to make sure the response is safe and useful.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Performance</strong>, and <strong>Unlimited</strong> Editions with an Einstein for Sales, Einstein for Platform, Einstein for Service, Einstein 1 Service, or Einstein GPT Service add-on. To purchase add-ons, contact your Salesforce account executive.</td></tr></tbody></table>

## Response Journey

![Einstein Trust Layer Flowchart with afer generation part highlighted](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ai-generative_ai-264-0-0-production-enus/f8ef6498-d7b2-44e3-9b34-ffd5a850aae9/generative_ai/images/trust_layer_after.png)

## Toxicity Detection

Toxicity detection in responses: The generated responses are scanned for toxicity. The detection process includes a toxicity confidence score, which reflects the probability of the response including harmful or inappropriate content. The toxicity score and the categories are stored in Data 360.

## Data Demasking

The placeholders we created for masking the data during the prompt journey is now replaced with the actual data. The relationship between the original entities and their respective placeholders is used to rehydrate the response so the response is useful and meaningful when sent back.

![Important](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ai-generative_ai-264-0-0-production-enus/f8ef6498-d7b2-44e3-9b34-ffd5a850aae9/images/icon_important.png)

Important Data masking for LLMs is disabled for agents. See [Data Masking and Agents](https://help.salesforce.com/s/articleView?id=ai.agent_trust_data_masking.htm&release=264.0.0&type=5 "In Einstein Trust Layer, pattern-based and field-based data masking for large language models (LLMs) is disabled for agents."). For embedded generative AI features, such as [Einstein Service Replies](https://help.salesforce.com/s/articleView?id=service.reply_recs_generative_ai_service_replies.htm&type=5&language=en_US), [Einstein Work Summaries](https://help.salesforce.com/s/articleView?id=service.cc_generative_ai_work_summaries.htm&type=5&language=en_US) data masking is available, and you can configure it in Einstein Trust Layer setup.

## Citations

The response can include citations if relevant. Citations link AI-generated responses to the original source used to generate the response. Use citations to see what information was used by the large language model (LLM) to generate the response and verify the validity of the source data. Citations help you identify any potential inaccuracies or hallucinations in the generated responses, increasing your confidence in using AI tools.

## Feedback and Audit

When a response is presented in Salesforce, you can accept, modify, or reject the response. You can also provide explicit feedback. Your explicit feedback on the responses is captured as part of the audit and feedback data (audit trail) and stored in Data 360. Depending on the AI feature, your implicit actions on the response can also be captured and stored in Data 360.

Audit Trail also includes the original prompt, masked prompt, scores logged during toxicity detection, the original output from the LLM, and the demasked output.

Audit and feedback data are stored in your instance of Data 360. You have control over how long that data is stored in your instance of Data 360. Additionally, audit and feedback data are stored by Salesforce for 30 days for compliance purposes.

#### See Also

- [Einstein Trust Layer: Designed for Trust](https://help.salesforce.com/s/articleView?id=ai.generative_ai_trust_arch.htm&release=264.0.0&type=5 "The Einstein Trust Layer is a collection of features, processes, and policies designed to safeguard data privacy, enhance AI accuracy, and promote responsible use of AI across the Salesforce ecosystem.")