Skip to main content

store_long_term

AsyncMethod
This is a method of the MemoryAdapter class in the memory module.
Store in long-term memory (optional)

Signature

async def store_long_term(
        &mut self,
        _text: &str,
        _metadata: Option<serde_json::Value>,
    ) -> Result<()>

Parameters

_text
&str
required
No description available.
_metadata
Option<serde_json::Value>
required
No description available.

Returns

Returns
Result<()>
The result of the operation.