---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/llm/openai_chat_completions/helpers/functions/renderThirdPartyPrivateRetrievables.md
---

# Function: renderThirdPartyPrivateRetrievables()

```ts
function renderThirdPartyPrivateRetrievables(
  items: Iterable<{
    attrs: RetrievableAttrs;
    retrievable: Retrievable;
  }>,
  deps: {
    renderUntrustedContent: (
      content: string,
      attrs: UntrustedContentAttrs,
    ) => string;
  },
): Promise<string>;
```

Defined in: [batteries/llm/openai\_chat\_completions/helpers.ts:333](https://github.com/NHTIO/ADK/blob/v1.20260605.0/src/batteries/llm/openai_chat_completions/helpers.ts#L333)

## Parameters

| Parameter                     | Type                                                                                                                                                                         |
| ----------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `items`                       | `Iterable`<{ `attrs`: [`RetrievableAttrs`](../../types/interfaces/RetrievableAttrs.md); `retrievable`: [`Retrievable`](../../../../../common/classes/Retrievable.md); }> |
| `deps`                        | { `renderUntrustedContent`: (`content`: `string`, `attrs`: [`UntrustedContentAttrs`](../../types/interfaces/UntrustedContentAttrs.md)) => `string`; }                      |
| `deps.renderUntrustedContent` | (`content`: `string`, `attrs`: [`UntrustedContentAttrs`](../../types/interfaces/UntrustedContentAttrs.md)) => `string`                                                       |

## Returns

`Promise`<`string`>
