Class AnthropicChatOptions.Builder
java.lang.Object
org.springframework.ai.bedrock.anthropic.AnthropicChatOptions.Builder
- Enclosing class:
- AnthropicChatOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionanthropicVersion
(String anthropicVersion) build()
maxTokensToSample
(Integer maxTokensToSample) stopSequences
(List<String> stopSequences) temperature
(Double temperature) withAnthropicVersion
(String anthropicVersion) Deprecated, for removal: This API element is subject to removal in a future version.withMaxTokensToSample
(Integer maxTokensToSample) Deprecated, for removal: This API element is subject to removal in a future version.usemaxTokensToSample(Integer)
instead.withStopSequences
(List<String> stopSequences) Deprecated, for removal: This API element is subject to removal in a future version.usestopSequences(List)
instead.withTemperature
(Double temperature) Deprecated, for removal: This API element is subject to removal in a future version.usetemperature(Double)
instead.Deprecated, for removal: This API element is subject to removal in a future version.usetopK(Integer)
instead.Deprecated, for removal: This API element is subject to removal in a future version.usetopP(Double)
instead.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
temperature
-
maxTokensToSample
-
topK
-
topP
-
stopSequences
-
anthropicVersion
-
withTemperature
@Deprecated(forRemoval=true, since="1.0.0-M5") public AnthropicChatOptions.Builder withTemperature(Double temperature) Deprecated, for removal: This API element is subject to removal in a future version.usetemperature(Double)
instead. -
withMaxTokensToSample
@Deprecated(forRemoval=true, since="1.0.0-M5") public AnthropicChatOptions.Builder withMaxTokensToSample(Integer maxTokensToSample) Deprecated, for removal: This API element is subject to removal in a future version.usemaxTokensToSample(Integer)
instead. -
withTopK
@Deprecated(forRemoval=true, since="1.0.0-M5") public AnthropicChatOptions.Builder withTopK(Integer topK) Deprecated, for removal: This API element is subject to removal in a future version.usetopK(Integer)
instead. -
withTopP
@Deprecated(forRemoval=true, since="1.0.0-M5") public AnthropicChatOptions.Builder withTopP(Double topP) Deprecated, for removal: This API element is subject to removal in a future version.usetopP(Double)
instead. -
withStopSequences
@Deprecated(forRemoval=true, since="1.0.0-M5") public AnthropicChatOptions.Builder withStopSequences(List<String> stopSequences) Deprecated, for removal: This API element is subject to removal in a future version.usestopSequences(List)
instead. -
withAnthropicVersion
@Deprecated(forRemoval=true, since="1.0.0-M5") public AnthropicChatOptions.Builder withAnthropicVersion(String anthropicVersion) Deprecated, for removal: This API element is subject to removal in a future version.useanthropicVersion(String)
instead. -
build
-
anthropicVersion(String)
instead.