Extracts and formats memory content into a system prompt
Array of Memory objects from mem0ai
Formatted system prompt string
Extracts and formats memory content into a system prompt