# default_get_input

> **Function** in `langchain_classic`

📖 [View in docs](https://reference.langchain.com/python/langchain-classic/retrievers/document_compressors/chain_extract/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/185119f98e6286253a2326d7cf4f59592678023d/libs/langchain/langchain_classic/retrievers/document_compressors/chain_extract.py#L23)