AutoGPT environment construction tutorial


insert image description here

foreword

AutoGPT is an AI-powered application that leverages the power of LLMs like GPT-4 to create and process jobs autonomously. By using Auto GPT, organizations and individuals can streamline processes such as report authoring, content creation, and data analysis to save time and reduce errors. So today I will leave it to everyone to build AutoGpt.
Originally from Kuan Author: Just got off the plane, email: [email protected]


1. Register the accounts of OpenAI and Pinecone and obtain the key

1. Enter the openai official website to register without brain, and then copy the key to the local backup.
insert image description here

2. Enter the official website of Pinecone, register without thinking, wait for a few days after the review, copy the key and environment to the local backup
insert image description here

2. Download Git and Python3 (search online by yourself, install without brain)insert image description here

insert image description here

3. Enter GitHub and install AutoGPT locally

After AutoGpt
enters, copy the link in the red box:
insert image description here

2. Open cmd and enter git clone {the link just copied} to install:

注意:autogpt会自动安装到cmd进入的目录下

insert image description here

3. After the installation is complete, enter the directory Auto-GPT\autogpt, and open the terminal inside:
insert image description here
4. Enter the following content and wait for the update to complete:
insert image description here

4. Overwrite the key in the env.template file

1. Open the .env.template file in the Auto-GPT directory with Notepad.
2. Overwrite the yellow box with the key and env saved in the first step.

注意:openai没有env,只需配置key即可,但pinecone需要配置env

insert image description here

insert image description here
2. Save the file and modify the file name.env.template to .env

5. Open the terminal under the directory in the yellow box, and enter python -m autogpt to open the game

insert image description here

Guess you like

Origin blog.csdn.net/Ruiren_/article/details/130272769