Package org.springframework.ai.anthropic
Class AnthropicChatOptions.Builder
java.lang.Object
org.springframework.ai.anthropic.AnthropicChatOptions.Builder
- Enclosing class:
- AnthropicChatOptions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Deprecated.functionCallbacks(List<FunctionCallback> functionCallbacks) Deprecated.Deprecated.internalToolExecutionEnabled(Boolean internalToolExecutionEnabled) model(AnthropicApi.ChatModel model) proxyToolCalls(Boolean proxyToolCalls) Deprecated.stopSequences(List<String> stopSequences) temperature(Double temperature) toolCallbacks(List<FunctionCallback> toolCallbacks) toolCallbacks(FunctionCallback... toolCallbacks) toolContext(Map<String, Object> toolContext)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
model
-
model
-
maxTokens
-
metadata
-
stopSequences
-
temperature
-
topP
-
topK
-
toolCallbacks
-
toolCallbacks
-
toolNames
-
toolNames
-
internalToolExecutionEnabled
public AnthropicChatOptions.Builder internalToolExecutionEnabled(@Nullable Boolean internalToolExecutionEnabled) -
functionCallbacks
@Deprecated public AnthropicChatOptions.Builder functionCallbacks(List<FunctionCallback> functionCallbacks) Deprecated. -
functions
Deprecated. -
function
Deprecated. -
proxyToolCalls
Deprecated. -
toolContext
-
build
-