> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ag2.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# autogen.agentchat.contrib.capabilities.transforms_util.cache_content_get

<code class="doc-symbol doc-symbol-heading doc-symbol-function" />

#### cache\_content\_get

```python theme={null}
cache_content_get(cache: AbstractCache | None, key: str) -> tuple[str | list[dict[str, Any] | str] | None, ...] | None
```

Retrieves cached content from the cache.<br />

<b>Parameters:</b>

| Name    | Description                                                                                                                                                                     |
| ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `cache` | The cache to retrieve the content from.<br /><br />If None, the cache is ignored.<br /><br />**Type:** [AbstractCache](/docs/api-reference/autogen/cache/AbstractCache) \| None |
| `key`   | The key to retrieve the content from.<br /><br />**Type:** str                                                                                                                  |

<br />
