这在我的NodeJS项目.env中发现了比3-4个变量多得多的变量,比如JAVA_HOME, Catalina _HOME,USER,DE...
确保.env文件位于根目录下。此外,在创建或更改. env文件后,必须重新启动服务器。
So, working on Ubuntu 14, I changed my OPENAI_API_KEY and put my change into my NodeJS project .env file. Previously everything worked well. But now openai API responded with bad key error. So it turned out that my program was sending it the previous API key, despite I changed it ...
Set an environment variable called `OPENAI_API_KEY` with your API key. Alternatively, in most IDEs such as Visual Studio Code, you can create an `.env` file at the root of your repo containing `OPENAI_API_KEY=<your API key>`, which will be picked up by the notebooks. Most code ex...
OPENAI_API_KEY=CHANGE_ME 2 changes: 2 additions & 0 deletions 2 README.md Original file line numberDiff line numberDiff line change @@ -31,6 +31,8 @@ pip install megaparse ## Usage Add your OpenAI API key to the .env file ```python from megaparse import MegaParse 0 comments ...
字符串 这在我的NodeJS项目.env中发现了比3-4个变量多得多的变量,比如JAVA_HOME, Catalina _HOME,...
确保.env文件位于根目录下。此外,在创建或更改. env文件后,必须重新启动服务器。