Get Learn Context • AI Agent SDK
get_learn_context: Get learning context suitable for injection into system prompt.
get_learn_context
Method
</div>
Get learning context suitable for injection into system prompt.
Returns empty string if learn is not enabled.
Signature
def get_learn_context() -> strReturns
ResponseField
strThe result of the operation.
Uses
to_system_prompt_context
Used By
Source
View on GitHubpraisonaiagents/memory/memory.py at line 2517