UNPKG

@mastra/core

Version:

The core foundation of the Mastra framework, providing essential components and interfaces for building AI-powered applications.

9 lines 402 B
import type { RelevanceScoreProvider } from '../relevance-score-provider'; /** @deprecated Import from `@mastra/rag` instead */ export declare class CohereRelevanceScorer implements RelevanceScoreProvider { private model; private apiKey?; constructor(model: string, apiKey?: string); getRelevanceScore(query: string, text: string): Promise<number>; } //# sourceMappingURL=index.d.ts.map