Interface for the arguments required to construct a ContextualCompressionRetriever. It extends the BaseRetrieverInput interface with two additional fields: baseCompressor and baseRetriever.

interface ContextualCompressionRetrieverArgs {
    baseCompressor: BaseDocumentCompressor;
    baseRetriever: BaseRetrieverInterface;
}

Hierarchy (view full)

  • Toolkit
    • ContextualCompressionRetrieverArgs

Properties

baseCompressor: BaseDocumentCompressor
baseRetriever: BaseRetrieverInterface

Generated using TypeDoc