# 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/c2f4036e4c6ca45a8da8a42d8e07a25d2ea48b8f/libs/langchain/langchain_classic/retrievers/document_compressors/chain_filter.py#L30)