add • AI Agent SDK

add: Add content to the knowledge store.

add

Method

</div>

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

Add content to the knowledge store.

Signature

python
def add(content: Any) -> AddResult

Parameters

ParamField Any

Content to add (string, file path, or structured data)

Returns

ResponseField AddResult

AddResult with operation status

Used By

Source

View on GitHub

praisonaiagents/knowledge/protocols.py at line 59