Skip to main content

Memory

Defined in the memory module.
Rust AI Agent SDK Memory manager for agents

Fields

Methods

new

Create a new memory with the given adapter Parameters:

in_memory

Create a new in-memory memory Parameters:

default_memory

Create with default config

store

Store a message Parameters:

history

Get conversation history
Search memory Parameters:

clear

Clear memory

config

Get the config

Source

View on GitHub

praisonai/src/memory/mod.rs at line 151

Rust Memory

Rust Sessions

Rust Knowledge