Skip to content

Commit dd7598a

Browse files
authored
fix: Optimize the Bedrock documentation to keep it synchronized with the code. (#3843)
Signed-off-by: Sun Yuhan <[email protected]> Co-authored-by: Sun Yuhan <[email protected]>
1 parent 6806e1e commit dd7598a

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
@@ -108,15 +108,15 @@ The prefix `spring.ai.bedrock.converse.chat` is the property prefix that configu
108108

109109
== Runtime Options [[chat-options]]
110110

111-
Use the portable `ChatOptions` or `ToolCallingChatOptions` portable builders to create model configurations, such as temperature, maxToken, topP, etc.
111+
Use the portable `ChatOptions` or `BedrockChatOptions` portable builders to create model configurations, such as temperature, maxToken, topP, etc.
112112

113113
On start-up, the default options can be configured with the `BedrockConverseProxyChatModel(api, options)` constructor or the `spring.ai.bedrock.converse.chat.options.*` properties.
114114

115115
At run-time you can override the default options by adding new, request specific, options to the `Prompt` call:
116116

117117
[source,java]
118118
----
119-
var options = ToolCallingChatOptions.builder()
119+
var options = BedrockChatOptions.builder()
120120
.model("anthropic.claude-3-5-sonnet-20240620-v1:0")
121121
.temperature(0.6)
122122
.maxTokens(300)

0 commit comments

Comments
 (0)