[Bug] Azure Openai 部署后,只有 3.5 可以用 #1674
-
💻 系统环境Other 📦 部署环境Vercel / Zeabur / Sealos 🌐 浏览器Chrome 🐛 问题描述
🚦 期望结果No response 📷 复现步骤No response 📝 补充信息No response |
Beta Was this translation helpful? Give feedback.
Replies: 11 comments 2 replies
-
👀 @itcodes Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. |
Beta Was this translation helpful? Give feedback.
-
LobeChat 约定了与模型同名的部署名才能正常使用。那么类似gpt-4-0125-preview,在 Azure 中他就是 gpt4,只不过模型版本是 0125,如何调整呀?感谢。 |
Beta Was this translation helpful? Give feedback.
-
LobeChat agrees that a deployment name with the same name as the model can be used normally. So similar to gpt-4-0125-preview, it is gpt4 in Azure, but the model version is 0125. How to adjust it? grateful. |
Beta Was this translation helpful? Give feedback.
-
设置 - 通用模型 -自定义模型名称 , 添加 Azure 后台显示的模型名称, 然后就可以选了。 另外好像 docker 启动时,可以加参数添加自定义模型。 |
Beta Was this translation helpful? Give feedback.
-
Settings - General Model - Custom Model Name, add the model name that Azure will display later, and then you can select it. In addition, it seems that when docker starts, you can add parameters to add a custom model. |
Beta Was this translation helpful? Give feedback.
-
没看到你说的这个自定义模型在哪里呀?我在部署的时候就配置了。 |
Beta Was this translation helpful? Give feedback.
-
I don’t see where the custom model you mentioned is? I configured it during deployment. |
Beta Was this translation helpful? Give feedback.
-
去 azure 新建部署,部署名填写 要用 gpt-4-vision-preview 的话, 再次在 azure 中新建部署, 部署名填写 https://chat-docs.lobehub.com/zh/self-hosting/examples/azure-openai 原因参考这个 |
Beta Was this translation helpful? Give feedback.
-
感谢。已解决。这跟 nextweb 还不太一样。另外想问下。如果用了CUSTOM_MODELS,-all,+gpt-4-turbo-preview后,为啥默认的 版本还是 gpt-3.5-turbo |
Beta Was this translation helpful? Give feedback.
-
这个我没关注过。你可以试试环境变量里使用 |
Beta Was this translation helpful? Give feedback.
-
实际上现在版本依然有这个问题,DEFAULT_AGENT_CONFIG设置model后,它选择的model似乎还是openAI的model,而非我配置的azure model。然后会问我要openapi key: 具体信息:
另外DEFAULT_AGENT_CONFIG还试过model=gpt-4o,结果同上,都不好使。 简单结论:纯Azure OpenAI无法开箱即用,需要在对话框上面手动选择一下azure的model,才能正常使用。 BTW,请问系统助手能配置吗?目前没看到相关文档。 |
Beta Was this translation helpful? Give feedback.
去 azure 新建部署,部署名填写
gpt-4-turbo-preview
, 模型选择gpt-4
,模型版本选择0613 默认
, 然后点击创建要用 gpt-4-vision-preview 的话, 再次在 azure 中新建部署, 部署名填写
gpt-4-vision-preview
,模型选择gpt-4
, 模型版本选择vision-preview
, 点击创建https://chat-docs.lobehub.com/zh/self-hosting/examples/azure-openai 原因参考这个