Class AnthropicChatOptions
java.lang.Object
org.springframework.ai.bedrock.anthropic.AnthropicChatOptions
- All Implemented Interfaces:
ChatOptions
,ModelOptions
- Author:
- Christian Tzolov, Thomas Vitale
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic AnthropicChatOptions.Builder
builder()
copy()
static AnthropicChatOptions
fromOptions
(AnthropicChatOptions fromOptions) getModel()
getTopK()
getTopP()
void
setAnthropicVersion
(String anthropicVersion) void
setMaxTokens
(Integer maxTokens) void
setMaxTokensToSample
(Integer maxTokensToSample) void
setStopSequences
(List<String> stopSequences) void
setTemperature
(Double temperature) void
void
-
Constructor Details
-
AnthropicChatOptions
public AnthropicChatOptions()
-
-
Method Details
-
builder
-
getTemperature
- Specified by:
getTemperature
in interfaceChatOptions
-
setTemperature
-
getMaxTokens
- Specified by:
getMaxTokens
in interfaceChatOptions
-
setMaxTokens
-
getMaxTokensToSample
-
setMaxTokensToSample
-
getTopK
- Specified by:
getTopK
in interfaceChatOptions
-
setTopK
-
getTopP
- Specified by:
getTopP
in interfaceChatOptions
-
setTopP
-
getStopSequences
- Specified by:
getStopSequences
in interfaceChatOptions
-
setStopSequences
-
getAnthropicVersion
-
setAnthropicVersion
-
getModel
- Specified by:
getModel
in interfaceChatOptions
-
getFrequencyPenalty
- Specified by:
getFrequencyPenalty
in interfaceChatOptions
-
getPresencePenalty
- Specified by:
getPresencePenalty
in interfaceChatOptions
-
copy
- Specified by:
copy
in interfaceChatOptions
-
fromOptions
-