Skip to main content

get

Method
This is a method of the KnowledgeStoreProtocol class in the protocols module.
Get a specific item by ID.

Signature

Parameters

str
required
ID of the item to retrieve **kwargs: Backend-specific options

Returns

Optional[SearchResultItem]
SearchResultItem if found, None otherwise

Source

View on GitHub

praisonaiagents/knowledge/protocols.py at line 85