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()
withDoSample
(Boolean doSample) withFunction
(String functionName) withFunctionCallbacks
(List<FunctionCallback> functionCallbacks) withFunctions
(Set<String> functionNames) withMaxTokens
(Integer maxTokens) withProxyToolCalls
(Boolean proxyToolCalls) withRequestId
(String requestId) withTemperature
(Double temperature) withToolChoice
(String toolChoice) withToolContext
(Map<String, Object> toolContext) withTools
(List<ZhiPuAiApi.FunctionTool> tools)
-
Field Details
-
options
-
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
withModel
-
withMaxTokens
-
withStop
-
withTemperature
-
withTopP
-
withTools
-
withToolChoice
-
withUser
-
withRequestId
-
withDoSample
-
withFunctionCallbacks
-
withFunctions
-
withFunction
-
withProxyToolCalls
-
withToolContext
-
build
-