Comments (20)
您好,回答字数多尤其是使用搜索的时候,回答会截断,后一部分回答未输出显示,是什么原因呢?我尝试过,即使是gpt-3.5-turbo-16k-0613也是如此。
我找到了这个问题的原因,由于现在 duckduckgo
插件是基于 duck-duck-scrape
包实现的,而该包依赖一些 nodejs 核心函数。所以上次更新时我将 agent 的 api 运行时修改为了 nodejs,而 vercel hobby 订阅的账号对 nodejs 的函数有运行时间限制导致当回复时间超过10秒时会被强制终止。
可以使用 docker 部署来规避这个问题,或者等待后续更新解决。
参考:https://vercel.com/guides/what-can-i-do-about-vercel-serverless-functions-timing-out
from chatgpt-next-web-langchain.
Bot detected the issue body's language is not English, translate it automatically.
This problem cannot be reproduced, please try to update the code to the latest or check whether the network can access serpapi normally, or try not configuring SERPAPI_API_KEY
to use duckduckgo
as a network search plugin.
from chatgpt-next-web-langchain.
相关问题均已解决,请更新代码到最新。
from chatgpt-next-web-langchain.
Bot detected the issue body's language is not English, translate it automatically.
Title: [Bug] Unable to reply to questions
Get the Private API Key from serpapi.com, and configure the SERPAPI_API_KEY environment variable.
But I can’t get a reply to the input question. It keeps showing that it’s loading. After switching the model without using gpt-3.5-turbo-0613, I can reply normally, but I can’t query it online.
from chatgpt-next-web-langchain.
无法复现该问题,请尝试更新代码到最新或者检查网络是否可以正常访问到 serpapi,也可以尝试不配置 SERPAPI_API_KEY
使用 duckduckgo
作为网络检索插件。
from chatgpt-next-web-langchain.
I was also experiencing the same bug. And as rightly pointed out by @Hk-Gosuto , This has something to do with the SERP API. I removed SERP APKI Key from the env vars and the DuckDuckGo search started working. However, it works sometimes but sometimes it gets stucked like this:
Below is the snap of Console in Inspect Element if this can help
from chatgpt-next-web-langchain.
无法复现该问题,请尝试更新代码到最新或者检查网络是否可以正常访问到 serpapi,也可以尝试不配置
SERPAPI_API_KEY
使用duckduckgo
作为网络检索插件。
不配置 SERPAPI_API_KEY 也是这个样子,我的 BASE_URL 是 https://api.chatanywhere.cn ,是转发 api ,和这个有关系吗?
from chatgpt-next-web-langchain.
无法复现该问题,请尝试更新代码到最新或者检查网络是否可以正常访问到 serpapi,也可以尝试不配置SERPAPI_API_KEY
使用duckduckgo
作为网络检索插件。不配置 SERPAPI_API_KEY 也是这个样子,我的 BASE_URL 是 https://api.chatanywhere.cn ,是转发 api ,和这个有关系吗?
本项目暂时不支持配置 BASE_URL
,主要是因为 openai-node 项目目前没支持,建议使用 vercel 部署一个试试。
from chatgpt-next-web-langchain.
I was also experiencing the same bug. And as rightly pointed out by @Hk-Gosuto , This has something to do with the SERP API. I removed SERP APKI Key from the env vars and the DuckDuckGo search started working. However, it works sometimes but sometimes it gets stucked like this:
Below is the snap of Console in Inspect Element if this can help
This problem is caused by the token being too long. You can try using the gpt-3.5-turbo-16k-0613
model.
At the same time, I have made some adjustments to the two plugins, duckduckgo
and RequestsGetTool
, so that they will not call RequestsGetTool
to retrieve webpage details during searches.
from chatgpt-next-web-langchain.
您好,回答字数多尤其是使用搜索的时候,回答会截断,后一部分回答未输出显示,是什么原因呢?我尝试过,即使是gpt-3.5-turbo-16k-0613也是如此。
from chatgpt-next-web-langchain.
Bot detected the issue body's language is not English, translate it automatically.
Hello, the answer has a lot of words, especially when using search, the answer will be truncated, and the latter part of the answer is not displayed. What is the reason?
from chatgpt-next-web-langchain.
您好,回答字数多尤其是使用搜索的时候,回答会截断,后一部分回答未输出显示,是什么原因呢?我尝试过,即使是gpt-3.5-turbo-16k-0613也是如此。
确实是一个偶发的问题,我在正常使用的时候也有遇到,但调试时重试了十几次也没再复现。
如果有可以必现该问题的 prompt 也可以发给我进行复现和修复。
from chatgpt-next-web-langchain.
Bot detected the issue body's language is not English, translate it automatically.
Hello, the answer has a lot of words, especially when using search, the answer will be truncated, and the latter part of the answer is not output and displayed. What is the reason? I tried it, even with gpt-3.5-turbo-16k-0613.
It is indeed an occasional problem, and I also encountered it during normal use, but it did not reproduce after retrying a dozen times during debugging.
If there is a prompt that can show the problem, you can also send it to me for reproduction and repair.
from chatgpt-next-web-langchain.
Bot detected the issue body's language is not English, translate it automatically.
Hello, the answer has a lot of words, especially when using search, the answer will be truncated, and the latter part of the answer is not output and displayed. What is the reason? I tried it, even with gpt-3.5-turbo-16k-0613.
I found the reason for this problem, because now the duckduckgo
plugin is implemented based on the duck-duck-scrape
package, which depends on some nodejs core functions. So in the last update, I changed the runtime of the agent's api to nodejs, and the account subscribed by vercel hobby has a running time limit for nodejs functions, so when the response time exceeds 10 seconds, it will be forcibly terminated.
This issue can be circumvented by using docker deployment, or waiting for a subsequent update to resolve it.
Reference: https://vercel.com/guides/what-can-i-do-about-vercel-serverless-functions-timing-out
from chatgpt-next-web-langchain.
您好,回答字数多尤其是使用搜索的时候,回答会截断,后一部分回答未输出显示,是什么原因呢?我尝试过,即使是gpt-3.5-turbo-16k-0613也是如此。
我找到了这个问题的原因,由于现在
duckduckgo
插件是基于duck-duck-scrape
包实现的,而该包依赖一些 nodejs 核心函数。所以上次更新时我将 agent 的 api 运行时修改为了 nodejs,而 vercel hobby 订阅的账号对 nodejs 的函数有运行时间限制导致当回复时间超过10秒时会被强制终止。 可以使用 docker 部署来规避这个问题,或者等待后续更新解决。参考:https://vercel.com/guides/what-can-i-do-about-vercel-serverless-functions-timing-out
是的,我用docker部署就解决了这个问题,现在用 serpapi 也可以正常输出内容了~
from chatgpt-next-web-langchain.
Bot detected the issue body's language is not English, translate it automatically.
Hello, the answer has a lot of words, especially when using search, the answer will be truncated, and the latter part of the answer is not output and displayed. What is the reason? I tried it, even with gpt-3.5-turbo-16k-0613.
I found the reason for this problem, because now the
duckduckgo
plugin is implemented based on theduck-duck-scrape
package, which depends on some nodejs core functions. So in the last update, I changed the runtime of the agent's api to nodejs, and the account subscribed by vercel hobby has a running time limit for nodejs functions, so when the response time exceeds 10 seconds, it will be forcibly terminated. This issue can be circumvented by using docker deployment, or waiting for a subsequent update to resolve it.Reference: https://vercel.com/guides/what-can-i-do-about-vercel-serverless-functions-timing-out
Yes, I solved this problem with docker deployment, and now I can output content normally with serpapi~
from chatgpt-next-web-langchain.
弱弱的问一句,联网功能,模型目前只支持 gpt-3.5-turbo-0613 吗?gpt-4 是否支持呢?
from chatgpt-next-web-langchain.
Bot detected the issue body's language is not English, translate it automatically.
A weak question, the networking function, does the model currently only support gpt-3.5-turbo-0613? Does gpt-4 support it?
from chatgpt-next-web-langchain.
弱弱的问一句,联网功能,模型目前只支持 gpt-3.5-turbo-0613 吗?gpt-4 是否支持呢?
目前插件功能是基于 OpenAI 的 0613 版本模型的 Function calling 功能实现的,所有 OpenAI 的 0613 版本模型(包括:gpt-4-0613 gpt-4-32k-0613 gpt-3.5-turbo-0613 等等)均支持该功能。
后面会使用 LangChain 的其它类型 Agent 来实现非 0613 模型的插件调用,不过考虑到效果和 Token 消耗,还是推荐使用 0613 版本模型来使用插件。
可以参考该文章:https://openai.com/blog/function-calling-and-other-api-updates
from chatgpt-next-web-langchain.
Bot detected the issue body's language is not English, translate it automatically.
Related issues have been resolved, please update the code to the latest.
from chatgpt-next-web-langchain.
Related Issues (20)
- 作者大大什么时候能上传多个不同类型的文件呀🥹 HOT 7
- [Bug] iphone上浏览器safari 录音只能录0.98s 语音,且不准确 HOT 2
- [Bug] tauri mac桌面客户端语音输入不能使用,点击说话然后停止之后一直卡在三个点 HOT 3
- [Bug] Firefox下报错 HOT 3
- Giga chat HOT 9
- v2.11.3 docker 启动添加PROXY_URL会导致页面无法显示[Bug] HOT 5
- [Bug] 输出结果显示问题 HOT 3
- [点击自动发送] HOT 3
- [Feature Request]: 关于RAG 功能的用法 HOT 28
- [Bug] 文本转语音功能报错:EncodingError: Decoding failed HOT 12
- [Bug] gpt-4-turbo-2024-04-09和gpt-4-turbo模型无法用插件,视觉功能也不能用 HOT 11
- [Bug] tauri mac桌面客户端不能上传pdf HOT 5
- [Bug] arm64本地部署下首次加载非常缓慢 HOT 9
- [Feature Request]: docker部署的,没有上传文件按钮么? HOT 17
- [Feature Request]: 更新了新版本原生支持claude模型,原来通过中转的claude3无法使用,大佬能修复下吗。中转的接口是openai形式的 HOT 5
- 联网搜索的效果似乎有点问题哈? HOT 3
- [Bug] 关于基于coze中转使用gpt-4-vision-preview模型上传图片提示的URL解析错误报错 HOT 15
- [Feature Request]: 请问这个项目里边怎么做一个单独的插件出来,插件代码在哪里 HOT 16
- [Bug] 当前项目拉取后,docker build失败 HOT 3
- [Bug] 回答问题时文字未能显示完全 HOT 19
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chatgpt-next-web-langchain.