diff options
Diffstat (limited to '')
| -rw-r--r-- | README.md | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -34,6 +34,10 @@ echo "YOUR_OPENAI_API_KEY" > ~/.config/openai.token # alternatively set it as an environment variable export OPENAI_API_KEY="YOUR_OPENAI_API_KEY" + +# or configure it with your organization id +echo "YOUR_OPENAI_API_KEY,YOUR_OPENAI_ORG_ID" > ~/.config/openai.token +export OPENAI_API_KEY="YOUR_OPENAI_API_KEY,YOUR_OPENAI_ORG_ID" ``` ### Using `vim-plug` @@ -212,7 +216,7 @@ Below are listed all available configuration options, along with their default v let g:vim_ai_complete = { \ "engine": "complete", \ "options": { -\ "model": "text-davinci-003", +\ "model": "gpt-3.5-turbo-instruct", \ "endpoint_url": "https://api.openai.com/v1/completions", \ "max_tokens": 1000, \ "temperature": 0.1, @@ -235,7 +239,7 @@ let g:vim_ai_complete = { let g:vim_ai_edit = { \ "engine": "complete", \ "options": { -\ "model": "text-davinci-003", +\ "model": "gpt-3.5-turbo-instruct", \ "endpoint_url": "https://api.openai.com/v1/completions", \ "max_tokens": 1000, \ "temperature": 0.1, |