llamaindexfunctionsFunction: messagesToHistoryStr()このページの見出しFunction: messagesToHistoryStr() messagesToHistoryStr(messages): string Parameters • messages: ChatMessage[] Returns string Source packages/llamaindex/src/Prompt.ts:361