default_get_input#
- langchain.retrievers.document_compressors.chain_extract.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]
Site Navigation
Section Navigation
agents
callbacks
chains
chat_models
embeddings
evaluation
globals
hub
indexes
memory
model_laboratory
output_parsers
retrievers
runnables
smith
storage
retrievers
Return the compression chain input.
query (str)
doc (Document)
Dict[str, Any]