Skip to content
On this page

Class EasyGPT

All of easyGPT's functionality is defined within the EasyGPT class.

Usage

You can construct an instance of EasyGPT using this syntax.

js
    const gpt = new EasyGPT();

Parameters

PARAMETERTYPEDefaultDESCRIPTION
saveContextBooleanTrueEnable/disable the storing of messages,
rules, and answers.

View Example