To enable the plugin:
- Press
ctrl + shift + p
orcmd + shift + p
. - Type in
Enable nccc
.
To disable the plugin:
- Press
ctrl + shift + p
orcmd + shift + p
. - Type in
Disable nccc
.
To set the arguments:
- Press
ctrl + shift + p
orcmd + shift + p
. - Type in
Preferences: Open Settings (UI)
orPreferences: Open User Settings (JSON)
. - Search for
nccc
. - Modify settings you are interested in.
All the arguments are listed below:
nccc.server
: The server running the model. default: "http://127.0.0.1:5000"nccc.debounce
: The inter-trigger time(in ms) to wait between completion requests. default: 1500nccc.maxLength
: The maximium length of generation. default: 200nccc.topK
: The top_k used in generation. default: 10nccc.topP
: The top_p used in generation. default: 0.95nccc.temperature
: The temperature used in generation. default: 0.1nccc.contextLineCount
: The lines to consider(i.e. pass to the model) when requesting completion. default: 5