@mastra/rag
Version:
The Retrieval-Augmented Generation (RAG) module contains document processing and embedding utilities.
12 lines • 521 B
TypeScript
import { z } from 'zod';
import type { RagTool } from '../utils/index.js';
import type { VectorQueryToolOptions } from './types.js';
export declare const createVectorQueryTool: (options: VectorQueryToolOptions) => 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=vector-query.d.ts.map