Package org.springframework.ai.deepseek
Class DeepSeekChatOptions.Builder
java.lang.Object
org.springframework.ai.deepseek.DeepSeekChatOptions.Builder
- Enclosing class:
- DeepSeekChatOptions
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
frequencyPenalty
(Double frequencyPenalty) internalToolExecutionEnabled
(Boolean internalToolExecutionEnabled) model
(DeepSeekApi.ChatModel deepseekAiChatModel) presencePenalty
(Double presencePenalty) responseFormat
(ResponseFormat responseFormat) temperature
(Double temperature) toolCallbacks
(List<ToolCallback> toolCallbacks) toolCallbacks
(ToolCallback... toolCallbacks) toolChoice
(Object toolChoice) toolContext
(Map<String, Object> toolContext) tools
(List<DeepSeekApi.FunctionTool> tools) topLogprobs
(Integer topLogprobs)
-
Field Details
-
options
-
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
model
-
model
-
frequencyPenalty
-
logprobs
-
topLogprobs
-
maxTokens
-
presencePenalty
-
responseFormat
-
stop
-
temperature
-
topP
-
tools
-
toolChoice
-
toolCallbacks
-
toolCallbacks
-
toolNames
-
toolNames
-
internalToolExecutionEnabled
public DeepSeekChatOptions.Builder internalToolExecutionEnabled(@Nullable Boolean internalToolExecutionEnabled) -
toolContext
-
build
-