Skip to content

Commit 69a5d8e

Browse files
ingbyrspring-builds
authored andcommitted
Fix example code for "Streaming Responses" (#3802)
* Fix example code for "Streaming Responses" Fixes #3802 Signed-off-by: ingbyr <[email protected]> (cherry picked from commit 42210d3)
1 parent 6a19c2e commit 69a5d8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chatclient.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ Flux<String> flux = this.chatClient.prompt()
314314
315315
String content = this.flux.collectList().block().stream().collect(Collectors.joining());
316316
317-
List<ActorFilms> actorFilms = this.converter.convert(this.content);
317+
List<ActorsFilms> actorFilms = this.converter.convert(this.content);
318318
----
319319

320320
== Prompt Templates

0 commit comments

Comments
 (0)