UNPKG

@mastra/rag

Version:

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

12 lines 509 B
import { z } from 'zod'; import type { RagTool } from '../utils/index.js'; import type { GraphRagToolOptions } from './types.js'; export declare const createGraphRAGTool: (options: GraphRagToolOptions) => RagTool<z.infer<z.ZodObject<{ filter: z.ZodCoercedString<unknown>; queryText: z.ZodString; topK: z.ZodCoercedNumber<unknown>; }, z.core.$strip> | z.ZodObject<{ queryText: z.ZodString; topK: z.ZodCoercedNumber<unknown>; }, z.core.$loose>>, any>; //# sourceMappingURL=graph-rag.d.ts.map