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

python
def update(item_id: str, content: Any) -> AddResult

Parameters

ParamField str

ID of the item to update

ParamField Any

New content **kwargs: Backend-specific options

Returns

ResponseField AddResult

AddResult with operation status

Source

View on GitHub

praisonaiagents/knowledge/protocols.py at line 126