Uses of Class
org.machanism.machai.ai.manager.Usage
Packages that use Usage
Package
Description
Provider resolution and usage tracking for generative AI integrations.
Defines the provider abstraction layer used by MachAI to integrate with concrete
generative AI services.
-
Uses of Usage in org.machanism.machai.ai.manager
Methods in org.machanism.machai.ai.manager that return types with arguments of type UsageModifier and TypeMethodDescriptionUsageStatistics.getAllModelUsages()Returns the aggregated usage map for all models.UsageStatistics.getUsageForModel(String modelId) Returns the aggregated usage list for a specific model.Methods in org.machanism.machai.ai.manager with parameters of type Usage -
Uses of Usage in org.machanism.machai.ai.provider
Fields in org.machanism.machai.ai.provider declared as UsageModifier and TypeFieldDescriptionprotected UsageAbstractAIProvider.lastUsageLatest usage metrics captured from the most recentGenai.perform()call.Methods in org.machanism.machai.ai.provider that return UsageModifier and TypeMethodDescriptionAbstractAIProvider.usage()Returns token usage metrics captured from the most recentGenai.perform()call.Genai.usage()Returns token usage metrics for the most recentGenai.perform()invocation.GenaiAdapter.usage()