Uses of Class
dev.langchain4j.model.anthropic.internal.api.AnthropicCountTokensRequest.Builder
Packages that use AnthropicCountTokensRequest.Builder
-
Uses of AnthropicCountTokensRequest.Builder in dev.langchain4j.model.anthropic.internal.api
Methods in dev.langchain4j.model.anthropic.internal.api that return AnthropicCountTokensRequest.BuilderModifier and TypeMethodDescriptionAnthropicCountTokensRequest.builder()Creates a new builder for constructingAnthropicCountTokensRequestinstances.AnthropicCountTokensRequest.Builder.messages(List<AnthropicMessage> messages) Sets the list of messages.Sets the model name.AnthropicCountTokensRequest.Builder.system(List<AnthropicTextContent> system) Sets the system prompt content.AnthropicCountTokensRequest.Builder.thinking(AnthropicThinking thinking) Sets the thinking configuration.AnthropicCountTokensRequest.Builder.tools(List<AnthropicTool> tools) Sets the list of tools.