Giter Club home page Giter Club logo

auto-gpt-chinese's Introduction

Auto-GPT-Chinese

项目的所有代码都是Auto-GPT的。这是修改了提示词为中文,让他查询google的时候可以查询中文网站的信息

此项目的代码和每天与Auto-GPT的【stable】分支同步,合并时间2023-05-08 00:21。release:【Auto-GPT v0.3.0】

在此:先感谢Auto-GPT 项目的作者和团队

注意事项

1、必须使用python3.10及以上的版本。如果是conda环境。请查看下面的conda使用方式

pip3.10 install -i https://pypi.tuna.tsinghua.edu.cn/simple -r requirements.txt

2、替换【requirements.txt】中的内容

en_core_web_sm @ file:///Volumes/work/PycharmProjects/Auto-GPT/localPackage/en_core_web_sm-3.5.0-py3-none-any.whl

# 替换为
en_core_web_sm @ file:///您的项目绝对路径/Auto-GPT/localPackage/en_core_web_sm-3.5.0-py3-none-any.whl

使用方式

python3.10 -m autogpt --debug --gpt3only

更多的用法,请查看Auto-GPT的【stable】分支 的介绍

错误集

1、assertion failed: encoder.len() == decoder.len()

这个错误,我的解决办法是,手动安装【tiktoken】库。我本地安装就解决了。

安装步骤

  • 1、下载tiktoken
 git clone [email protected]:openai/tiktoken.git
  • 2、先安装conda。并且【Auto-GTP】也需要在conda环境中执行。
  • 3、conda 创建环境,其他命令
conda create -n Auto-GPT python=3.11
  • 4、切换conda环境
conda deactivate
conda activate Auto-GPT
  • 5、安装tiktoken
pip install setuptools_rust
python setup.py build && python setup.py install && python setup.py develop -i https://mirrors.aliyun.com/pypi/simple/

中文响应的效果

设置名字角色目标

第一次ChatGPT的返回

chatGPT返回,下一个命令使用Google搜索

Google搜索返回的内容

完整的返回内容

我特意保存了一份所有的日志记录,完整的内容请查看chatGPTResponse2.text文件。

不要魔法使用ChatGPT

加群讨论

auto-gpt-chinese's People

Contributors

torantulino avatar richbeales avatar billschumacher avatar waynehamadi avatar pwuts avatar andrescdo avatar sadmuphin avatar maiko avatar p-i- avatar drikusroor avatar collijk avatar ntindle avatar wladastic avatar coditamar avatar fushun1990 avatar swiftyos avatar sweetlilmre avatar csolar avatar tymec avatar cs0lar avatar taytay avatar alrikolson avatar edcohen08 avatar slowly-grokking avatar rihp avatar fabricehong avatar omrigm avatar kinance avatar meta-fx avatar k-boikov avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.