UNPKG

@mastra/rag

Version:

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

8 lines 349 B
import type { RelevanceScoreProvider } from '@mastra/core/relevance'; export declare class ZeroEntropyRelevanceScorer implements RelevanceScoreProvider { private client; private model; constructor(model?: string, apiKey?: string); getRelevanceScore(query: string, text: string): Promise<number>; } //# sourceMappingURL=index.d.ts.map