@elizaos/core v1.0.0-beta.7 / getMemoryText
Function: getMemoryText()
getMemoryText(
memory
,defaultValue
):string
Safely access the text content of a memory
Parameters
• memory: Memory
The memory to extract text from
• defaultValue: string
= ''
Optional default value if no text is found
Returns
string
The text content or default value