Skip to content

The Bedrock Converse document needs to be updated #3842

@sunyuhan1998

Description

@sunyuhan1998

Since #3770 has already been merged, we need to synchronously update the relevant section in the documentation:

== Runtime Options [[chat-options]]
Use the portable `ChatOptions` or `ToolCallingChatOptions` portable builders to create model configurations, such as temperature, maxToken, topP, etc.
On start-up, the default options can be configured with the `BedrockConverseProxyChatModel(api, options)` constructor or the `spring.ai.bedrock.converse.chat.options.*` properties.
At run-time you can override the default options by adding new, request specific, options to the `Prompt` call:
[source,java]
----
var options = ToolCallingChatOptions.builder()
.model("anthropic.claude-3-5-sonnet-20240620-v1:0")
.temperature(0.6)

I'm sorry I missed this in that PR. I will submit a PR to fix the documentation.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions