Skip to main content

store

AsyncMethod
This is a method of the MemoryProtocol class in the protocols module.
Store a message in memory

Signature

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

Parameters

role
&str
required
No description available.
content
&str
required
No description available.

Returns

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