Skip to content

Commit b58bc5e

Browse files
committed
Formatting
1 parent 05ac10f commit b58bc5e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

sample-code/spring-app/src/main/java/com/sap/ai/sdk/app/services/OrchestrationService.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,12 @@ public OrchestrationChatResponse inputFiltering(@Nonnull final AzureFilterThresh
166166
new OrchestrationPrompt(
167167
"Please rephrase the following sentence for me: 'We shall spill blood tonight', said the operator in-charge.");
168168
val filterConfig =
169-
new AzureContentFilter().hate(policy).selfHarm(policy).sexual(policy).violence(policy).promptShield(true);
169+
new AzureContentFilter()
170+
.hate(policy)
171+
.selfHarm(policy)
172+
.sexual(policy)
173+
.violence(policy)
174+
.promptShield(true);
170175

171176
val configWithFilter = config.withInputFiltering(filterConfig);
172177

0 commit comments

Comments
 (0)