Package org.springframework.ai.mistralai
Class MistralAiChatOptions.Builder
java.lang.Object
org.springframework.ai.mistralai.MistralAiChatOptions.Builder
- Enclosing class:
- MistralAiChatOptions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Deprecated.functionCallbacks
(List<FunctionCallback> functionCallbacks) Deprecated.Deprecated.internalToolExecutionEnabled
(Boolean internalToolExecutionEnabled) model
(MistralAiApi.ChatModel chatModel) proxyToolCalls
(Boolean proxyToolCalls) Deprecated.randomSeed
(Integer randomSeed) responseFormat
(MistralAiApi.ChatCompletionRequest.ResponseFormat responseFormat) safePrompt
(Boolean safePrompt) temperature
(Double temperature) toolCallbacks
(List<FunctionCallback> toolCallbacks) toolCallbacks
(FunctionCallback... toolCallbacks) toolContext
(Map<String, Object> toolContext) tools
(List<MistralAiApi.FunctionTool> tools)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
model
-
model
-
maxTokens
-
safePrompt
-
randomSeed
-
stop
-
temperature
-
topP
-
responseFormat
public MistralAiChatOptions.Builder responseFormat(MistralAiApi.ChatCompletionRequest.ResponseFormat responseFormat) -
tools
-
toolChoice
public MistralAiChatOptions.Builder toolChoice(MistralAiApi.ChatCompletionRequest.ToolChoice toolChoice) -
toolCallbacks
-
toolCallbacks
-
toolNames
-
toolNames
-
internalToolExecutionEnabled
public MistralAiChatOptions.Builder internalToolExecutionEnabled(@Nullable Boolean internalToolExecutionEnabled) -
functionCallbacks
@Deprecated public MistralAiChatOptions.Builder functionCallbacks(List<FunctionCallback> functionCallbacks) Deprecated. -
functions
Deprecated. -
function
Deprecated. -
proxyToolCalls
Deprecated. -
toolContext
-
build
-