Uses of Class
com.tnsai.llm.providers.AnthropicClient.Builder
Packages that use AnthropicClient.Builder
-
Uses of AnthropicClient.Builder in com.tnsai.llm.providers
Methods in com.tnsai.llm.providers that return AnthropicClient.BuilderModifier and TypeMethodDescriptionSets the API key.Sets the API base URL.Adds a beta feature identifier.Adds multiple beta feature identifiers.static AnthropicClient.BuilderAnthropicClient.builder()Creates a new builder for AnthropicClient.AnthropicClient.Builder.cacheLastNTurns(int n) Upper bound on how many of the last user messages in history get a cache_control marker (issue #27).AnthropicClient.Builder.enableEphemeralCaching(boolean enabled) Toggles cache_control marker injection on the system prompt and the lastcacheLastNTurns(int)user messages in history (issue #27).AnthropicClient.Builder.maxTokens(int maxTokens) Sets the maximum number of tokens to generate.Sets the model to use.AnthropicClient.Builder.temperature(float temperature) Sets the temperature for response generation.AnthropicClient.Builder.topP(float topP) Sets the top-p (nucleus sampling) value.AnthropicClient.Builder.withAdvancedToolUse()Enables advanced tool use features (tool search, programmatic calling).AnthropicClient.Builder.withComputerUse()Enables computer use capabilities.AnthropicClient.Builder.withPromptCaching()Enables prompt caching for reduced latency and ~75% lower input-token cost on repeated prompts (issue #27).AnthropicClient.Builder.withWebSearch()Enables web search capability.