Package org.springframework.ai.mistralai
Class MistralAiChatOptions.Builder
java.lang.Object
org.springframework.ai.mistralai.MistralAiChatOptions.Builder
- Enclosing class:
- MistralAiChatOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
functionCallbacks
(List<FunctionCallback> functionCallbacks) model
(MistralAiApi.ChatModel chatModel) proxyToolCalls
(Boolean proxyToolCalls) randomSeed
(Integer randomSeed) responseFormat
(MistralAiApi.ChatCompletionRequest.ResponseFormat responseFormat) safePrompt
(Boolean safePrompt) temperature
(Double temperature) 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) -
functionCallbacks
-
functions
-
function
-
proxyToolCalls
-
toolContext
-
build
-