store • Rust AI Agent SDK

store: Store a message in memory

store

Async

Method

</div>

This is a method of the MemoryProtocol class in the protocols module.

Store a message in memory

Signature

python
async def store(&mut self, role: &str, content: &str) -> Result<()>

Parameters

ParamField &str

No description available.

ParamField &str

No description available.