UNPKG

@mastra/rag

Version:

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

26 lines 815 B
import { z } from 'zod'; import type { RagTool } from '../utils'; import type { VectorQueryToolOptions } from './types'; export declare const createVectorQueryTool: (options: VectorQueryToolOptions) => RagTool<z.ZodObject<{ filter: z.ZodString; queryText: z.ZodString; topK: z.ZodNumber; }, "strip", z.ZodTypeAny, { filter: string; topK: number; queryText: string; }, { filter: string; topK: number; queryText: string; }> | z.ZodObject<{ queryText: z.ZodString; topK: z.ZodNumber; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ queryText: z.ZodString; topK: z.ZodNumber; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ queryText: z.ZodString; topK: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>, any>; //# sourceMappingURL=vector-query.d.ts.map