File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
sample-code/spring-app/src/main/java/com/sap/ai/sdk/app/controllers Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -66,9 +66,10 @@ OrchestrationChatResponse completion() {
6666 @ SuppressWarnings ("unused" ) // The end-to-end test doesn't use this method
6767 @ GetMapping ("/streamChatCompletion" )
6868 @ Nonnull
69- public ResponseEntity <ResponseBodyEmitter > streamChatCompletion () {
69+ ResponseEntity <ResponseBodyEmitter > streamChatCompletion () {
7070 final var prompt =
71- new OrchestrationPrompt ("Can you give me the first 100 numbers of the Fibonacci sequence?" );
71+ new OrchestrationPrompt (
72+ "Please create a small story about developing a software project with around 700 words" );
7273 final var stream = client .streamChatCompletion (prompt , config );
7374
7475 final var emitter = new ResponseBodyEmitter ();
You can’t perform that action at this time.
0 commit comments