get • AI Agent SDK
get: Get a specific item by ID.
get
Method
</div>
This is a method of the KnowledgeStoreProtocol class in the protocols module.
Get a specific item by ID.
Signature
def get(item_id: str) -> Optional[SearchResultItem]Parameters
ParamField
strID of the item to retrieve **kwargs: Backend-specific options
Returns
ResponseField
Optional[SearchResultItem]SearchResultItem if found, None otherwise
Source
View on GitHubpraisonaiagents/knowledge/protocols.py at line 85