diff --git a/plugins/tool/README.md b/plugins/tool/README.md index 5061520..4f19dba 100644 --- a/plugins/tool/README.md +++ b/plugins/tool/README.md @@ -1,6 +1,6 @@ ## 插件描述 一个能让chatgpt联网,搜索,数字运算的插件,将赋予强大且丰富的扩展能力 -使用该插件需在对话内容前加$tool +使用该插件需在触发机器人回复条件时,在对话内容前加$tool ### 本插件所有工具同步存放至专用仓库:[chatgpt-tool-hub](https://github.com/goldfishh/chatgpt-tool-hub) @@ -19,7 +19,7 @@ ###### 回答你有关天气的询问, 本工具使用了[meteo open api](https://open-meteo.com/) 注:该工具需提供时间,地点信息,且获取的数据不一定准确 -## 使用本插件对话(prompt)技巧 +## 使用本工具对话(prompt)技巧 ### 1. 有指引的询问 #### 例如: - 总结这个链接的内容 https://www.36kr.com/p/2186160784654466 @@ -27,12 +27,12 @@ - 使用python查询今天日期 ### 2. 使用搜索引擎工具 -- 如果有搜索工具就能让chatgpt获取到你的未传达清楚的上下文信息,chatgpt不知道你的地理位置,现在时间等,所以不可能给你正确回答 +- 如果有搜索工具就能让chatgpt获取到你的未传达清楚的上下文信息,chatgpt不知道你的地理位置,现在时间等,所以不可能给你正确回答 -## 其他插件 -###### 除上述以外还有其他插件,比如搜索联网、数学运算、百科、新闻需要获取api-key, -###### 由于这些插件使用方法暂时还在整理中,如果你不熟悉请不要尝试使用这些工具 +## 其他工具 +###### 除上述以外还有其他工具,比如搜索联网、数学运算、百科、新闻需要获取api-key, +###### 由于这些工具使用方法暂时还在整理中,如果你不熟悉请不要尝试使用这些工具 ## config.json 配置说明 @@ -45,7 +45,7 @@ } } ``` -该文件不创建也能使用本tool +不创建该文件也能使用本tool - `tools`:本插件初始化时加载的工具, 目前可选集:["wikipedia", "wolfram-alpha", "google-search", "news-api"] - `kwargs`:工具执行时的配置,一般在这里存放api-key diff --git a/requirements.txt b/requirements.txt index 3a7186d..13465f3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -14,4 +14,4 @@ wechaty_puppet>=0.4.23 chardet>=5.1.0 SpeechRecognition tiktoken>=0.3.2 -chatgpt_tool_hub>=0.2.5 \ No newline at end of file +chatgpt_tool_hub>=0.3.0 \ No newline at end of file