AutoGPT Chinese version, nanny level detailed installation tutorial - MacOS articles

ChatGPT has been soaring for 160 days, and the world is no longer what it used to be.

A new artificial intelligence Chinese website https://tmqcjr.com
will update the available chatGPT resources available in China every day


First, let's briefly introduce AutoGPT. Simply put, AutoGPT is equivalent to giving a GPT-based model a memory and a body. With it, you can give a task to the AI ​​intelligence, let it autonomously propose a plan, and then execute the plan. In addition, it can connect to the Internet, long-term and short-term memory management, GPT-4 instance for text generation, and use GPT-3.5 for file storage and summary generation. AutoGPT can be used for many purposes, such as analyzing the market and proposing trading strategies, providing customer service, conducting marketing, and other tasks that require continuous updating.

Why AutoGPT is so popular: the whole process does not require human intervention!

AutoGPT is taking the internet by storm, it's everywhere. Soon, some netizens started experimenting. The user asked AutoGPT to build a website, and AutoGPT succeeded in less than 3 minutes. During this period, AutoGPT used React and Tailwind CSS, all by itself, without human intervention.

First of all, I would like to thank the great god @Hossie for the localization and open source of AutoGPT. The youtube channel and GitHub project address of the great god are attached below.

     

Now let’s get to the point. First of all, if you want to install AutoGPT, you need to meet the following conditions.

  • A computer or a server (required)
  • Scientific Internet environment (required)
  • Git (required)
  • Python 3.10 and above (required)
  • GitHub account and access rights (required)
  • ChatGPT API interface permission version 3.5, if there is 4 better (required)
  • Pinecone API interface permissions (optional)
  • Google search API interface permission (optional)
  • Eleven Labs voice interface (optional)
  • HuggingFace image generation interface (optional)

All API interface applications and usage methods mentioned above can be directly accessed by clicking the button below.

After meeting the above prerequisites, you can read below!

MacOS articles

1. Operating environment preparation

  1. Generally, Mac computers will automatically install Git during use. It is very convenient to check whether Git is installed on a MAC computer. You only need to open the terminal and enter git and press Enter. If it is installed, it will prompt the version number. If it is not installed, the installation window will pop up directly, and you can install it.
    git

  • Download and install Python. After the installation is complete, open the terminal and enter python3. If the version number appears, the installation is successful.
    python3

  • Download and install VSCode

2. Clone the Auto-GPT-Chinese project to the local

  1. Open "Terminal" and run the following command directly
    git clone https://github.com/RealHossie/Auto-GPT-Chinese.git

  2. Enter the command below to enter the Auto-GPT-Chinese folder
    cd Auto-GPT-Chinese

  3. Enter the following command to install all required dependencies, please wait patiently for a long time (the proxy is enabled globally to avoid download interruption).
    pip install -r requirements.txt

  4. When a large piece of English appears, it means that the installation is complete.

3. Configure the .env file

  1. Open the Finder and find the Auto-GPT-Chinese folder. The path is as follows  /Users/你的电脑名/Auto-GPT-Chinese
  2. Press the shortcut key command+shift+.  to show hidden files

  3. Run VSCode, click to open

  4. Select the Auto-GPT-Chinese folder

  5. Find the ".env.template" file on the left, right click and rename it to ".env"

  6. Then find on the right OPENAI_API_KEY=  and fill in your ChatGPT API keys (see the top of this post for details)

  7. save document

  8. Double-click "main.py" on the left, and then click the run button in the upper right corner

  9. Then click the upward arrow in the lower right corner to enlarge the terminal interface

  10. Enter the following code to run the Chinese version of Auto-GPT
    python -m autogpt --gpt3only


ChatGPT has been soaring for 160 days, and the world is no longer what it used to be.

A new artificial intelligence Chinese website https://tmqcjr.com
will update the available chatGPT resources available in China every day

Guess you like

Origin blog.csdn.net/zyqytsoft/article/details/131013860