Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.praison.ai/llms.txt

Use this file to discover all available pages before exploring further.

MemoryPreset

Defined in the presets module.
Rust AI Agent SDK Memory preset configuration

Fields

NameTypeDescription
backendStringMemory backend type
optionsHashMap<StringAdditional configuration options
serde_json:Value>Additional configuration options

Methods

new

fn new(backend: impl Into<String>) -> Self
Create a new memory preset Parameters:
NameType
backendimpl Into&lt;String&gt;

option

fn option(mut self, key: impl Into<String>, value: impl Into<serde_json::Value>) -> Self
Add an option Parameters:
NameType
keyimpl Into&lt;String&gt;
valueimpl Into&lt;serde_json::Value&gt;

Source

View on GitHub

praisonai/src/presets.rs at line 33

Rust Memory

Rust Sessions

Rust Knowledge