Capture Persona • AI Agent SDK

capture_persona: Capture user preference or profile information.

capture_persona

Method

</div>

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

Capture user preference or profile information.

Signature

python
def capture_persona(content: str, category: 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 219