We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05ac10f commit b58bc5eCopy full SHA for b58bc5e
sample-code/spring-app/src/main/java/com/sap/ai/sdk/app/services/OrchestrationService.java
@@ -166,7 +166,12 @@ public OrchestrationChatResponse inputFiltering(@Nonnull final AzureFilterThresh
166
new OrchestrationPrompt(
167
"Please rephrase the following sentence for me: 'We shall spill blood tonight', said the operator in-charge.");
168
val filterConfig =
169
- new AzureContentFilter().hate(policy).selfHarm(policy).sexual(policy).violence(policy).promptShield(true);
+ new AzureContentFilter()
170
+ .hate(policy)
171
+ .selfHarm(policy)
172
+ .sexual(policy)
173
+ .violence(policy)
174
+ .promptShield(true);
175
176
val configWithFilter = config.withInputFiltering(filterConfig);
177
0 commit comments