-
Notifications
You must be signed in to change notification settings - Fork 1
Gen AI Plugins
This page you'll find the configuration instructions and recipes for the chat-gpt, codeium, copilot (gen-ai etc) plugins.
To use ChatGPT plugin you'll need to create an account at OpenAI and create API Key to use the OpenAI API.
To create the api_key
follow the instructions API Keys.
Afterwards the api_key created, you must provide this api_key
to the jackMort/ChatGPT plugins, as explained here: ChatGPT.nvim#secrets-management.
This Neovim configuration uses 1Password
integration. If you don't want to use it, please change the api_key_cmd configuration as explained here: ChatGPT.nvim#secrets-management, otherwise follow the instructions bellow.
Create a secure note called open_ai
.
Add field api_key
with the value of the OpenAPI Developer site.
The default lua config is:
api_key_cmd = "op read op://private/open_ai/api_key --no-newline",
Warning: Pay attention to the secure note path
op://private
, if you create the note in some other vault, you need to adjust the api_key_cmd accordingly.
In order to get this configuration work, you'll need to integrate 1Password App with 1Password CLI, instructions 1Password Instructions.
Footer