ChatGPTNextWeb / ChatGPT-Next-Web

A cross-platform ChatGPT/Gemini UI (Web / PWA / Linux / Win / MacOS). 一键拥有你自己的跨平台 ChatGPT/Gemini 应用。
https://app.nextchat.dev/
MIT License
74.7k stars 58.84k forks source link

[Feature] Plugin Web Search: 可以增加联网搜索功能吗? #165

Closed yuntian123456 closed 1 day ago

yuntian123456 commented 1 year ago

在这个项目里发现有联网搜索功能,可以实现类似的功能吗? https://github.com/GaiZhenbiao/ChuanhuChatGPT

Hk-Gosuto commented 1 year ago

@Hk-Gosuto 您最近更新的这个链接:https://github.com/Hk-Gosuto/ddg-api 似乎还是无法正常部署,请查一下问题所在,谢谢!

vercel deploy指向的还是原项目,已经修改了,可以在readme上点击按钮部署,也可以直接访问:https://vercel.com/import/project?template=https://github.com/Hk-Gosuto/ddg-api

zululu2023 commented 1 year ago

@Hk-Gosuto 还是报错。点击部署后,等待1分钟,提示:Not Found The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.

Hk-Gosuto commented 1 year ago

@Hk-Gosuto 还是报错。点击部署后,等待1分钟,提示:Not Found The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.

这个服务只作为搜索api使用,这个不是报错,是因为服务就没有index,要想测试服务是否可用请自行拼接/search?q=关键字验证服务

zululu2023 commented 1 year ago

那么,后续保存的链接,具体应该是什么呢?您能否说清楚一些,谢谢。

@.***

@.*** |

---- 回复的原邮件 ---- | 发件人 | @.> | | 日期 | 2023年06月16日 12:24 | | 收件人 | @.> | | 抄送至 | @.>@.> | | 主题 | Re: [Yidadaa/ChatGPT-Next-Web] 可以增加联网搜索功能吗? (Issue #165) |

@Hk-Gosuto 还是报错。点击部署后,等待1分钟,提示:Not Found The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.

这个服务只作为搜索api使用,这个不是报错,是因为服务就没有index,要想测试服务是否可用请自行拼接/search?q=关键字验证服务

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

Hk-Gosuto commented 1 year ago

那么,后续保存的链接,具体应该是什么呢?您能否说清楚一些,谢谢。 | | @. | | @. | ---- 回复的原邮件 ---- | 发件人 | @.> | | 日期 | 2023年06月16日 12:24 | | 收件人 | @.> | | 抄送至 | @.>@.> | | 主题 | Re: [Yidadaa/ChatGPT-Next-Web] 可以增加联网搜索功能吗? (Issue #165) | @Hk-Gosuto 还是报错。点击部署后,等待1分钟,提示:Not Found The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again. 这个服务只作为搜索api使用,这个不是报错,是因为服务就没有index,要想测试服务是否可用请自行拼接/search?q=关键字验证服务 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

请参考该回复进行配置 https://github.com/Yidadaa/ChatGPT-Next-Web/issues/165#issuecomment-1537032117

zululu2023 commented 1 year ago

那么,后续保存的链接,具体应该是什么呢?您能否说清楚一些,谢谢。 | | @. | | @. | ---- 回复的原邮件 ---- | 发件人 | @.**> | | 日期 | 2023年06月16日 12:24 | | 收件人 | @.**> | | 抄送至 | @.>@.> | | 主题 | Re: [Yidadaa/ChatGPT-Next-Web] 可以增加联网搜索功能吗? (Issue #165) | @Hk-Gosuto 还是报错。点击部署后,等待1分钟,提示:Not Found The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again. 这个服务只作为搜索api使用,这个不是报错,是因为服务就没有index,要想测试服务是否可用请自行拼接/search?q=关键字验证服务 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

请参考该回复进行配置 #165 (comment)

@Hk-Gosuto 根据您的提示,我完成了第一步,通过vercel部署。在浏览器中,拷贝复制了我自己的那个链接,具体为: https://ddg-api-xxxxxx.vercel.app/ (我的实际用户名用xxxxxx替代)

然后执行第二步,在vercel的setting - 环境变量中,在key中填入了:WEB_SEARCH_BASE_URL,在value中填入了:https://ddg-api-xxxxxx.vercel.app/ 然后点击重新部署。

很遗憾的是,在刷新的软件搜索栏中,没有出现联网的那个地球图标。不太清楚问题所在。

(只有一处,我的软件设定了需要登录,并输入密码才能访问,不清楚是否与这个设置有关)

Hk-Gosuto commented 1 year ago

那么,后续保存的链接,具体应该是什么呢?您能否说清楚一些,谢谢。 | | @. | | @. | ---- 回复的原邮件 ---- | 发件人 | @.**> | | 日期 | 2023年06月16日 12:24 | | 收件人 | @.**> | | 抄送至 | @.>@.> | | 主题 | Re: [Yidadaa/ChatGPT-Next-Web] 可以增加联网搜索功能吗? (Issue #165) | @Hk-Gosuto 还是报错。点击部署后,等待1分钟,提示:Not Found The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again. 这个服务只作为搜索api使用,这个不是报错,是因为服务就没有index,要想测试服务是否可用请自行拼接/search?q=关键字验证服务 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

请参考该回复进行配置 #165 (comment)

@Hk-Gosuto 根据您的提示,我完成了第一步,通过vercel部署。在浏览器中,拷贝复制了我自己的那个链接,具体为: https://ddg-api-xxxxxx.vercel.app/ (我的实际用户名用xxxxxx替代)

然后执行第二步,在vercel的setting - 环境变量中,在key中填入了:WEB_SEARCH_BASE_URL,在value中填入了:https://ddg-api-xxxxxx.vercel.app/ 然后点击重新部署。

很遗憾的是,在刷新的软件搜索栏中,没有出现联网的那个地球图标。不太清楚问题所在。

(只有一处,我的软件设定了需要登录,并输入密码才能访问,不清楚是否与这个设置有关)

请部署我修改的版本 https://github.com/Hk-Gosuto/ChatGPT-Next-Web

zululu2023 commented 1 year ago

那么,后续保存的链接,具体应该是什么呢?您能否说清楚一些,谢谢。 | | @. | | @. | ---- 回复的原邮件 ---- | 发件人 | @.**> | | 日期 | 2023年06月16日 12:24 | | 收件人 | @.**> | | 抄送至 | @.>@.> | | 主题 | Re: [Yidadaa/ChatGPT-Next-Web] 可以增加联网搜索功能吗? (Issue #165) | @Hk-Gosuto 还是报错。点击部署后,等待1分钟,提示:Not Found The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again. 这个服务只作为搜索api使用,这个不是报错,是因为服务就没有index,要想测试服务是否可用请自行拼接/search?q=关键字验证服务 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

请参考该回复进行配置 #165 (comment)

@Hk-Gosuto 根据您的提示,我完成了第一步,通过vercel部署。在浏览器中,拷贝复制了我自己的那个链接,具体为: https://ddg-api-xxxxxx.vercel.app/ (我的实际用户名用xxxxxx替代) 然后执行第二步,在vercel的setting - 环境变量中,在key中填入了:WEB_SEARCH_BASE_URL,在value中填入了:https://ddg-api-xxxxxx.vercel.app/ 然后点击重新部署。 很遗憾的是,在刷新的软件搜索栏中,没有出现联网的那个地球图标。不太清楚问题所在。 (只有一处,我的软件设定了需要登录,并输入密码才能访问,不清楚是否与这个设置有关)

请部署我修改的版本 https://github.com/Hk-Gosuto/ChatGPT-Next-Web

可以了,谢谢。提醒各位,正确的顺序如下:

  1. 先部署https://github.com/Hk-Gosuto/ddg-api,然后复制浏览器里面的那个地址链接(不考虑无法显示具体html的提示);
  2. 然后部署https://github.com/Hk-Gosuto/ChatGPT-Next-Web,通过vercel在变量中填写第1步的地址链接。
  3. 等待部署成功后,就可以看到星球的支持搜索的图标了。
wangpeng2020 commented 1 year ago

https://openai.com/blog/function-calling-and-other-api-updates 现在chatgpt已经支持通过API的方式调用插件了,可以考虑直接加进插件功能里面。

image

期待这种方式,函数调用相当于是把插件进行api封装,根据需要选择去调用哪个插件,然后再把结果一起给llm。

Gonfey commented 1 year ago

那么,后续保存的链接,具体应该是什么呢?您能否说清楚一些,谢谢。 | | @. | | @. | ---- 回复的原邮件 ---- | 发件人 | @.**> | | 日期 | 2023年06月16日 12:24 | | 收件人 | @.**> | | 抄送至 | @.>@.> | | 主题 | Re: [Yidadaa/ChatGPT-Next-Web] 可以增加联网搜索功能吗? (Issue #165) | @Hk-Gosuto 还是报错。点击部署后,等待1分钟,提示:Not Found The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again. 这个服务只作为搜索api使用,这个不是报错,是因为服务就没有index,要想测试服务是否可用请自行拼接/search?q=关键字验证服务 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

请参考该回复进行配置 #165 (comment)

@Hk-Gosuto 根据您的提示,我完成了第一步,通过vercel部署。在浏览器中,拷贝复制了我自己的那个链接,具体为: https://ddg-api-xxxxxx.vercel.app/ (我的实际用户名用xxxxxx替代) 然后执行第二步,在vercel的setting - 环境变量中,在key中填入了:WEB_SEARCH_BASE_URL,在value中填入了:https://ddg-api-xxxxxx.vercel.app/ 然后点击重新部署。 很遗憾的是,在刷新的软件搜索栏中,没有出现联网的那个地球图标。不太清楚问题所在。 (只有一处,我的软件设定了需要登录,并输入密码才能访问,不清楚是否与这个设置有关)

请部署我修改的版本 https://github.com/Hk-Gosuto/ChatGPT-Next-Web

大佬,在同一个对话里,我把联网关了,它还是会搜索再回答,请问这个有办法解决吗?

zpng commented 1 year ago

想问下这个为啥用的是duckduckgo,而不是google等搜索啊?

Issues-translate-bot commented 1 year ago

Bot detected the issue body's language is not English, translate it automatically.


I would like to ask why you use duckduckgo instead of Google and other searches?

Undertone0809 commented 1 year ago

想问下这个为啥用的是duckduckgo,而不是google等搜索啊?

google搜索api要单独申请,而且一个月只能访问100次免费额度

Issues-translate-bot commented 1 year ago

Bot detected the issue body's language is not English, translate it automatically.


I would like to ask why duckduckgo is used instead of google and other searches?

The google search api needs to be applied separately, and the free quota can only be accessed 100 times a month

Issues-translate-bot commented 1 year ago

Bot detected the issue body's language is not English, translate it automatically.


Chuanhu used it for a while. It has many functions, but it is more like a self-developed toy. The interface design is not good-looking and unreasonable. This version is better to use, after all, I have been used to it for a long time. Now that you have the API permission of GPT-4, you no longer need to buy a $20 plus per month.

zululu2023 commented 1 year ago

您是如何做到的,跳过plus直接获取api 4.0的权限的?

@.***

@.*** |

---- 回复的原邮件 ---- | 发件人 | @.> | | 日期 | 2023年06月24日 19:52 | | 收件人 | @.> | | 抄送至 | @.>@.> | | 主题 | Re: [Yidadaa/ChatGPT-Next-Web] 可以增加联网搜索功能吗? (Issue #165) |

川虎用了一下,功能挺多的,但是更像是一个自研玩具,界面设计不好看也不合理,还是这个版本比较好用,毕竟用了很久已经习惯。现在有GPT-4的API权限,已经不再每月买20美刀的plus了。

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

thiswind commented 1 year ago

您是如何做到的,跳过plus直接获取api 4.0的权限的? | | @. | | @. |

就是申请了GPT 4的API权限,后来大概两个星期后收到邮件说可以用了,所以我就退订plus了,现在就是直接用这个软件来使用GPT-4,用多少付多少美刀,比plus便宜多了

Issues-translate-bot commented 1 year ago

Bot detected the issue body's language is not English, translate it automatically.


How did you do it, skip the plus and directly obtain the permission of api 4.0? | | @. | | @. |

I just applied for the API permission of GPT 4, and then I received an email about two weeks later saying that it can be used, so I unsubscribed plus, and now I use this software directly to use GPT-4, and I pay as much as I want. much cheaper than plus

zululu2023 commented 1 year ago

You're so lucky 现在都上升条件了,要求优先公司且有付费历史的才可以。。

@.***

@.*** |

---- 回复的原邮件 ---- | 发件人 | @.> | | 日期 | 2023年06月24日 20:28 | | 收件人 | @.> | | 抄送至 | @.>@.> | | 主题 | Re: [Yidadaa/ChatGPT-Next-Web] 可以增加联网搜索功能吗? (Issue #165) |

您是如何做到的,跳过plus直接获取api 4.0的权限的? | | @. | | @. | …

就是申请了GPT 4的API权限,后来大概两个星期后收到邮件说可以用了,所以我就退订plus了,现在就是直接用这个软件来使用GPT-4,用多少付多少美刀,比plus便宜多了

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

Yidadaa commented 1 year ago

https://github.com/Snazzah/duck-duck-scrape

Issues-translate-bot commented 1 year ago

Bot detected the issue body's language is not English, translate it automatically.


I hope you guys can come up with one.

InitialXKO commented 1 year ago

可以在后台先要求GPT判断问题是否超出知识范围,返回0或者1供代码进行条件分支。然后要求GPT推断最可能包含答案的网页会包含的seo关键词,用空格隔开。然后用这些关键词去调搜索api。

Issues-translate-bot commented 1 year ago

Bot detected the issue body's language is not English, translate it automatically.


In the background, you can first ask GPT to judge whether the problem exceeds the scope of knowledge, and return 0 or 1 for the code to perform conditional branching. Then ask GPT to infer the seo keywords that the webpage most likely to contain the answer will contain, separated by spaces. Then use these keywords to tune the search api.

KingBirdBotw commented 1 year ago

那么,后续保存的链接,具体应该是什么呢?您能否说清楚一些,谢谢。 | | @. | | @. | ---- 回复的原邮件 ---- | 发件人 | @.**> | | 日期 | 2023年06月16日 12:24 | | 收件人 | @.**> | | 抄送至 | @.>@.> | | 主题 | Re: [Yidadaa/ChatGPT-Next-Web] 可以增加联网搜索功能吗? (Issue #165) | @Hk-Gosuto 还是报错。点击部署后,等待1分钟,提示:Not Found The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again. 这个服务只作为搜索api使用,这个不是报错,是因为服务就没有index,要想测试服务是否可用请自行拼接/search?q=关键字验证服务 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

请参考该回复进行配置 #165 (comment)

@Hk-Gosuto 根据您的提示,我完成了第一步,通过vercel部署。在浏览器中,拷贝复制了我自己的那个链接,具体为: https://ddg-api-xxxxxx.vercel.app/ (我的实际用户名用xxxxxx替代) 然后执行第二步,在vercel的setting - 环境变量中,在key中填入了:WEB_SEARCH_BASE_URL,在value中填入了:https://ddg-api-xxxxxx.vercel.app/ 然后点击重新部署。 很遗憾的是,在刷新的软件搜索栏中,没有出现联网的那个地球图标。不太清楚问题所在。 (只有一处,我的软件设定了需要登录,并输入密码才能访问,不清楚是否与这个设置有关)

请部署我修改的版本 https://github.com/Hk-Gosuto/ChatGPT-Next-Web

Can you synchronize the latest version of Yidadaa? If you can, I would greatly appreciate it. Web search is very useful, but I need to use the new features in order to switch models for each conversation

Hk-Gosuto commented 1 year ago

那么,后续保存的链接,具体应该是什么呢?您能否说清楚一些,谢谢。 | | @. | | @. | ---- 回复的原邮件 ---- | 发件人 | @.**> | | 日期 | 2023年06月16日 12:24 | | 收件人 | @.**> | | 抄送至 | @.>@.> | | 主题 | Re: [Yidadaa/ChatGPT-Next-Web] 可以增加联网搜索功能吗? (Issue #165) | @Hk-Gosuto 还是报错。点击部署后,等待1分钟,提示:Not Found The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again. 这个服务只作为搜索api使用,这个不是报错,是因为服务就没有index,要想测试服务是否可用请自行拼接/search?q=关键字验证服务 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

请参考该回复进行配置 #165 (comment)

@Hk-Gosuto 根据您的提示,我完成了第一步,通过vercel部署。在浏览器中,拷贝复制了我自己的那个链接,具体为: https://ddg-api-xxxxxx.vercel.app/ (我的实际用户名用xxxxxx替代) 然后执行第二步,在vercel的setting - 环境变量中,在key中填入了:WEB_SEARCH_BASE_URL,在value中填入了:https://ddg-api-xxxxxx.vercel.app/ 然后点击重新部署。 很遗憾的是,在刷新的软件搜索栏中,没有出现联网的那个地球图标。不太清楚问题所在。 (只有一处,我的软件设定了需要登录,并输入密码才能访问,不清楚是否与这个设置有关)

请部署我修改的版本 https://github.com/Hk-Gosuto/ChatGPT-Next-Web

Can you synchronize the latest version of Yidadaa? If you can, I would greatly appreciate it. Web search is very useful, but I need to use the new features in order to switch models for each conversation

It's been a bit busy lately, and I'm expected to be busy this weekend.

KingBirdBotw commented 1 year ago

那么,后续保存的链接,具体应该是什么呢?您能否说清楚一些,谢谢。 | | @. | | @. | ---- 回复的原邮件 ---- | 发件人 | @.**> | | 日期 | 2023年06月16日 12:24 | | 收件人 | @.**> | | 抄送至 | @.>@.> | | 主题 | Re: [Yidadaa/ChatGPT-Next-Web] 可以增加联网搜索功能吗? (Issue #165) | @Hk-Gosuto 还是报错。点击部署后,等待1分钟,提示:Not Found The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again. 这个服务只作为搜索api使用,这个不是报错,是因为服务就没有index,要想测试服务是否可用请自行拼接/search?q=关键字验证服务 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

请参考该回复进行配置 #165 (comment)

@Hk-Gosuto 根据您的提示,我完成了第一步,通过vercel部署。在浏览器中,拷贝复制了我自己的那个链接,具体为: https://ddg-api-xxxxxx.vercel.app/ (我的实际用户名用xxxxxx替代) 然后执行第二步,在vercel的setting - 环境变量中,在key中填入了:WEB_SEARCH_BASE_URL,在value中填入了:https://ddg-api-xxxxxx.vercel.app/ 然后点击重新部署。 很遗憾的是,在刷新的软件搜索栏中,没有出现联网的那个地球图标。不太清楚问题所在。 (只有一处,我的软件设定了需要登录,并输入密码才能访问,不清楚是否与这个设置有关)

请部署我修改的版本 https://github.com/Hk-Gosuto/ChatGPT-Next-Web

Can you synchronize the latest version of Yidadaa? If you can, I would greatly appreciate it. Web search is very useful, but I need to use the new features in order to switch models for each conversation

It's been a bit busy lately, and I'm expected to be busy this weekend.

it's ok just let me know you will sync it regularly.

QingHui653 commented 1 year ago

https://github.com/jarvis2f/ais-ninja

支持联网插件的仓库.

目前看 使用 google,baidu 都需要 自己 填写key, cookie

Issues-translate-bot commented 1 year ago

Bot detected the issue body's language is not English, translate it automatically.


https://github.com/jarvis2f/ais-ninja

A repository that supports networking plugins.

At present, you need to fill in the key and cookie when using google and baidu

Hk-Gosuto commented 1 year ago

那么,后续保存的链接,具体应该是什么呢?您能否说清楚一些,谢谢。 | | @. | | @. | ---- 回复的原邮件 ---- | 发件人 | @.**> | | 日期 | 2023年06月16日 12:24 | | 收件人 | @.**> | | 抄送至 | @.>@.> | | 主题 | Re: [Yidadaa/ChatGPT-Next-Web] 可以增加联网搜索功能吗? (Issue #165) | @Hk-Gosuto 还是报错。点击部署后,等待1分钟,提示:Not Found The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again. 这个服务只作为搜索api使用,这个不是报错,是因为服务就没有index,要想测试服务是否可用请自行拼接/search?q=关键字验证服务 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

请参考该回复进行配置 #165 (comment)

@Hk-Gosuto 根据您的提示,我完成了第一步,通过vercel部署。在浏览器中,拷贝复制了我自己的那个链接,具体为: https://ddg-api-xxxxxx.vercel.app/ (我的实际用户名用xxxxxx替代) 然后执行第二步,在vercel的setting - 环境变量中,在key中填入了:WEB_SEARCH_BASE_URL,在value中填入了:https://ddg-api-xxxxxx.vercel.app/ 然后点击重新部署。 很遗憾的是,在刷新的软件搜索栏中,没有出现联网的那个地球图标。不太清楚问题所在。 (只有一处,我的软件设定了需要登录,并输入密码才能访问,不清楚是否与这个设置有关)

请部署我修改的版本 https://github.com/Hk-Gosuto/ChatGPT-Next-Web

Can you synchronize the latest version of Yidadaa? If you can, I would greatly appreciate it. Web search is very useful, but I need to use the new features in order to switch models for each conversation

It's been a bit busy lately, and I'm expected to be busy this weekend.

it's ok just let me know you will sync it regularly.

I took some time to synchronize the code and refactor it. This update utilizes https://github.com/Snazzah/duck-duck-scrape to implement the web search function, which means there is no need to deploy any additional projects. I hope this update will make your experience even better. Have fun using it.

0xPanda-ai commented 11 months ago

我是直接使用了openai的库,调用了MixerBox WebSearchG和scholarAI,下面是代码参考例子。 感觉可以加上一些插件,蛮实用的

import openai
import threading

# 设置你的API密钥
openai.api_key = 'key'

def chat_with_gpt_and_plugins(prompt, max_tokens=1000):
    response = openai.ChatCompletion.create(
        model="gpt-4",
        messages=[
            {"role": "system", "content": "你是一个可以使用MixerBox WebSearchG和scholarAI插件的助手。"},
            {"role": "user", "content": prompt}
        ],
        max_tokens=max_tokens
    )
    return response['choices'][0]['message']['content']

def generate_paper_content(title, resources):
    # 首先生成大纲
    outline_prompt = f"为'{title}'生成一个大纲,使用以下资源:{resources}"
    outline = chat_with_gpt_and_plugins(outline_prompt, max_tokens=500).split('\n')

    paper_content = ""
    for section in outline:
        # 为每个部分生成详细内容
        section_content = chat_with_gpt_and_plugins(f"为'{section}'写详细内容,使用以下资源:{resources}", max_tokens=1500)
        paper_content += section + "\n" + section_content + "\n"

    return paper_content[:10000]

if __name__ == "__main__":
    paper_title = input("请输入您想要的论文标题:")
    web_search_result = chat_with_gpt_and_plugins(f"使用MixerBox WebSearchG搜索'{paper_title}'")
    scholar_search_result = chat_with_gpt_and_plugins(f"使用scholarAI搜索与'{paper_title}'相关的论文")
    resources = f"{web_search_result} 和 {scholar_search_result}"
    paper_content = generate_paper_content(paper_title, resources)
    print(paper_content)
mouxangithub commented 11 months ago

您是如何做到的,跳过plus直接获取api 4.0的权限的? | | @. | | @. | ---- 回复的原邮件 ---- | 发件人 | @.> | | 日期 | 2023年06月24日 19:52 | | 收件人 | @.> | | 抄送至 | @.>@.> | | 主题 | Re: [Yidadaa/ChatGPT-Next-Web] 可以增加联网搜索功能吗? (Issue #165) | 川虎用了一下,功能挺多的,但是更像是一个自研玩具,界面设计不好看也不合理,还是这个版本比较好用,毕竟用了很久已经习惯。现在有GPT-4的API权限,已经不再每月买20美刀的plus了。 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

绑卡充值五刀就解锁了,费钱的

Limour-dev commented 11 months ago

可以对接自建的SearXNG吗,加上format=json的参数就可以返回json格式的搜索结果。

Issues-translate-bot commented 11 months ago

Bot detected the issue body's language is not English, translate it automatically.


Can it be connected to the self-built SearXNG, https://docs.searxng.org/dev/search_api.html, and adding the format=json parameter can return search results in json format.

imotai commented 11 months ago

大家好,想请教一下大家对ChatGPT-Next-Web集成Code Interpreter感兴趣吗?我可以把现在我开发的代码解释器, 集成到ChatGPT-Next-Web里面,贡献到社区. 以下是octogen现在版本的视频

欢迎大家一起讨论和交流

Issues-translate-bot commented 11 months ago

Bot detected the issue body's language is not English, translate it automatically.


Hello everyone, I would like to ask if you are interested in ChatGPT-Next-Web integration? I can integrate the [code interpreter] (https://github.com/dbpunk-labs/octogen) I have developed into ChatGPT-Next-Web and contribute it to the community. The following is a video of the current version of octogen

Everyone is welcome to discuss and communicate together

SchneeHertz commented 11 months ago

我开发的chatgpt客户端支持联网搜索,获取网页内容和执行js代码,虽然相比ChatGPT-Next-Web功能不够齐全,有兴趣的可以看下 https://github.com/SchneeHertz/chat-xiuliu

Issues-translate-bot commented 11 months ago

Bot detected the issue body's language is not English, translate it automatically.


The chatgpt client I developed supports online search, obtaining web content and executing js code. Although it is not fully functional compared to ChatGPT-Next-Web, those who are interested can take a look. https://github.com/SchneeHertz/chat-xiuliu

jmc2292 commented 11 months ago

希望尽快开发联网插件功能!能联网就更完美了!

Issues-translate-bot commented 11 months ago

Bot detected the issue body's language is not English, translate it automatically.


We hope to develop the networking plug-in function as soon as possible! It would be even better if it can be connected to the Internet!

ograycode commented 10 months ago

Is anyone actively working on a plugin feature? I see sporadic talk but no movement.

fangyuan99 commented 10 months ago

Is anyone actively working on a plugin feature? I see sporadic talk but no movement.

You can now try Google's bard, which has networking features and is better than gpt 3.5

crypticatul commented 10 months ago

Is anyone actively working on a plugin feature? I see sporadic talk but no movement.

You can check this. It has one of the best implementation of plugins and I would love to see a Code Interpreter added to it as one of the plugin.

LeXwDeX commented 10 months ago

川虎的实现逻辑,我估计是这样的,gui调搜索引擎搜索关键词,然后以一定规则爬取某些网页,和网页的内容,然后喂给gpt,所以川虎会有以下两种情况。 1、就算不填key,开了联网功能后,gui也会回复内容,就是gui调用搜索引擎搜索出的内容 2、结果不稳定,不知道他的抓取规则是什么,每次问爬的网站都不一样。

看过代码了,用了langchain封装好的googlesearch api。

Issues-translate-bot commented 10 months ago

Bot detected the issue body's language is not English, translate it automatically.


The implementation logic of Sichuan Tiger, I estimate, is like this. The GUI adjusts the search engine to search for keywords, and then crawls certain web pages and the content of the web pages according to certain rules, and then feeds them to gpt. Therefore, Sichuan Tiger will have the following two situations. . 1. Even if you don’t fill in the key, after turning on the networking function, the gui will reply with the content, which is the content that the gui calls the search engine to search for. 2. The results are unstable. I don’t know what his crawling rules are. Every time I ask what website to crawl. They are all different.

I have seen the code and used the googlesearch api encapsulated by langchain.

LeXwDeX commented 10 months ago

现在的联网搜索功能如果用第三方API那成本太高了。 如果自己集成一个阅读器把返回的结果录入到GPT里也不是不行。 或手工自己录入(可配合泄露的提示词): 1、输入网址,进入阅读器模式(阅读器模式可用浏览器自带或插件SimpRead) 2、CTRL+A复制内容 3、把AI回复的内容修改掉 4、让其总结或者做你需要的事情

Issues-translate-bot commented 10 months ago

Bot detected the issue body's language is not English, translate it automatically.


If the current Internet search function uses a third-party API, the cost will be too high. It is not impossible if you integrate a reader yourself and enter the returned results into GPT. Or enter it manually (can be combined with leaked prompt words)

jinleiphys commented 10 months ago

强烈建议优先加入DALL·E 3插件功能。

Issues-translate-bot commented 10 months ago

Bot detected the issue body's language is not English, translate it automatically.


It is strongly recommended to add the DALL·E 3 plug-in function first.

H0llyW00dzZ commented 10 months ago

Interesting about this Issue

By the way, the function calling allows AI for visiting websites, but not all websites can be accessed. It's most likely that only trusted sites are permitted.

image

image

code :

{
  "name": "visit_website",
  "parameters": {
    "type": "object",
    "properties": {
      "url": {
        "type": "string",
        "description": "The URL of the website to visit"
      }
    },
    "required": [
      "https://teapot-cat.pages.dev/teapot.png"
    ]
  },
  "description": "Visit a website"
}
ccinoo commented 9 months ago

强烈建议优先加入DALL·E 3插件功能。

这个我支持。DALL·E 3效果比2好多了。