update • AI Agent SDK
update: Update an existing item.
update
Method
</div>
This is a method of the KnowledgeStoreProtocol class in the protocols module.
Update an existing item.
Signature
def update(item_id: str, content: Any) -> AddResultParameters
ParamField
strID of the item to update
ParamField
AnyNew content **kwargs: Backend-specific options
Returns
ResponseField
AddResultAddResult with operation status
Source
View on GitHubpraisonaiagents/knowledge/protocols.py at line 126