Update README.md clarifying the .env.template step

pull/1794/head
John 2023-04-16 01:05:51 -04:00 committed by GitHub
parent 765166e807
commit b64a4881d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 1 deletions

View File

@ -115,7 +115,16 @@ cd Auto-GPT
pip install -r requirements.txt pip install -r requirements.txt
``` ```
5. Rename `.env.template` to `.env` and fill in your `OPENAI_API_KEY`. If you plan to use Speech Mode, fill in your `ELEVENLABS_API_KEY` as well. 5. Locate the file named '.env.template' in the 'Auto-GPT' folder.
Open the ".env.template" file in a text editor.
Find the line that says "OPENAI_API_KEY=".
After the "=", enter your unique OpenAI API Key (without any quotes or spaces).
Enter any other API keys or Tokens for services you would like to utilize.
Rename this file to ".env" by removing the ".template" extension.
Use the 'Save as..' option and chose 'No Extension' from the 'Save as type:' dropdown menu below the file name.
Save and close the ".env" file.
By completing these steps, you have properly configured the API Keys for your project.
- See [OpenAI API Keys Configuration](#openai-api-keys-configuration) to obtain your OpenAI API key. - See [OpenAI API Keys Configuration](#openai-api-keys-configuration) to obtain your OpenAI API key.
- Obtain your ElevenLabs API key from: https://elevenlabs.io. You can view your xi-api-key using the "Profile" tab on the website. - Obtain your ElevenLabs API key from: https://elevenlabs.io. You can view your xi-api-key using the "Profile" tab on the website.
- If you want to use GPT on an Azure instance, set `USE_AZURE` to `True` and then follow these steps: - If you want to use GPT on an Azure instance, set `USE_AZURE` to `True` and then follow these steps: