Skip to content

Commit b97531b

Browse files
dev-jonghoonparkilayaperumalg
authored andcommitted
fix sample code in bedrock-converse.adoc
Signed-off-by: jonghoon park <dev@jonghoonpark.com>
1 parent 8e23422 commit b97531b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/bedrock-converse.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ var options = ToolCallingChatOptions.builder()
110110
111111
String response = ChatClient.create(this.chatModel)
112112
.prompt("What is current weather in Amsterdam?")
113-
.options()
114-
.call(options)
113+
.options(options)
114+
.call()
115115
.content();
116116
----
117117

0 commit comments

Comments
 (0)