UNPKG

@mastra/rag

Version:

The Retrieval-Augmented Generation (RAG) module contains document processing and embedding utilities.

8 lines 344 B
import type { RelevanceScoreProvider } from '@mastra/core/relevance'; 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