llamaindexfunctionsFunction: messagesToHistoryStr()Nessa páginaFunction: messagesToHistoryStr() messagesToHistoryStr(messages): string Parameters • messages: ChatMessage[] Returns string Source packages/llamaindex/src/Prompt.ts:361