-
Notifications
You must be signed in to change notification settings - Fork 172
[交流] 关于如何更好的使用tool的技巧 #3
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
期待更新!!! |
期待 |
@sky602816027 请问怎么在chatgpt-on-wechat项目中配置使用tool插件 google-search 你是怎么配置的 |
同问,我的也是通过$tool 触发,还有其他好的方式吗? |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
旧tool调优记录:
1. terminal
借助wechat和chatgpt-on-wechat,你获得了一个便携的向服务器执行shell命令的方法
如果你的服务器没有公网地址,那么你就获得一个内网穿透的替代方案
PS: 该tool已对危险指令实现了一个简单的过滤
1. 使用Terminal,查找我的用户目录有那些文件
2. 使用Terminal,告诉我当前用户名、所在组
3. 使用Terminal, ls -l
PS: 可在日志查看terminal确实执行该指令
4. 使用Terminal, 帮我查看chatgpt_tool_hub目录version.py文件包含内容是什么
5. 使用Terminal,帮我查看当前目录version.py文件包含内容是什么
6. 使用Terminal,帮我查看当前目录version.py文件包含内容是什么(设置terminal了超时时间)
terminal的调优将更新在chatgpt_tool_hub 0.3.7版本,如果你需要体验可执行更新tool插件依赖包的命令,之后重启chatgpt-on-wechat项目
2. meteo-weather
回答你有关天气的询问, 需要获取时间、地点上下文信息,本工具使用了meteo open api
1. 使用meteo,查询4月10号杭州的天气情况
meteo 接口返回:
chatgpt能自己推断出城市到经纬度的映射关系确实很神奇

2. 使用meteo,明天北京会下雨吗?
meteo 接口返回:
注:严谨的chatgpt没有觉得全天降雨量均为0能推断出明天北京是否会下雨。
一番prompt tuning后:
PS:我从tuning结果分析,觉得chatgpt有道理。这一块我没有用prompt暗示chatgpt能从降雨数据推断出下雨
3. 使用meteo,明天北京云量怎么样?
中间过程出现错误,一番prompt tuning后:
PS:输出结果的可解释性更强了,我认为从所有小时的值均为0推断出云量信息不可用有道理。
4. 使用meteo,昨天北京日出时间是多少?
PS:回答精准,不过你们应该看不见中间prompt失败的过程,真的不来tool的仓库点一个star吗?chatgpt-tool-hub
tuning后meteo的实用性大大增强了,由于最近项目重构有些接口改变,暂时不打新版本的包
注:该工具比较耗时、耗token
3. morning-news
这是一个最近从issue 800看到的一个需求,这个需求获取的内容很简单,每天1点更新一次当日新闻,我觉得挺实用就跟进了
PS:如果有类似的需求欢迎PR到chatgpt-tool-hub,仅用半小时就能实现
terminal的调优将更新在chatgpt_tool_hub 0.3.9版本,如果你需要体验meteo最新的调优效果和morning-news工具可执行更新tool插件依赖包的命令,之后重启chatgpt-on-wechat项目
The text was updated successfully, but these errors were encountered: