ParentDocumentRetrieverFields: MultiVectorRetrieverInput & {
    childSplitter: TextSplitter;
    childDocumentRetriever?: Toolkit<Toolkit>;
    parentSplitter?: TextSplitter;
}

Interface for the fields required to initialize a ParentDocumentRetriever instance.

Type declaration

  • childSplitter: TextSplitter
  • Optional childDocumentRetriever?: Toolkit<Toolkit>

    A custom retriever to use when retrieving instead of the .similaritySearch method of the vectorstore.

  • Optional parentSplitter?: TextSplitter

Generated using TypeDoc