langchain.retrievers.document_compressors.chain_filter.default_get_input¶

langchain.retrievers.document_compressors.chain_filter.default_get_input(query: str, doc: Document) Dict[str, Any][source]¶

Return the compression chain input.

Parameters
  • query (str) –

  • doc (Document) –

Return type

Dict[str, Any]