@mastra/core
Version:
19 lines • 815 B
TypeScript
import type { ObservabilityContext } from '../observability/index.js';
import type { MastraScorerEntry } from './base.js';
import type { ScoringEntityType, ScoringSource } from './types.js';
export declare function runScorer({ runId, scorerId, scorerObject, input, output, requestContext, entity, structuredOutput, source, entityType, threadId, resourceId, projectId, ...observabilityContext }: {
scorerId: string;
scorerObject: MastraScorerEntry;
runId: string;
input: any;
output: any;
requestContext: Record<string, any>;
entity: Record<string, any>;
structuredOutput: boolean;
source: ScoringSource;
entityType: ScoringEntityType;
threadId?: string;
resourceId?: string;
projectId?: string;
} & ObservabilityContext): void;
//# sourceMappingURL=hooks.d.ts.map