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
β³
MemoriesManager
Table of contents
Constructors
Properties
Methods
Constructors
constructor
β’ new MemoriesManager(apiClient
): MemoriesManager
Constructs a new instance of BaseManager.
Parameters
apiClient
The JulepApiClient instance used for API interactions.
Returns
Inherited from
Defined in
Properties
apiClient
β’ apiClient: JulepApiClient
The JulepApiClient instance used for API interactions.
Inherited from
Defined in
Methods
list
βΈ list(Β«destructuredΒ»
): Promise
<Memory
[]>
Lists memories based on the provided parameters.
Parameters
Β«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
Last updated