Giter Site home page Giter Site logo

Comments (3)

Hk-Gosuto avatar Hk-Gosuto commented on June 17, 2024

描述问题 启用联网查找后出现 Failed to get the VQD for query "啊对对对对" 错误 Snazzah/duck-duck-scrape/issues/119 有过相关BUG报告,但似乎已经修复,我检查过package.json 确实也是 2.2.4以上,但仍存在该问题。

如何复现 启用联网查找

截图

chat-chat-1  | [Tools]  Error: Failed to get the VQD for query "jobs是谁?".
chat-chat-1  |     at getVQD (/app/.next/server/chunks/2180.js:1159:15)
chat-chat-1  |     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
chat-chat-1  |     at async search (/app/.next/server/chunks/2180.js:325:21)
chat-chat-1  |     at async handle (/app/.next/server/app/api/tools/ddg/route.js:350:31)
chat-chat-1  |     at async /app/.next/server/chunks/2180.js:16459:37

一些必要的信息

  • 版本:main分支
  • 部署方式:docker

试了一下当前的最新镜像,并没有复现该问题。
有可能是网络问题导致,请尝试配置代理 PROXY_URL

docker run --rm -it -p 3000:3000 -e OPENAI_API_KEY="sk-xxxx" -e PROXY_URL="http://127.0.0.1:7890" gosuto/chatgpt-next-web

from chatgpt-next-web-langchain.

mingyue0094 avatar mingyue0094 commented on June 17, 2024

"Error: Failed to get the VQD for query "2023马斯克的活动。"."


同样的代理, 用 https://github.com/binjie09/duckduckgo-api.git docker 部署的ddg 就可以正常用。

使用 v2.9.1 https://github.com/Hk-Gosuto/ChatGPT-Next-Web-LangChain/tree/377a50e2a6bf3a3a51e76ae0b0805d914ac741dd

docker 部署 hatGPT-Next-Web-LangChain 设置代理。 开启联网搜索 , 就提示 "Error: Failed to get the VQD for query ...

--- 这联网搜索太难了

from chatgpt-next-web-langchain.

mingyue0094 avatar mingyue0094 commented on June 17, 2024

"Error: Failed to get the VQD for query "2023马斯克的活动。"."

同样的代理, 用 https://github.com/binjie09/duckduckgo-api.git docker 部署的ddg 就可以正常用。

使用 v2.9.1 https://github.com/Hk-Gosuto/ChatGPT-Next-Web-LangChain/tree/377a50e2a6bf3a3a51e76ae0b0805d914ac741dd

docker 部署 hatGPT-Next-Web-LangChain 设置代理。 开启联网搜索 , 就提示 "Error: Failed to get the VQD for query ...

--- 这联网搜索太难了

最终,没解决直接用内置的ddg 这个方式,完成联网搜索。在最后,通过中转搜索的请求,处理了此问题。
#25 (comment)

from chatgpt-next-web-langchain.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.