Class BedrockCohereChatOptions.Builder
java.lang.Object
org.springframework.ai.bedrock.cohere.BedrockCohereChatOptions.Builder
- Enclosing class:
- BedrockCohereChatOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
numGenerations
(Integer numGenerations) returnLikelihoods
(CohereChatBedrockApi.CohereChatRequest.ReturnLikelihoods returnLikelihoods) stopSequences
(List<String> stopSequences) temperature
(Double temperature)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
temperature
-
topP
-
topK
-
maxTokens
-
stopSequences
-
returnLikelihoods
public BedrockCohereChatOptions.Builder returnLikelihoods(CohereChatBedrockApi.CohereChatRequest.ReturnLikelihoods returnLikelihoods) -
numGenerations
-
logitBias
public BedrockCohereChatOptions.Builder logitBias(CohereChatBedrockApi.CohereChatRequest.LogitBias logitBias) -
truncate
public BedrockCohereChatOptions.Builder truncate(CohereChatBedrockApi.CohereChatRequest.Truncate truncate) -
build
-