Uses of Class
org.springframework.ai.azure.openai.metadata.AzureOpenAiUsage
Packages that use AzureOpenAiUsage
-
Uses of AzureOpenAiUsage in org.springframework.ai.azure.openai.metadata
Methods in org.springframework.ai.azure.openai.metadata that return AzureOpenAiUsageModifier and TypeMethodDescriptionstatic AzureOpenAiUsage
AzureOpenAiUsage.from
(com.azure.ai.openai.models.ChatCompletions chatCompletions) static AzureOpenAiUsage
AzureOpenAiUsage.from
(com.azure.ai.openai.models.CompletionsUsage usage) Constructors in org.springframework.ai.azure.openai.metadata with parameters of type AzureOpenAiUsageModifierConstructorDescriptionprotected
AzureOpenAiChatResponseMetadata
(String id, AzureOpenAiUsage usage, PromptMetadata promptMetadata)