Skip to main content

get_memory_context

Method
This is a method of the Agent class in the agent module.
Get memory context for the current conversation.

Signature

def get_memory_context(query: Optional[str]) -> str

Parameters

query
Optional
Optional query to focus the context

Returns

Returns
str
Formatted memory context string