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<Record<string, any>>;
}

Hierarchy

  • BaseRetrieverInput
    • ContextualCompressionRetrieverArgs

Properties

baseCompressor: BaseDocumentCompressor
baseRetriever: BaseRetrieverInterface<Record<string, any>>

Generated using TypeDoc