clear_chatlog: Clear a chat log

View source: R/clear_chatlog.R

clear_chatlogR Documentation

Clear a chat log

Description

This function clears a chat log, leaving only the initial (system) message.

Usage

clear_chatlog(chatlog_id = ".__CURRENTCHAT__")

Arguments

chatlog_id

character string indicating the name of the chat log to clear. Default is ".__CURRENTCHAT__".

Value

This function does not return anything.

Author(s)

Ulrich Matter umatter@protonmail.com

Examples

## Not run: 
# Clear the current chat log
clear_chatlog()

## End(Not run)

TheOpenAIR documentation built on April 27, 2023, 5:10 p.m.