Skip to content

Latest commit

 

History

History
71 lines (36 loc) · 1.28 KB

IDatabaseCacheAdapter.md

File metadata and controls

71 lines (36 loc) · 1.28 KB

@ai16z/eliza v0.1.5-alpha.3 / IDatabaseCacheAdapter

Interface: IDatabaseCacheAdapter

Methods

getCache()

getCache(params): Promise<string>

Parameters

params

params.agentId: `${string}-${string}-${string}-${string}-${string}`

params.key: string

Returns

Promise<string>

Defined in

packages/core/src/types.ts:890


setCache()

setCache(params): Promise<boolean>

Parameters

params

params.agentId: `${string}-${string}-${string}-${string}-${string}`

params.key: string

params.value: string

Returns

Promise<boolean>

Defined in

packages/core/src/types.ts:895


deleteCache()

deleteCache(params): Promise<boolean>

Parameters

params

params.agentId: `${string}-${string}-${string}-${string}-${string}`

params.key: string

Returns

Promise<boolean>

Defined in

packages/core/src/types.ts:901