Capture Pattern • AI Agent SDK

capture_pattern: Capture a reusable knowledge pattern.

capture_pattern

Method

</div>

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

Capture a reusable knowledge pattern.

Signature

python
def capture_pattern(pattern: str, pattern_type: 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 227