Read chat history from a file
Usage
read_history(file_name = "chat_history", local)
Arguments
- file_name
Name of the chat history file to read from. Default is
"chat_history".
- local
Whether to read from history made with local or OpenAI
embeddings.
Value
A dataframe containing the chat history or NULL if the file doesn't
exist.
Examples
if (FALSE) {
# Read chat history from the default file
history <- read_history()
}