Type Alias ParentDocumentRetrieverFields
ParentDocumentRetrieverFields: { byteStore?: undefined | BaseStore<string, Uint8Array<ArrayBufferLike>>; 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
OptionalbyteStore?: undefined | BaseStore<string, Uint8Array<ArrayBufferLike>>
Optionalcallbacks?: undefined | Callbacks
OptionalchildDocumentRetriever?: undefined | VectorStoreRetrieverInterface<VectorStoreInterface>
OptionalchildK?: undefined | number
Optionaldocstore?: undefined | BaseStoreInterface<string, Document<Record<string, any>>>
OptionaldocumentCompressorFilteringFn?: undefined | ((docs: SubDocs) => SubDocs)
OptionalidKey?: undefined | string
Optionalmetadata?: undefined | Record<string, unknown>
OptionalparentK?: undefined | number
OptionalparentSplitter?: undefined | TextSplitter
Optionaltags?: undefined | string[]
vectorstore: VectorStoreInterface
Optionalverbose?: undefined | boolean
Interface for the fields required to initialize a ParentDocumentRetriever instance.