Uses of Interface
org.springframework.ai.chat.metadata.Usage
Package
Description
Provides classes for observing model data.
-
Uses of Usage in org.springframework.ai.anthropic.metadata
-
Uses of Usage in org.springframework.ai.azure.openai.metadata
-
Uses of Usage in org.springframework.ai.bedrock
-
Uses of Usage in org.springframework.ai.bedrock.anthropic3
Modifier and TypeMethodDescriptionprotected Usage
BedrockAnthropic3ChatModel.extractUsage
(Anthropic3ChatBedrockApi.AnthropicChatResponse response) -
Uses of Usage in org.springframework.ai.bedrock.converse.api
-
Uses of Usage in org.springframework.ai.chat.metadata
Modifier and TypeClassDescriptionclass
Default implementation of theUsage
interface.class
A EmpytUsage implementation that returns zero for all property gettersModifier and TypeMethodDescriptionChatResponseMetadata.getUsage()
Returns AI provider specific metadata on API usage.Modifier and TypeMethodDescription -
Uses of Usage in org.springframework.ai.chat.model
-
Uses of Usage in org.springframework.ai.embedding
Modifier and TypeMethodDescriptionEmbeddingResponseMetadata.getUsage()
The AI provider specific metadata on API usage. -
Uses of Usage in org.springframework.ai.minimax.metadata
-
Uses of Usage in org.springframework.ai.mistralai.metadata
-
Uses of Usage in org.springframework.ai.model.observation
-
Uses of Usage in org.springframework.ai.moonshot.metadata
-
Uses of Usage in org.springframework.ai.ollama.metadata
-
Uses of Usage in org.springframework.ai.openai.metadata
-
Uses of Usage in org.springframework.ai.qianfan.metadata
-
Uses of Usage in org.springframework.ai.vertexai.embedding
-
Uses of Usage in org.springframework.ai.vertexai.gemini.metadata
-
Uses of Usage in org.springframework.ai.zhipuai.metadata