@maiar-ai/core / AnalyticsManager
Class: AnalyticsManager
Defined in: packages/core/src/runtime/managers/analytics/index.ts:6
Constructors​
new AnalyticsManager()​
new AnalyticsManager():
AnalyticsManager
Returns​
Accessors​
logger​
Get Signature​
get logger():
Logger
Defined in: packages/core/src/runtime/managers/analytics/index.ts:7
Returns​
Logger
Methods​
wrapExecution()​
wrapExecution<
T>(capabilityId,modelId,operationLabel,input,config,trackers,executor,pluginId?):Promise<T>
Defined in: packages/core/src/runtime/managers/analytics/index.ts:14
Wraps capability execution with analytics tracking
Type Parameters​
• T
Parameters​
capabilityId​
string
modelId​
string
operationLabel​
string
input​
unknown
config​
unknown
trackers​
executor​
() => Promise<T>
pluginId?​
string
Returns​
Promise<T>