Package org.springframework.ai.moonshot
Class MoonshotChatOptions.Builder
java.lang.Object
org.springframework.ai.moonshot.MoonshotChatOptions.Builder
- Enclosing class:
- MoonshotChatOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
frequencyPenalty
(Double frequencyPenalty) functionCallbacks
(List<FunctionCallback> functionCallbacks) presencePenalty
(Double presencePenalty) proxyToolCalls
(Boolean proxyToolCalls) temperature
(Double temperature) toolChoice
(String toolChoice) toolContext
(Map<String, Object> toolContext) tools
(List<MoonshotApi.FunctionTool> tools)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
model
-
maxTokens
-
temperature
-
topP
-
N
-
presencePenalty
-
frequencyPenalty
-
stop
-
user
-
tools
-
toolChoice
-
functionCallbacks
-
functions
-
function
-
proxyToolCalls
-
toolContext
-
build
-