Uses of Record Class
org.springframework.ai.anthropic.api.AnthropicApi.Usage
Packages that use AnthropicApi.Usage
-
Uses of AnthropicApi.Usage in org.springframework.ai.anthropic.api
Methods in org.springframework.ai.anthropic.api that return AnthropicApi.UsageModifier and TypeMethodDescriptionAnthropicApi.ChatCompletionResponse.usage()Returns the value of theusagerecord component.Methods in org.springframework.ai.anthropic.api with parameters of type AnthropicApi.UsageModifier and TypeMethodDescriptionStreamHelper.ChatCompletionResponseBuilder.withUsage(AnthropicApi.Usage usage) Constructors in org.springframework.ai.anthropic.api with parameters of type AnthropicApi.UsageModifierConstructorDescriptionChatCompletionResponse(String id, String type, AnthropicApi.Role role, List<AnthropicApi.ContentBlock> content, String model, String stopReason, String stopSequence, AnthropicApi.Usage usage, AnthropicApi.ChatCompletionResponse.Container container) Creates an instance of aChatCompletionResponserecord class.