Memory

@julep/sdk / Modules / managers/memory / MemoriesManager

Class: MemoriesManager

managers/memory.MemoriesManager

BaseManager serves as the base class for all manager classes that interact with the Julep API. It provides common functionality needed for API interactions.

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new MemoriesManager(apiClient): MemoriesManager

Constructs a new instance of BaseManager.

Parameters

NameTypeDescription

apiClient

The JulepApiClient instance used for API interactions.

Returns

MemoriesManager

Inherited from

BaseManager.constructor

Defined in

src/managers/base.ts:12

Properties

apiClient

apiClient: JulepApiClient

The JulepApiClient instance used for API interactions.

Inherited from

BaseManager.apiClient

Defined in

src/managers/base.ts:12

Methods

list

list(«destructured»): Promise<Memory[]>

Lists memories based on the provided parameters.

Parameters

NameTypeDefault value

«destructured»

Object

undefined

agentId

string

undefined

limit?

number

100

offset?

number

0

query

string

undefined

userId?

string

undefined

Returns

Promise<Memory[]>

A promise that resolves to an array of Memory objects.

Defined in

src/managers/memory.ts:21

Last updated