Skip to content

Commit 42210d3

Browse files
authored
Fix example code for "Streaming Responses" (#3802)
* Fix example code for "Streaming Responses" Auto-cherry-pick to 1.0.x Fixes #3802 Signed-off-by: ingbyr <[email protected]>
1 parent daa917e commit 42210d3

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)