---
url: 'https://adk.nht.io/api/@nhtio/adk/batteries/functions/renderMemories.md'
---

# Function: renderMemories()

```ts
function renderMemories(
  items: Iterable<{
    attrs: MemoryAttrs;
    memory: Memory;
  }>,
): string;
```

Defined in: [batteries/llm/chat\_common/helpers.ts:239](https://github.com/NHTIO/ADK/blob/v1.20260609.0/src/batteries/llm/chat_common/helpers.ts#L239)

Implements [ChatHelpersCommon.renderMemories](../llm/ollama/interfaces/ChatHelpersCommon.md#property-rendermemories).

## Parameters

| Parameter | Type                                                                                                                              |
| --------- | --------------------------------------------------------------------------------------------------------------------------------- |
| `items`   | `Iterable`<{ `attrs`: [`MemoryAttrs`](../interfaces/MemoryAttrs.md); `memory`: [`Memory`](../../common/classes/Memory.md); }> |

## Returns

`string`
