Class OCICohereChatOptions.Builder
java.lang.Object
org.springframework.ai.oci.cohere.OCICohereChatOptions.Builder
- Enclosing class:
- OCICohereChatOptions
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
withCompartment
(String compartment) withDocuments
(List<Object> documents) withFrequencyPenalty
(Double frequencyPenalty) withMaxTokens
(Integer maxTokens) withPreambleOverride
(String preambleOverride) withPresencePenalty
(Double presencePenalty) withServingMode
(String servingMode) withTemperature
(Double temperature)
-
Field Details
-
chatOptions
-
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
withModel
-
withMaxTokens
-
withCompartment
-
withServingMode
-
withPreambleOverride
-
withTemperature
-
withTopP
-
withTopK
-
withFrequencyPenalty
-
withPresencePenalty
-
withStop
-
withDocuments
-
withTools
public OCICohereChatOptions.Builder withTools(List<com.oracle.bmc.generativeaiinference.model.CohereTool> tools) -
build
-