UNPKG

@mastra/rag

Version:

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

13 lines 501 B
import type { z } from 'zod'; import type { BaseNode } from '../schema/index.js'; import { BaseExtractor } from './base.js'; import type { SchemaExtractArgs } from './types.js'; export declare class SchemaExtractor<T extends z.ZodType> extends BaseExtractor { private schema; private llm?; private instructions?; private metadataKey?; constructor(options: SchemaExtractArgs<T>); extract(nodes: BaseNode[]): Promise<Record<string, any>[]>; } //# sourceMappingURL=schema.d.ts.map