Skip to content

Commit bd565fd

Browse files
committed
update spotlighting copy
1 parent 92a46e5 commit bd565fd

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

articles/ai-foundry/openai/concepts/content-filter-prompt-shields.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,10 @@ Prompt shields analyzes LLM inputs and detects adversarial user input attacks.
1919

2020
## Spotlighting for prompt shields
2121

22-
Spotlighting is a sub-feature of prompt shields that enhances protection against indirect attacks by tagging the input documents with special formatting to indicate lower trust to the model. When spotlighting is enabled, the service transforms the document content using base-64 encoding, and the model is configured to treat this content as less trustworthy than direct user and system prompts. This helps prevent the model from executing unintended commands or actions that are found in the content of the documents.
22+
Spotlighting is a feature that enhances protection against indirect attacks by tagging the input documents with special formatting to indicate lower trust to the model. When spotlighting is enabled, the service transforms the document content using base-64 encoding, and the model treats this content as less trustworthy than direct user and system prompts. This helps prevent the model from executing unintended commands or actions that are found in the content of the documents.
2323

24-
Spotlighting is turned off by default, and users can enable it when [configuring their content filter](../how-to/content-filters.md) in the Azure AI Foundry portal or REST API.
24+
Spotlighting is turned off by default, and users can enable it when [configuring their content filter](../how-to/content-filters.md) in the Azure AI Foundry portal or REST API. Spotlighting is only available for [models in the Chat Completions API](/azure/ai-foundry/openai/how-to/chatgpt).
2525

26-
There is no direct cost for spotlighting, but it adds more tokens to a user's prompt, which could increase the total costs. Also note that spotlighting could make a lengthy document surpass the input size limit.
26+
There is no direct cost for spotlighting, but it adds more tokens to a user's prompt and to the system prompt, which could increase the total costs. Also note that spotlighting could make a lengthy document surpass the input size limit.
2727

28+
An occasional known side effect of spotlighting is the model response mentioning the fact that the document content was base-64 encoded, even when neither the user nor the system prompt asked about encodings.

0 commit comments

Comments
 (0)