Package org.springframework.ai.anthropic
Class AnthropicChatOptions.Builder
java.lang.Object
org.springframework.ai.chat.prompt.DefaultChatOptionsBuilder<B>
org.springframework.ai.model.tool.DefaultToolCallingChatOptions.Builder<B>
org.springframework.ai.anthropic.AnthropicChatOptions.AbstractBuilder<AnthropicChatOptions.Builder>
org.springframework.ai.anthropic.AnthropicChatOptions.Builder
- All Implemented Interfaces:
Cloneable,org.springframework.ai.chat.prompt.ChatOptions.Builder<AnthropicChatOptions.Builder>,org.springframework.ai.model.tool.StructuredOutputChatOptions.Builder<AnthropicChatOptions.Builder>,org.springframework.ai.model.tool.ToolCallingChatOptions.Builder<AnthropicChatOptions.Builder>
- Enclosing class:
- AnthropicChatOptions
public static class AnthropicChatOptions.Builder
extends AnthropicChatOptions.AbstractBuilder<AnthropicChatOptions.Builder>
Builder for creating
AnthropicChatOptions instances.-
Field Summary
Fields inherited from class org.springframework.ai.model.tool.DefaultToolCallingChatOptions.Builder
toolCallbacks, toolContextFields inherited from class org.springframework.ai.chat.prompt.DefaultChatOptionsBuilder
frequencyPenalty, maxTokens, model, presencePenalty, stopSequences, temperature, topK, topP -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.springframework.ai.anthropic.AnthropicChatOptions.AbstractBuilder
addCitationDocument, apiKey, baseUrl, build, cacheOptions, citationDocuments, citationDocuments, clone, combineWith, customHeaders, disableParallelToolUse, effort, httpHeaders, inferenceGeo, maxRetries, metadata, model, outputConfig, outputSchema, proxy, serviceTier, skill, skill, skill, skill, skill, skillContainer, skills, skills, thinking, thinkingAdaptive, thinkingAdaptive, thinkingDisabled, thinkingEnabled, thinkingEnabled, timeout, toolChoice, webSearchToolMethods inherited from class org.springframework.ai.model.tool.DefaultToolCallingChatOptions.Builder
toolCallbacks, toolCallbacks, toolContext, toolContextMethods inherited from class org.springframework.ai.chat.prompt.DefaultChatOptionsBuilder
frequencyPenalty, maxTokens, model, presencePenalty, self, stopSequences, temperature, topK, topPMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.ai.model.tool.ToolCallingChatOptions.Builder
frequencyPenalty, maxTokens, model, presencePenalty, stopSequences, temperature, topK, topP
-
Constructor Details
-
Builder
public Builder()
-