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