zhayujie / chatgpt-on-wechat

基于大模型搭建的聊天机器人,同时支持 微信公众号、企业微信应用、飞书、钉钉 等接入,可选择GPT3.5/GPT-4o/GPT-o1/ Claude/文心一言/讯飞星火/通义千问/ Gemini/GLM-4/Claude/Kimi/LinkAI,能处理文本、语音和图片,访问操作系统和互联网,支持基于自有知识库进行定制企业智能客服。
https://docs.link-ai.tech/cow
MIT License
29.84k stars 7.88k forks source link

tool插件 有关的一切都在这个文档里 #776

Open goldfishh opened 1 year ago

goldfishh commented 1 year ago

Note: tool-hub 自0.4.4版本后将处于维护状态,新工具新特性的开发将放缓,如有问题请提issue或pr

介绍

tool插件给予chatgpt使用工具的能力,你能用它来做些chatgpt之前做不到的事情

tool插件有4个开箱即用的工具:terminal、python、url-get、meteo-weather,具体工具介绍见:tool readme

安装

本插件依赖chatgpt-on-wechat的“拓展依赖”,你需要确保执行命令: pip3 install -r requirements-optional.txt 并且没有报错

验证 执行: pip list | grep chatgpt-tool-hub 显示tool-hub具体安装版本

使用说明

#plist 检查是否加载tool 插件 如没有tool,排查是否有依赖没有安装上

#help tool: 获取当前加载的工具列表。

默认你已经触发bot回复条件

$tool 命令: 根据给出的命令使用一些可用工具尽力为你得到结果。 $tool reset: 重置工具。

常见问题

freeze-1 commented 2 weeks ago

您的邮件,我已收到。