Uses of Class
org.springframework.ai.zhipuai.ZhiPuAiChatOptions.Builder
-
Uses of ZhiPuAiChatOptions.Builder in org.springframework.ai.zhipuai
Modifier and TypeMethodDescriptionstatic ZhiPuAiChatOptions.Builder
ZhiPuAiChatOptions.builder()
ZhiPuAiChatOptions.Builder.functionCallbacks
(List<FunctionCallback> functionCallbacks) ZhiPuAiChatOptions.Builder.proxyToolCalls
(Boolean proxyToolCalls) ZhiPuAiChatOptions.Builder.temperature
(Double temperature) ZhiPuAiChatOptions.Builder.toolChoice
(String toolChoice) ZhiPuAiChatOptions.Builder.toolContext
(Map<String, Object> toolContext) ZhiPuAiChatOptions.Builder.tools
(List<ZhiPuAiApi.FunctionTool> tools) ZhiPuAiChatOptions.Builder.withDoSample
(Boolean doSample) Deprecated, for removal: This API element is subject to removal in a future version.ZhiPuAiChatOptions.Builder.withFunction
(String functionName) Deprecated, for removal: This API element is subject to removal in a future version.usefunction(String)
instead.ZhiPuAiChatOptions.Builder.withFunctionCallbacks
(List<FunctionCallback> functionCallbacks) Deprecated, for removal: This API element is subject to removal in a future version.usefunctionCallbacks(List)
instead.ZhiPuAiChatOptions.Builder.withFunctions
(Set<String> functionNames) Deprecated, for removal: This API element is subject to removal in a future version.usefunctions(Set)
instead.ZhiPuAiChatOptions.Builder.withMaxTokens
(Integer maxTokens) Deprecated, for removal: This API element is subject to removal in a future version.usemaxTokens(Integer)
instead.Deprecated, for removal: This API element is subject to removal in a future version.usemodel(String)
instead.ZhiPuAiChatOptions.Builder.withProxyToolCalls
(Boolean proxyToolCalls) Deprecated, for removal: This API element is subject to removal in a future version.useproxyToolCalls(Boolean)
instead.ZhiPuAiChatOptions.Builder.withRequestId
(String requestId) Deprecated, for removal: This API element is subject to removal in a future version.userequestId(String)
instead.Deprecated, for removal: This API element is subject to removal in a future version.usestop(List)
instead.ZhiPuAiChatOptions.Builder.withTemperature
(Double temperature) Deprecated, for removal: This API element is subject to removal in a future version.usetemperature(Double)
instead.ZhiPuAiChatOptions.Builder.withToolChoice
(String toolChoice) Deprecated, for removal: This API element is subject to removal in a future version.usetoolChoice(String)
instead.ZhiPuAiChatOptions.Builder.withToolContext
(Map<String, Object> toolContext) Deprecated, for removal: This API element is subject to removal in a future version.usetoolContext(Map)
instead.ZhiPuAiChatOptions.Builder.withTools
(List<ZhiPuAiApi.FunctionTool> tools) Deprecated, for removal: This API element is subject to removal in a future version.usetools(List)
instead.Deprecated, for removal: This API element is subject to removal in a future version.usetopP(Double)
instead.Deprecated, for removal: This API element is subject to removal in a future version.useuser(String)
instead.
doSample(Boolean)
instead.