Uses of Class
dev.langchain4j.model.anthropic.internal.api.AnthropicUsage
Packages that use AnthropicUsage
Package
Description
-
Uses of AnthropicUsage in dev.langchain4j.model.anthropic.internal.api
Fields in dev.langchain4j.model.anthropic.internal.api declared as AnthropicUsageModifier and TypeFieldDescriptionAnthropicCreateMessageResponse.usageToken usage statistics for the request and response.AnthropicResponseMessage.usageAnthropicStreamingData.usageMethods in dev.langchain4j.model.anthropic.internal.api with parameters of type AnthropicUsageModifier and TypeMethodDescriptionAnthropicCreateMessageResponse.Builder.usage(AnthropicUsage usage) Sets the usage statistics. -
Uses of AnthropicUsage in dev.langchain4j.model.anthropic.internal.mapper
Methods in dev.langchain4j.model.anthropic.internal.mapper with parameters of type AnthropicUsageModifier and TypeMethodDescriptionstatic TokenUsageAnthropicMapper.toTokenUsage(AnthropicUsage anthropicUsage)