Package org.springframework.ai.zhipuai
Class ZhiPuAiChatOptions.Builder
java.lang.Object
org.springframework.ai.zhipuai.ZhiPuAiChatOptions.Builder
- Enclosing class:
- ZhiPuAiChatOptions
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()internalToolExecutionEnabled(Boolean internalToolExecutionEnabled) temperature(Double temperature) toolCallbacks(List<org.springframework.ai.tool.ToolCallback> toolCallbacks) toolCallbacks(org.springframework.ai.tool.ToolCallback... toolCallbacks) toolChoice(String toolChoice) toolContext(Map<String, Object> toolContext) tools(List<ZhiPuAiApi.FunctionTool> tools)
-
Field Details
-
options
-
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
model
-
maxTokens
-
stop
-
temperature
-
topP
-
tools
-
toolChoice
-
user
-
requestId
-
doSample
-
toolCallbacks
public ZhiPuAiChatOptions.Builder toolCallbacks(List<org.springframework.ai.tool.ToolCallback> toolCallbacks) -
toolCallbacks
public ZhiPuAiChatOptions.Builder toolCallbacks(org.springframework.ai.tool.ToolCallback... toolCallbacks) -
toolNames
-
toolNames
-
internalToolExecutionEnabled
public ZhiPuAiChatOptions.Builder internalToolExecutionEnabled(@Nullable Boolean internalToolExecutionEnabled) -
toolContext
-
build
-