Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

ResolvedPromptCache.md

28 lines568 Bytes

1---
2id: ResolvedPromptCache
3title: ResolvedPromptCache
4---
5​
6Defined in: [packages/ai/src/types.ts:1276](https://github.com/TanStack/ai/blob/main/packages/ai/src/types.ts#L1276)
7​
8What chat() gives the adapter.
9​
10## Properties
11​
12### key?
13​
14```ts
15optional key?: string;
16```
17​
18Defined in: [packages/ai/src/types.ts:1278](https://github.com/TanStack/ai/blob/main/packages/ai/src/types.ts#L1278)
19​
20***
21​
22### retention
23​
24```ts
25retention: PromptCacheRetention;
26```
27​
28Defined in: [packages/ai/src/types.ts:1277](https://github.com/TanStack/ai/blob/main/packages/ai/src/types.ts#L1277)