plugin(tool) update doc

This commit is contained in:
goldfishh
2023-03-31 00:26:23 +08:00
parent bf02a59aec
commit 8da362d6fe
2 changed files with 8 additions and 7 deletions

View File

@@ -17,17 +17,17 @@
### 4. meteo-weather
###### 回答你有关天气的询问, 本工具使用了[meteo open api](https://open-meteo.com/)
注:该工具需提供时间,地点信息,且获取的数据不一定准确
## 使用本插件对话prompt技巧
### 1. 有指引的询问
#### 例如:
- 总结这个链接的内容 https://www.36kr.com/p/2186160784654466
- 使用Terminal执行curl cip.cc
- 借助python_repl和meteo-weather获取深圳天气情况
- 使用Terminal执行curl cip.cc
- 使用python查询今天日期
### 2. 使用搜索引擎工具
- 如果有这个工具就能让chatgpt在不理解某个问题时去使用
- 如果有搜索工具就能让chatgpt获取到你的未传达清楚的上下文信息chatgpt不知道你的地理位置现在时间等所以不可能给你正确回答
## 其他插件
@@ -35,7 +35,7 @@
###### 由于这些插件使用方法暂时还在整理中,如果你不熟悉请不要尝试使用这些工具
## config 配置说明
## config.json 配置说明
###### 一个例子
```json
{
@@ -45,10 +45,11 @@
}
}
```
该文件不创建也能使用本tool
- `tools`:本插件初始化时加载的工具, 目前可选集:["wikipedia", "wolfram-alpha", "google-search", "news-api"]
- `kwargs`工具执行时的配置一般在这里存放api-key
## 备注
- 请不要使用本插件做危害他人的事情,请自行判断本插件输出内容的真实性
- 虽然我会有意加入一些限制,但请不要使用本插件做危害他人的事情,请提前了解清楚某些内容是否会违反相关规定,建议提前做好过滤
- 未来一段时间我会实现一些有意思的工具比如stable diffusion 中文prompt翻译、cv方向的模型推理欢迎有想法的朋友关注一起扩展这个项目

View File

@@ -14,4 +14,4 @@ wechaty_puppet>=0.4.23
chardet>=5.1.0
SpeechRecognition
tiktoken>=0.3.2
chatgpt_tool_hub>=0.2.3
chatgpt_tool_hub>=0.2.5