delete • AI Agent SDK

delete: Delete an item by ID.

delete

Method

</div>

This is a method of the KnowledgeStoreProtocol class in the protocols module.

Delete an item by ID.

Signature

python
def delete(item_id: str) -> bool

Parameters

ParamField str

ID of the item to delete **kwargs: Backend-specific options

Returns

ResponseField bool

True if deleted, False otherwise

Used By

Source

View on GitHub

praisonaiagents/knowledge/protocols.py at line 145