Type Alias ParentDocumentRetrieverFields
ParentDocumentRetrieverFields: { byteStore?: undefined | BaseStore<string, Uint8Array>; callbacks?: undefined | Callbacks; childDocumentRetriever?: undefined | VectorStoreRetrieverInterface<VectorStoreInterface>; childK?: undefined | number; childSplitter: TextSplitter; docstore?: undefined | BaseStoreInterface<string, Document<Record<string, any>>>; documentCompressor?: undefined | BaseDocumentCompressor; documentCompressorFilteringFn?: undefined | ((docs: SubDocs) => SubDocs); idKey?: undefined | string; metadata?: undefined | Record<string, unknown>; parentK?: undefined | number; parentSplitter?: undefined | TextSplitter; tags?: undefined | string[]; vectorstore: VectorStoreInterface; verbose?: undefined | boolean; } Type declaration
Optional
byteStore?: undefined | BaseStore<string, Uint8Array>
Optional
callbacks?: undefined | Callbacks
Optional
childDocumentRetriever?: undefined | VectorStoreRetrieverInterface<VectorStoreInterface>
Optional
childK?: undefined | number
Optional
docstore?: undefined | BaseStoreInterface<string, Document<Record<string, any>>>
Optional
documentCompressorFilteringFn?: undefined | ((docs: SubDocs) => SubDocs)
Optional
idKey?: undefined | string
Optional
metadata?: undefined | Record<string, unknown>
Optional
parentK?: undefined | number
Optional
parentSplitter?: undefined | TextSplitter
Optional
tags?: undefined | string[]
vectorstore: VectorStoreInterface
Optional
verbose?: undefined | boolean
Interface for the fields required to initialize a ParentDocumentRetriever instance.