Class BedrockTitanChatOptions
java.lang.Object
org.springframework.ai.bedrock.titan.BedrockTitanChatOptions
- All Implemented Interfaces:
ChatOptions
,ModelOptions
- Since:
- 0.8.0
- Author:
- Christian Tzolov, Thomas Vitale
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
copy()
static BedrockTitanChatOptions
fromOptions
(BedrockTitanChatOptions fromOptions) getModel()
getTopK()
getTopP()
void
setMaxTokenCount
(Integer maxTokenCount) void
setMaxTokens
(Integer maxTokens) void
setStopSequences
(List<String> stopSequences) void
setTemperature
(Double temperature) void
-
Constructor Details
-
BedrockTitanChatOptions
public BedrockTitanChatOptions()
-
-
Method Details
-
builder
-
getTemperature
- Specified by:
getTemperature
in interfaceChatOptions
-
setTemperature
-
getTopP
- Specified by:
getTopP
in interfaceChatOptions
-
setTopP
-
getMaxTokens
- Specified by:
getMaxTokens
in interfaceChatOptions
-
setMaxTokens
-
getMaxTokenCount
-
setMaxTokenCount
-
getStopSequences
- Specified by:
getStopSequences
in interfaceChatOptions
-
setStopSequences
-
getModel
- Specified by:
getModel
in interfaceChatOptions
-
getFrequencyPenalty
- Specified by:
getFrequencyPenalty
in interfaceChatOptions
-
getPresencePenalty
- Specified by:
getPresencePenalty
in interfaceChatOptions
-
getTopK
- Specified by:
getTopK
in interfaceChatOptions
-
copy
- Specified by:
copy
in interfaceChatOptions
-
fromOptions
-