Krazal / nppopenai

OpenAI (aka. ChatGPT) plugin for Notepad++
GNU General Public License v2.0
58 stars 15 forks source link

More explaination for is_chat and keep_question? #27

Closed chigkim closed 2 months ago

chigkim commented 3 months ago

Could you describe what those config options are? Does is_chat=0 use legacy completion api and 1 use chat completion api? Does keep_question=1 include all the previous questions and answers in prompt as context and 0 only send last question to api?

Krazal commented 3 months ago

Sorry for the late reply!

The is_chat setting is an option for future releases to use chat (add earlier messages to the current question, see e.g. here). This is currently not in use.

The keep_question setting stores the state of the Plugins » NppOpenAI » Keep my question menu option.

It's not recommended to directly edit the configs under the [PLUGIN] section, as they may be overwritten by the plugin. I hope, I can make a user friendly UI for the plugin soon (and create a working chat). ^^'

Krazal commented 2 months ago

Hi!

The chat feature has been released, and available in the latest release.

I hope you find it useful!