summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorDuy Lam <duylamphuong@gmail.com>2023-09-09 22:13:42 +0700
committerDuy Lam <duylamphuong@gmail.com>2023-09-09 22:13:42 +0700
commitbca7ca15bdb82a0b32f11d44b44cf1ba42c68869 (patch)
tree0e029702da5a4b07636bedf906f660e59806b819 /README.md
parent924e3a390f043e979f16113f6b0a55f8c54b1f5e (diff)
downloadvim-ai-bca7ca15bdb82a0b32f11d44b44cf1ba42c68869.tar.gz
Include OpenAI Org ID from the token config
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/README.md b/README.md
index 1ff7973..326d70c 100644
--- a/README.md
+++ b/README.md
@@ -32,8 +32,14 @@ You only share and pay for what you specifically select, for prompts and chat co
# save api key to `~/.config/openai.token` file
echo "YOUR_OPENAI_API_KEY" > ~/.config/openai.token
+# or save api key and org id to `~/.config/openai.token` file
+#echo "YOUR_OPENAI_API_KEY,YOUR_OPENAI_ORG_ID" > ~/.config/openai.token
+
# alternatively set it as an environment variable
export OPENAI_API_KEY="YOUR_OPENAI_API_KEY"
+
+# or set with org id
+#export OPENAI_API_KEY="YOUR_OPENAI_API_KEY,YOUR_OPENAI_ORG_ID"
```
### Using `vim-plug`