还在ChatGPT? 快来试试AUTO-GPT吧

439 阅读3分钟

图片

这两天,技术界热议一款令人震撼的应用Auto-GPT,它建立在最前沿的GPT-4语言模型上,是一个实验性的开源应用程序。仅仅在七天内,这个项目就火爆全网,获得了惊人的44,000个GitHub星,并吸引了开源社区的关注。

项目地址: https://github.com/Significant-Gravitas/Auto-GPT‍‍

官方介绍:

Auto-GPT is an experimental open-source application showcasing the capabilities of the GPT-4 language model. This program, driven by GPT-4, chains together LLM "thoughts", to autonomously achieve whatever goal you set. As one of the first examples of GPT-4 running fully autonomously, Auto-GPT pushes the boundaries of what is possible with AI

Auto-GPT是一个实验性的开源应用程序,展示了GPT-4语言模型的能力。该程序由GPT-4驱动,通过将LLM“思想”串联起来,自主地实现你设定的任何目标。作为GPT-4完全自主运行的首批案例之一,Auto-GPT突破了AI的可能性的边界。

蹭蹭热度,笔者也来试玩一下!

安装运行

运行过程也算简单,先安装Python必要lib,接着运行命令即可:

git clone https://github.com/Torantulino/Auto-GPT.git

cd 'Auto-GPT'

pip install -r requirements.txt

mv .env.template .env   # .env中填入openai api key

python -m autogpt

Demo

简单上手体验下:

首先,AutoGPT会让我们我们设置 AI 名字,角色,目标

图片

AI 名字:  JJLIN

角色:  编程语言专家

目标:  我想在一个月内学习Python,请告诉我该如何做


接着,进入手动交互模式 ,输入“Y” 与auto-gpt确认执行下一步

image.png

第一次Prompt

JJLIN THOUGHTS:  In order to create a personalized plan to help you learn Python in a month, I suggest we first focus on your goals for learning Python. What do you hope to accomplish by learning Python? Are you looking to develop applications or websites or are you just wanting to learn the syntax and basics of the language?

REASONING:  Understanding your goals for learning Python will help us focus on the most important concepts and tasks to prioritize in your learning process.

可以看到, AutoGPT先和我确认下是否理解了我的需求

第二次Prompt

REASONING:  By starting to set up the development environment while waiting for the user's response, we can save time in the beginning and accelerate the learning process.

PLAN:

  •  Prepare Visual Studio Code and Anaconda

  •  Walk the user through the setup

  •  Provide additional resources to supplement their learning as they get started with Python.

接着,AutoGPT开始帮我列出具体的PLAN:

  • 准备好开发环境
  • 提供额外的资源开始学习Python‍‍

重点来了,试试自动交互模式 ,输入“Y -10” 与Auto-gpt确认执行连续执行任务‍‍

GPT开始起飞

图片

可以看到Auto-gpt开始帮我们访问vscode等网页,下载工具,配置环境,并提供Python案例供我们学习,腻害!

写在最后

Auto-GPT是自主AI技术的一个飞跃,它利用OpenAI的GPT-4语言模型的力量,可以在各个领域执行广泛的任务,无需人工干预。这个创新的AI系统突破了可能性的界限,使用户能够从其无与伦比的按顺序执行任务、编写和调试代码的功能中受益。正如我们在本文所展示的那样,使用Auto-GPT很简单,并且这种突破性AI的潜在应用几乎是无限的。

原文关注"云原生SRE"