官网地址: https://github.com/Significant-Gravitas/Auto-GPT

微信群

chatGPT群聊二维码.jpg

安装教程

  1. 检查git是否安装,执行:git -v 如果已安装,跳过2,3
  2. 安装brew:/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  3. 安装git:brew install git
  4. 检查python是否安装,执行:python3 -V 如果已安装,跳过5
  5. 进入 https://www.python.org/downloads/ ,下载并安装python
  6. 新建一个用于安装auto-gpt的文件夹。在终端中进入到新建的文件夹。
  7. 执行:git clone https://github.com/Torantulino/Auto-GPT.git
  8. 执行:cd Auto-GPT
  9. 执行:pip install -r requirements.txt
  10. 执行:cp .env.template .env
  11. 执行:open .env
  12. 在新打开的文件中,搜索OPENAI_API_KEY,把等号右边的内容,替换成你的 chatGPT API Key。 如何获取具体看下文
  13. 执行:python -m autogpt,大功告成

易出错点

如何获取 API Key

  1. 打开这个链接:https://platform.openai.com/account/billing/overview
  2. 点击Set up paid account按钮,然后在新弹出的窗口中,点击I'm an individual,然后会弹出一个输入信用卡的界面。
    点击Set up account按钮
  3. 输入你的信用卡信息,然后点击Set up payment method。如果你没有在这里可以使用的信用卡,可以进群联系群主。
    配置信用卡
  4. 配置完信用卡后,打开这个链接:https://platform.openai.com/account/api-keys
  5. 如下图所示,先点击Create new secret key,然后在弹窗中的输入框中,随便输入一个名字,例如autoGPT。然后点击Create secret key
    生成API key
  6. 创建成功后,点击右边的复制按钮,把API Key复制出来,然后替在.env文件中OPENAI_API_KEY等号右边的部分
    复制API key