Appearance
<<EasyGPT>>.setApiKey()
The ChatGPT API requires the use of an API Key, you can get one from here.
Usage
js
instance.setApiKey('<YOUR API KEY>');
Parameters
PARAMETER | TYPE | Default | DESCRIPTION |
---|---|---|---|
API_KEY | String | N/A | OpenAI API KEY |
Returns
EasyGPT instance (<<EasyGPT>>)