Interface ChatResponseMetadata
- All Superinterfaces:
ResponseMetadata
- All Known Implementing Classes:
AzureOpenAiChatResponseMetadata
,OpenAiChatResponseMetadata
,VertexAiChatResponseMetadata
Abstract Data Type (ADT) modeling common AI provider metadata returned in an AI
response.
- Since:
- 0.7.0
- Author:
- John Blum
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault PromptMetadata
default RateLimit
Returns AI provider specific metadata on rate limits.default Usage
getUsage()
Returns AI provider specific metadata on API usage.
-
Field Details
-
NULL
-
-
Method Details
-
getRateLimit
Returns AI provider specific metadata on rate limits.- Returns:
- AI provider specific metadata on rate limits.
- See Also:
-
getUsage
Returns AI provider specific metadata on API usage.- Returns:
- AI provider specific metadata on API usage.
- See Also:
-
getPromptMetadata
-