Class AnthropicChatOptions.Builder
java.lang.Object
org.springframework.ai.chat.prompt.DefaultChatOptionsBuilder<AnthropicChatOptions.Builder>
org.springframework.ai.model.tool.DefaultToolCallingChatOptions.Builder<AnthropicChatOptions.Builder>
org.springframework.ai.anthropic.AnthropicChatOptions.AbstractBuilder<AnthropicChatOptions.Builder>
org.springframework.ai.anthropic.AnthropicChatOptions.Builder
- All Implemented Interfaces:
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.- Since:
- 1.0.0
- Author:
- Christian Tzolov, Thomas Vitale, Alexandros Pappas, Ilayaperumal Gopinathan, Soby Chacko, Austin Dase
-
Field Summary
Fields inherited from class org.springframework.ai.model.tool.DefaultToolCallingChatOptions.Builder
internalToolExecutionEnabled, toolCallbacks, toolContext, toolNamesFields 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 AnthropicChatOptions.AbstractBuilder
addCitationDocument, apiKey, baseUrl, build, cacheOptions, citationDocuments, citationDocuments, combineWith, customHeaders, disableParallelToolUse, effort, httpHeaders, maxRetries, metadata, model, outputConfig, outputSchema, proxy, skill, skill, skill, skill, skill, skillContainer, skills, skills, thinking, thinkingAdaptive, thinkingDisabled, thinkingEnabled, timeout, toolChoiceMethods inherited from class org.springframework.ai.model.tool.DefaultToolCallingChatOptions.Builder
internalToolExecutionEnabled, toolCallbacks, toolCallbacks, toolContext, toolContext, toolNames, toolNamesMethods inherited from class org.springframework.ai.chat.prompt.DefaultChatOptionsBuilder
frequencyPenalty, maxTokens, model, presencePenalty, self, stopSequences, temperature, topK, topPMethods inherited from class Object
clone, 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()
-