Optional
childDocumentRetriever?: BaseMessage<BaseMessage>A custom retriever to use when retrieving instead of
the .similaritySearch
method of the vectorstore.
Optional
documentCompressor?: BaseDocumentCompressorOptional
documentCompressorFilteringFn?: (docs: SubDocs) => SubDocsOptional
parentSplitter?: BaseMessage
Interface for the fields required to initialize a ParentDocumentRetriever instance.