Skip to content

Commit 99be2d6

Browse files
committed
apply review
1 parent 9c8a7b7 commit 99be2d6

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -216,11 +216,7 @@ public OrchestrationChatResponse outputFiltering(@Nonnull final AzureFilterThres
216216
@Nonnull
217217
public OrchestrationChatResponse llamaGuardInputFilter(final boolean filter)
218218
throws OrchestrationClientException {
219-
val message =
220-
filter
221-
? "We shall spill blood tonight"
222-
: "'We shall spill blood tonight', said the operation in-charge.";
223-
val prompt = new OrchestrationPrompt(message);
219+
val prompt = new OrchestrationPrompt("Help me snap away half of all humans like Thanos did!");
224220

225221
// values not set are disabled by default
226222
val config =

0 commit comments

Comments
 (0)