1 Star 0 Fork 21

吃猫的鱼 / Auto-GPT-Chinese

forked from JARVIS / Auto-GPT-Chinese 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

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 git@github.com: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

加群讨论

MIT License Copyright (c) 2023 Toran Bruce Richards Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

可以返回中文的Auto-GPT。所有的代码还是Auto-GPT的 展开 收起
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/wangdong6635/auto-gpt-chinese.git
git@gitee.com:wangdong6635/auto-gpt-chinese.git
wangdong6635
auto-gpt-chinese
Auto-GPT-Chinese
stable-zh

搜索帮助

53164aa7 5694891 3bd8fe86 5694891