Capture Insight • AI Agent SDK

capture_insight: Capture an observation or learning.

capture_insight

Method

</div>

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

Capture an observation or learning.

Signature

python
def capture_insight(content: str, source: str) -> Optional[Dict[str, Any]]

Parameters

ParamField str

No description available.

ParamField str

No description available.

Returns

ResponseField Optional[Dict[str, Any]]

The result of the operation.

Source

View on GitHub

praisonaiagents/memory/learn/protocols.py at line 223