Package org.springframework.ai.minimax
Class MiniMaxChatOptions.Builder
java.lang.Object
org.springframework.ai.minimax.MiniMaxChatOptions.Builder
- Enclosing class:
- MiniMaxChatOptions
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()withFrequencyPenalty(Double frequencyPenalty) withFunction(String functionName) withFunctionCallbacks(List<FunctionCallback> functionCallbacks) withFunctions(Set<String> functionNames) withMaskSensitiveInfo(Boolean maskSensitiveInfo) withMaxTokens(Integer maxTokens) withPresencePenalty(Double presencePenalty) withProxyToolCalls(Boolean proxyToolCalls) withResponseFormat(MiniMaxApi.ChatCompletionRequest.ResponseFormat responseFormat) withTemperature(Double temperature) withToolChoice(String toolChoice) withToolContext(Map<String, Object> toolContext) withTools(List<MiniMaxApi.FunctionTool> tools)
-
Field Details
-
options
-
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
withModel
-
withFrequencyPenalty
-
withMaxTokens
-
withN
-
withPresencePenalty
-
withResponseFormat
public MiniMaxChatOptions.Builder withResponseFormat(MiniMaxApi.ChatCompletionRequest.ResponseFormat responseFormat) -
withSeed
-
withStop
-
withTemperature
-
withTopP
-
withMaskSensitiveInfo
-
withTools
-
withToolChoice
-
withFunctionCallbacks
-
withFunctions
-
withFunction
-
withProxyToolCalls
-
withToolContext
-
build
-