Uses of Class
org.springframework.ai.moonshot.MoonshotChatOptions.Builder
-
Uses of MoonshotChatOptions.Builder in org.springframework.ai.moonshot
Modifier and TypeMethodDescriptionstatic MoonshotChatOptions.Builder
MoonshotChatOptions.builder()
MoonshotChatOptions.Builder.frequencyPenalty
(Double frequencyPenalty) MoonshotChatOptions.Builder.functionCallbacks
(List<FunctionCallback> functionCallbacks) MoonshotChatOptions.Builder.presencePenalty
(Double presencePenalty) MoonshotChatOptions.Builder.proxyToolCalls
(Boolean proxyToolCalls) MoonshotChatOptions.Builder.temperature
(Double temperature) MoonshotChatOptions.Builder.toolChoice
(String toolChoice) MoonshotChatOptions.Builder.toolContext
(Map<String, Object> toolContext) MoonshotChatOptions.Builder.tools
(List<MoonshotApi.FunctionTool> tools) MoonshotChatOptions.Builder.withFrequencyPenalty
(Double frequencyPenalty) Deprecated, for removal: This API element is subject to removal in a future version.MoonshotChatOptions.Builder.withFunction
(String functionName) Deprecated, for removal: This API element is subject to removal in a future version.usefunction(String)
instead.MoonshotChatOptions.Builder.withFunctionCallbacks
(List<FunctionCallback> functionCallbacks) Deprecated, for removal: This API element is subject to removal in a future version.usefunctionCallbacks(List)
instead.MoonshotChatOptions.Builder.withFunctions
(Set<String> functionNames) Deprecated, for removal: This API element is subject to removal in a future version.usefunctions(Set)
instead.MoonshotChatOptions.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.Deprecated, for removal: This API element is subject to removal in a future version.useN(Integer)
instead.MoonshotChatOptions.Builder.withPresencePenalty
(Double presencePenalty) Deprecated, for removal: This API element is subject to removal in a future version.usepresencePenalty(Double)
instead.MoonshotChatOptions.Builder.withProxyToolCalls
(Boolean proxyToolCalls) Deprecated, for removal: This API element is subject to removal in a future version.useproxyToolCalls(Boolean)
instead.Deprecated, for removal: This API element is subject to removal in a future version.usestop(List)
instead.MoonshotChatOptions.Builder.withTemperature
(Double temperature) Deprecated, for removal: This API element is subject to removal in a future version.usetemperature(Double)
instead.MoonshotChatOptions.Builder.withToolChoice
(String toolChoice) Deprecated, for removal: This API element is subject to removal in a future version.usetoolChoice(String)
instead.MoonshotChatOptions.Builder.withToolContext
(Map<String, Object> toolContext) Deprecated, for removal: This API element is subject to removal in a future version.usetoolContext(Map)
instead.MoonshotChatOptions.Builder.withTools
(List<MoonshotApi.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.
frequencyPenalty(Double)
instead.