Class BedrockCohereChatOptions
java.lang.Object
org.springframework.ai.bedrock.cohere.BedrockCohereChatOptions
- All Implemented Interfaces:
ChatOptions
,ModelOptions
- Since:
- 0.8.0
- Author:
- Christian Tzolov
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
getTopK()
getTopP()
void
void
setMaxTokens
(Integer maxTokens) void
setNumGenerations
(Integer numGenerations) void
setReturnLikelihoods
(CohereChatBedrockApi.CohereChatRequest.ReturnLikelihoods returnLikelihoods) void
setStopSequences
(List<String> stopSequences) void
setTemperature
(Float temperature) void
void
void
-
Constructor Details
-
BedrockCohereChatOptions
public BedrockCohereChatOptions()
-
-
Method Details
-
builder
-
getTemperature
- Specified by:
getTemperature
in interfaceChatOptions
-
setTemperature
- Specified by:
setTemperature
in interfaceChatOptions
-
getTopP
- Specified by:
getTopP
in interfaceChatOptions
-
setTopP
- Specified by:
setTopP
in interfaceChatOptions
-
getTopK
- Specified by:
getTopK
in interfaceChatOptions
-
setTopK
- Specified by:
setTopK
in interfaceChatOptions
-
getMaxTokens
-
setMaxTokens
-
getStopSequences
-
setStopSequences
-
getReturnLikelihoods
-
setReturnLikelihoods
public void setReturnLikelihoods(CohereChatBedrockApi.CohereChatRequest.ReturnLikelihoods returnLikelihoods) -
getNumGenerations
-
setNumGenerations
-
getLogitBias
-
setLogitBias
-
getTruncate
-
setTruncate
-