format_chat_history {shiny.ollama}R Documentation

Convert chat history to downloadable format

Description

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)


[Package shiny.ollama version 0.1.1 Index]