Package org.springframework.ai.watsonx
Class WatsonxAiChatOptions.Builder
java.lang.Object
org.springframework.ai.watsonx.WatsonxAiChatOptions.Builder
- Enclosing class:
- WatsonxAiChatOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
withAdditionalProperties
(Map<String, Object> properties) withAdditionalProperty
(String key, Object value) withDecodingMethod
(String decodingMethod) withMaxNewTokens
(Integer maxNewTokens) withMinNewTokens
(Integer minNewTokens) withRandomSeed
(Integer randomSeed) withRepetitionPenalty
(Double repetitionPenalty) withStopSequences
(List<String> stopSequences) withTemperature
(Double temperature)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
withTemperature
-
withTopP
-
withTopK
-
withDecodingMethod
-
withMaxNewTokens
-
withMinNewTokens
-
withStopSequences
-
withRepetitionPenalty
-
withRandomSeed
-
withModel
-
withAdditionalProperty
-
withAdditionalProperties
-
build
-