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.

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.