Package org.springframework.ai.chat.metadata
package org.springframework.ai.chat.metadata
-
ClassDescriptionRepresents the metadata associated with the generation of a chat response.Models common AI provider metadata returned in an AI response.Default implementation of
ChatGenerationMetadata
.Default implementation of theUsage
interface.A RateLimit implementation that returns zero for all property gettersA EmpytUsage implementation that returns zero for all property gettersAbstract Data Type (ADT) modeling metadata gathered by the AI during request processing.Abstract Data Type (ADT) modeling filter metadata for all prompts sent during an AI request.Abstract Data Type (ADT) encapsulating metadata from an AI provider's API rate limits granted to the API key in use and the API key's current balance.Abstract Data Type (ADT) encapsulating metadata on the usage of an AI provider's API per AI request.An utility class to provide support methods handlingUsage
.