reset_chat_session {chatgpt}R Documentation

Reset Chat Session

Description

This function is intended to be used with 'ask_chatgpt'. If we are using 'ask_chatgpt' to chat with ChatGPT, and we want to start a new conversation, we must call 'reset_chat_session'.

Usage

reset_chat_session(system_role = "You are a helpful assistant.")

Arguments

system_role

ChatGPT's role as an AI assistant.


[Package chatgpt version 0.2.3 Index]