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
def capture_pattern(pattern: str, pattern_type: str) -> Optional[Dict[str, Any]]Parameters
ParamField
strNo description available.
ParamField
strNo description available.
Returns
ResponseField
Optional[Dict[str, Any]]The result of the operation.
Source
View on GitHubpraisonaiagents/memory/learn/protocols.py at line 227