Skip to contents

This function interactively deletes chat history files stored in the user's directory. It lists all the .parquet files in the gpttools data directory and prompts the user for confirmation before deleting each file.

Usage

delete_history(local = FALSE)

Arguments

local

Whether to delete history made with local or OpenAI embeddings.

Examples

if (FALSE) {
# Interactively delete chat history files
delete_history()
}