# default_get_input

> **Function** in `langchain_classic`

📖 [View in docs](https://reference.langchain.com/python/langchain-classic/retrievers/document_compressors/chain_filter/default_get_input)

Return the compression chain input.

## Signature

```python
default_get_input(
    query: str,
    doc: Document,
) -> dict[str, Any]
```

---

[View source on GitHub](https://github.com/langchain-ai/langchain/blob/f4bc5031dbcf24edb0374a07830915a285222567/libs/langchain/langchain_classic/retrievers/document_compressors/chain_filter.py#L30)