Hk-Gosuto / ChatGPT-Next-Web-LangChain

一键拥有你自己的 ChatGPT 网页服务。 One-Click to deploy your own ChatGPT web UI.(基于 langchain 实现的插件版本 Plugin version implemented based on langchain)

Home Page:https://n3xt.chat

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

azure官方api无法使用

zbzzh opened this issue · comments

commented

Bug Description

{
"error": true,
"message": "404 The API deployment for this resource does not exist. If you created the deployment within the last 5 minutes, please wait a moment and try again."
}
还需要转换为openai格式吗,原版的就不需要啊
链接我填的这个
https://xxx.openai.azure.com//openai/deployments
不能用

Steps to Reproduce

{
"error": true,
"message": "404 The API deployment for this resource does not exist. If you created the deployment within the last 5 minutes, please wait a moment and try again."
}
还需要转换为openai格式吗,原版的就不需要啊
链接我填的这个
https://xxx.openai.azure.com//openai/deployments
不能用

Expected Behavior

123

Screenshots

No response

Deployment Method

  • Docker
  • Vercel
  • Server

Desktop OS

No response

Desktop Browser

No response

Desktop Browser Version

No response

Smartphone Device

No response

Smartphone OS

No response

Smartphone Browser

No response

Smartphone Browser Version

No response

Additional Logs

No response

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


Title: azure official api cannot be used

按这个格式配置
image

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


Configure according to this format
image

commented

按这个格式配置 image

image

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


按这个格式配置 image

image

commented

不行

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


no

检查以下你的接口地址,你上面发的地址里多了一个 /。
https://xxx.openai.azure.com//openai/deployments -> https://xxx.openai.azure.com/openai/deployments

我刚也部署了一个 gpt-4o 的模型,是可以正常使用的,环境是:https://n3xt.chat/

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


Check your interface address below. There is an extra / in the address you sent above.
https://xxx.openai.azure.com//openai/deployments -> https://xxx.openai.azure.com/openai/deployments

I have just deployed a gpt-4o model and it can be used normally. The environment is: https://n3xt.chat/

commented

检查以下你的接口地址,你上面发的地址里多了一个 /。 https://xxx.openai.azure.com/openai/deployments -> https://xxx.openai.azure.com/openai/deployments

我刚也部署了一个 gpt-4o 的模型,是可以正常使用的,环境是:https://n3xt.chat/

我就是用的你的demo

https://xxxx.openai.azure.com//openai/deployments
image

image

能不能给个临时的联系方式呀,可以远程帮忙看下吗

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


Check your interface address below. There is an extra / in the address you sent above. https://xxx.openai.azure.com//openai/deployments -> https://xxx.openai.azure.com/openai/deployments

I have just deployed a gpt-4o model and it can be used normally. The environment is: https://n3xt.chat/

I just used your demo

https://xxxx.openai.azure.com//openai/deployments
image

image

Can you give me temporary contact information? Can you help me remotely?

commented

我去掉那个/了,还是不行

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


I removed that /, but it still doesn’t work

commented

我找到原因了,模型名要写gpt4o而不是gpt-4o,我尝试修改一下,另外请问,gpt4o支持传文件吗

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


I found the reason. The model name should be written as gpt4o instead of gpt4o. Can this background be modified?

commented

作者你好,我刚才测试文件上传功能时,在你的demo上传了一些个人资料,麻烦您能删除一下,涉及到个人隐私谢谢

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


Hello author, when I was testing the file upload function just now, I uploaded some personal information in your demo. Could you please delete it? It involves personal privacy. Thank you.

删掉了

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


deleted

我找到原因了,模型名要写gpt4o而不是gpt-4o,我尝试修改一下,另外请问,gpt4o支持传文件吗

支持函数调用的模型都可以,填写好相关的配置就行。

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


I found the reason. The model name should be written as gpt4o instead of gpt-4o. I will try to modify it. Also, does gpt4o support file transfer?

Any model that supports function calling is acceptable, just fill in the relevant configuration.

commented

试了一下 传文件不行,他一直让我提供链接,我无论怎么发给他他都说不行

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


I tried it, but it didn't work. He kept asking me to provide a link. No matter how I sent it to him, he said it couldn't work.

可以引导 ai 使用 rag-search 插件进行文档检索,不然上下文中没用文件相关的内容。
这部分后面会做一些优化,把上传后的文件描述添加到系统提示词里。

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


You can guide AI to use the rag-search plug-in for document retrieval, otherwise there will be no file-related content in the context.
Some optimizations will be done later in this part, and the uploaded file description will be added to the system prompt words.

commented

强烈支持,现在很多人需要传文件这个功能,如果可以上传到第三方存储就更好了
顺便问下google custom search免费的api配额有多少

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


Strong support. Many people now need the function of uploading files. It would be better if they could be uploaded to third-party storage.
By the way, what is the free API quota of Google Custom Search?

看文档中的描述应该是每天免费100次搜索。
https://developers.google.com/custom-search/v1/overview?hl=zh_CN

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


According to the description in the document, it should be 100 free searches per day.
https://developers.google.com/custom-search/v1/overview?hl=zh_CN