Uses of Class
io.agentscope.extensions.model.anthropic.AnthropicChatModel.Builder
Packages that use AnthropicChatModel.Builder
-
Uses of AnthropicChatModel.Builder in io.agentscope.extensions.model.anthropic
Methods in io.agentscope.extensions.model.anthropic that return AnthropicChatModel.BuilderModifier and TypeMethodDescriptionSets the API key for authentication.Sets the bearer token for authentication with an Anthropic-compatible gateway.Sets the base URL for the Anthropic API.static AnthropicChatModel.BuilderAnthropicChatModel.builder()Creates a builder for constructing AnthropicChatModel instances.Sets the TTL for prompt-caching markers (e.g.AnthropicChatModel.Builder.contextWindowSize(int contextWindowSize) AnthropicChatModel.Builder.defaultOptions(io.agentscope.core.model.GenerateOptions defaultOptions) Sets default generation options.AnthropicChatModel.Builder.formatter(AnthropicBaseFormatter formatter) Sets a custom formatter.Sets the model name.AnthropicChatModel.Builder.proxy(io.agentscope.core.model.transport.ProxyConfig proxyConfig) Sets the proxy configuration for HTTP traffic.AnthropicChatModel.Builder.stream(boolean streamEnabled) Enables or disables streaming.