Skip to contents

Convert chat history to downloadable format

Usage

format_chat_history(messages, format = c("HTML", "CSV"))

Arguments

messages

List of chat messages

format

Character string specifying format ("HTML" or "CSV")

Value

Formatted chat history as a character string (HTML) or a data frame (CSV)