Variable: defaultRenderThirdPartyPublicRetrievables
ts
const defaultRenderThirdPartyPublicRetrievables: (
items: Iterable<{
attrs: RetrievableAttrs;
retrievable: Retrievable;
}>,
deps: {
renderUntrustedContent: (
content: string,
attrs: UntrustedContentAttrs,
) => string;
},
) => Promise<string> = renderThirdPartyPublicRetrievables;Defined in: batteries/llm/chat_common/helpers.ts:325
Default third-party-public retrievables renderer; alias of renderThirdPartyPublicRetrievables.
Implements ChatHelpersCommon.renderThirdPartyPublicRetrievables.
Parameters
| Parameter | Type |
|---|---|
items | Iterable<{ attrs: RetrievableAttrs; retrievable: Retrievable; }> |
deps | { renderUntrustedContent: (content: string, attrs: UntrustedContentAttrs) => string; } |
deps.renderUntrustedContent | (content: string, attrs: UntrustedContentAttrs) => string |
Returns
Promise<string>