@mastra/core
Version:
The core foundation of the Mastra framework, providing essential components and interfaces for building AI-powered applications.
14 lines • 544 B
TypeScript
import type { Agent } from '../agent';
import type { Metric } from './metric';
import type { TestInfo, EvaluationResult } from './types';
export declare function evaluate<T extends Agent>({ agentName, input, metric, output, runId, globalRunId, testInfo, instructions, }: {
agentName: string;
input: Parameters<T['generate']>[0];
metric: Metric;
output: string;
globalRunId: string;
runId?: string;
testInfo?: TestInfo;
instructions: string;
}): Promise<EvaluationResult>;
//# sourceMappingURL=evaluation.d.ts.map