@mastra/core
Version:
Mastra is a framework for building AI-powered applications and agents with a modern TypeScript stack.
18 lines • 780 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, ...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;
} & ObservabilityContext): void;
//# sourceMappingURL=hooks.d.ts.map