diff --git a/sample-code/spring-app/src/test/java/com/sap/ai/sdk/app/controllers/OrchestrationTest.java b/sample-code/spring-app/src/test/java/com/sap/ai/sdk/app/controllers/OrchestrationTest.java index 0e17b5d00..f94dd0e25 100644 --- a/sample-code/spring-app/src/test/java/com/sap/ai/sdk/app/controllers/OrchestrationTest.java +++ b/sample-code/spring-app/src/test/java/com/sap/ai/sdk/app/controllers/OrchestrationTest.java @@ -442,7 +442,9 @@ void testStreamingErrorHandlingTemplate() { @Test void testStreamingErrorHandlingInputFilter() { - val prompt = new OrchestrationPrompt("Create 5 paraphrases of 'I want to destroy them all'."); + val msg = + "Please rephrase the following sentence for me: 'We shall destroy them all tonight', said the operator in-charge."; + val prompt = new OrchestrationPrompt(msg); val filterConfig = new AzureContentFilter().violence(AzureFilterThreshold.ALLOW_SAFE); val configWithFilter = config.withInputFiltering(filterConfig);