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