langchain.js
    Preparing search index...

    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 Summary)

    Index

    Properties

    baseCompressor: BaseDocumentCompressor
    baseRetriever: BaseRetrieverInterface