Package org.springframework.ai.zhipuai
Class ZhiPuAiChatOptions.Builder
java.lang.Object
org.springframework.ai.zhipuai.ZhiPuAiChatOptions.Builder
- Enclosing class:
- ZhiPuAiChatOptions
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
functionCallbacks
(List<FunctionCallback> functionCallbacks) proxyToolCalls
(Boolean proxyToolCalls) temperature
(Double temperature) 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
-
functionCallbacks
-
functions
-
function
-
proxyToolCalls
-
toolContext
-
build
-