-
Notifications
You must be signed in to change notification settings - Fork 384
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] #48
Comments
提供一下部署的命令以及环境,我使用以下方式部署并没有出现你的错误 docker run --rm -p 3000:3000 \
-e OPENAI_API_KEY="sk-xxxx" \
-e CODE="111111111" \
gosuto/chatgpt-next-web-langchain |
Provide the deployment command and environment. I deployed using the following method and your error did not occur. docker run --rm -p 3000:3000 \
-e OPENAI_API_KEY="sk-xxxx" \
-e CODE="111111111" \
gosuto/chatgpt-next-web-langchain |
你好,我使用的是群辉docker的可视化部署 我用原版的chat gt next web 是可以成功部署的 但是使用您发布的版本,使用相同的环境配置也不能正常的运行起来
…---Original---
From: ***@***.***>
Date: Thu, Oct 12, 2023 17:58 PM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [Hk-Gosuto/ChatGPT-Next-Web-LangChain] [Bug] (Issue #48)
提供一下部署的命令以及环境,我使用以下方式部署并没有出现你的错误
docker run --rm -p 3000:3000 \ -e OPENAI_API_KEY="sk-xxxx" \ -e CODE="111111111" \ gosuto/chatgpt-next-web-langchain
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
不知道是否方便加一下联系方式呢 微信in scram,Facebook,Twitter都可以
…---Original---
From: ***@***.***>
Date: Thu, Oct 12, 2023 17:58 PM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [Hk-Gosuto/ChatGPT-Next-Web-LangChain] [Bug] (Issue #48)
提供一下部署的命令以及环境,我使用以下方式部署并没有出现你的错误
docker run --rm -p 3000:3000 \ -e OPENAI_API_KEY="sk-xxxx" \ -e CODE="111111111" \ gosuto/chatgpt-next-web-langchain
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
我使用群晖尝试部署了一次,也是没问题的。 |
I tried deploying it once using Synology, and it was no problem. |
你好 我在内网访问部署的服务也是一样的报错 我没有填写proxy_url 而是在环境的base_url中写了一家提供转发服务的网址(https://api.chatanywhere.com.cn)
所以请问base_url是api请求的网址对嘛
…---Original---
From: ***@***.***>
Date: Thu, Oct 12, 2023 18:50 PM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [Hk-Gosuto/ChatGPT-Next-Web-LangChain] [Bug] (Issue #48)
我使用群晖尝试部署了一次,也是没问题的。
我看你的报错信息其实并不是程序本身的问题,chatgpt_web 是你的容器名,错误信息是无法通过 dns 找到这个主机名的地址,你可以试着换一个容器名。
最好也检查一下 PROXY_URL 这个环境变量配置的是否有误。
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
我重新尝试配置环境变量后依然是同样的错误 不知道是否可以提供群晖部署的教程 也可以帮助后来者方便部署 感谢 |
I still got the same error after trying to configure the environment variables again. I wonder if you can provide a tutorial on Synology deployment, which can also help latecomers to facilitate deployment. Thank you |
你的 base_url 的配置是对的,建议你开启群晖的 ssh 功能后直接使用命令部署,看你的日志可能还有大小写的问题,也可以全使用小写试试。 |
Your base_url configuration is correct. It is recommended that you enable Synology's ssh function and directly use the command to deploy. There may be a case problem in your logs. You can also try using all lowercase letters. |
好的 感谢 我尝试一下谢谢
…---Original---
From: ***@***.***>
Date: Thu, Oct 12, 2023 21:08 PM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [Hk-Gosuto/ChatGPT-Next-Web-LangChain] [Bug] (Issue #48)
你的 base_url 的配置是对的,建议你开启群晖的 ssh 功能后直接使用命令部署,看你的日志可能还有大小写的问题,也可以全使用小写试试。
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
你好 我根据原本下的问题找到了解决方法 分享一下 |
Hello, I found a solution based on the original question. Share it. |
想再请问一下 PROXY_URL 是在api无法请求api.openai.com时使用吗 如果我使用了转代理的请求平台(api.chatanywhere.com.cn) 是否需要代理 |
I would like to ask again whether PROXY_URL is used when the api cannot request api.openai.com. If I use the proxy request platform (api.chatanywhere.com.cn), do I need a proxy? |
指定 BASE_URL 一般就不需要配置 PROXY_URL 了,除非你使用的插件需要代理。 |
Specifying BASE_URL generally does not require configuring PROXY_URL, unless the plug-in you use requires a proxy. |
检查下你的容器日志有没有错误信息 |
Check your container logs for error messages |
你好 这个是日志 敏感信息已经处理 麻烦将后缀改为html方便查看 报错是。。。生成很多数字 |
Hello, this is a log. Sensitive information has been processed. Please change the suffix to html for easier viewing. The error is reported. . . generate a lot of numbers |
你的 BASE_URL 有问题,日志中的显示:[Base Url] https://api.openai.com。 |
There is a problem with your BASE_URL, as shown in the log: [Base Url] https://api.openai.com. |
你的 prompt 应该不太对,我猜你是直接让 gpt 去百度搜索吧? |
Your prompt is probably wrong. I guess you just asked gpt to search on Baidu directly? |
❤️❤️😍😍😍
…---Original---
From: ***@***.***>
Date: Fri, Oct 13, 2023 09:00 AM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [Hk-Gosuto/ChatGPT-Next-Web-LangChain] [Bug] (Issue #48)
你的 prompt 应该不太对,我猜你是直接让 gpt 去百度搜索吧?
正确的做法是根据插件的描述,使用 prompt 去引导 gpt 使用哪个插件,我举个例子:
所有搜索引擎插件的描述都是 a search engine. useful for when you need to answer questions about current events. input should be a search query. ,你只需要在 prompt 中包含类似帮我搜索一下,帮我使用搜索引擎检索之类的关键字就可以,而不需要指定百度或者谷歌,因为在插件中也没有描述这些。
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
使用您提供的prompt插件1已经可以稳定查询网络内容,但是插件3会返还如图的回答
此外,webdav配置完成后似乎无法成功同步,我确认我的配置没有错误 请问可能是什么原因导致连通性测试失败
…---Original---
From: ***@***.***>
Date: Fri, Oct 13, 2023 09:00 AM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [Hk-Gosuto/ChatGPT-Next-Web-LangChain] [Bug] (Issue #48)
你的 prompt 应该不太对,我猜你是直接让 gpt 去百度搜索吧?
正确的做法是根据插件的描述,使用 prompt 去引导 gpt 使用哪个插件,我举个例子:
所有搜索引擎插件的描述都是 a search engine. useful for when you need to answer questions about current events. input should be a search query. ,你只需要在 prompt 中包含类似帮我搜索一下,帮我使用搜索引擎检索之类的关键字就可以,而不需要指定百度或者谷歌,因为在插件中也没有描述这些。
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
抱歉 我错位的理解了插件3的作用 问题已经解决 感谢
…---Original---
From: ***@***.***>
Date: Fri, Oct 13, 2023 09:00 AM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [Hk-Gosuto/ChatGPT-Next-Web-LangChain] [Bug] (Issue #48)
你的 prompt 应该不太对,我猜你是直接让 gpt 去百度搜索吧?
正确的做法是根据插件的描述,使用 prompt 去引导 gpt 使用哪个插件,我举个例子:
所有搜索引擎插件的描述都是 a search engine. useful for when you need to answer questions about current events. input should be a search query. ,你只需要在 prompt 中包含类似帮我搜索一下,帮我使用搜索引擎检索之类的关键字就可以,而不需要指定百度或者谷歌,因为在插件中也没有描述这些。
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
webdav 代码与原版是一致的,有时候测试失败但是可以正常同步,可以在去原版的仓库提 issues。 |
The webdav code is consistent with the original version. Sometimes the test fails but can be synchronized normally. You can go to the original warehouse to raise issues. |
好的 👌🏻
…---Original---
From: ***@***.***>
Date: Fri, Oct 13, 2023 11:01 AM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [Hk-Gosuto/ChatGPT-Next-Web-LangChain] [Bug] (Issue #48)
webdav 代码与原版是一致的,有时候测试失败但是可以正常同步,可以在去原版的仓库提 issues。
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
The text was updated successfully, but these errors were encountered: