Function: formatLore
▸ formatLore(lore
): string
Formats an array of lore entries into a single string. Each entry is separated by a newline, and sources are annotated.
Parameters
Name | Type | Description |
---|---|---|
lore | Memory [] | An array of lore entries to format. |
Returns
string
A formatted string containing all the lore entries, each separated by a newline, with sources annotated.