add • Rust AI Agent SDK
add: Add content to the store
add
Async
Method
</div>
This is a method of the KnowledgeStoreProtocol class in the knowledge module.
Add content to the store
Signature
async def add(
&mut self,
content: &str,
user_id: Option<&str>,
agent_id: Option<&str>,
metadata: Option<HashMap<String, String>>,
) -> Result<AddResult>Parameters
ParamField
&strNo description available.
ParamField
Option<&str>No description available.
ParamField
Option<&str>No description available.
ParamField
Option<HashMap<StringNo description available.