azure-search-openai-demo-csharp does not deploy correctly to azure clooad

题意:"azure-search-openai-demo-csharp 无法正确部署到 Azure 云中"

问题背景:

I want to try the sample, which Microsoft provided about the azure search.

"我想尝试微软提供的关于 Azure 搜索的示例。"GitHub - Azure-Samples/azure-search-openai-demo-csharp: A sample app for the Retrieval-Augmented Generation pattern running in Azure, using Azure Cognitive Search for retrieval and Azure OpenAI large language models to power ChatGPT-style and Q&A experiences..

I have all rights, what are needed for creating this sample

"我拥有创建此示例所需的所有权限。"

  • Access to Azure OpenAI Service "访问 Azure OpenAI 服务"
  • Owner of the subscription "订阅的所有者"

but the deployment always fails. I have two different errors. Sometime everthing works without any issues except the "redis" resource and sometimes the "openai"-resource already fails.

"但部署总是失败。我遇到了两个不同的错误。有时一切正常,除了"redis"资源有问题;有时"openai"资源就已经失败了。"

redis error redis的错误信息:

{ "code": "ContainerAppOperationError", "message": "Failed to provision revision for container app 'redis'. Error details: Operation expired." }

openai error openai 的错误信息

"error": { "code": "InvalidTemplateDeployment", "message": "The template deployment 'openai' is not valid according to the validation procedure. The tracking id is '- --'. See inner errors for details.", "details": [ { "code": "InsufficientQuota", "message": "Insufficient quota. Cannot create/update/move resource 'cog-******'." } ] }

Any ideas why this errors occurs?

"有任何想法为什么会出现这些错误吗?"

I also tried the python sample, with the same openai error...

"我也尝试了 Python 示例,但遇到了相同的 OpenAI 错误......"

问题解决:

I already fixed the issues.

"我已经解决了这些问题。"

redis error redis 错误信息

Now this timeout error does not occur anymore. Not 100% sure what the issue was.

"现在这个超时错误不再出现了。对问题的具体原因还不是 100% 确定。"

openai error openai 错误信息

Resources like OPEN AI have in the overview a section "show deleted resources". And those resources still blocking "quotes". After deleting these resources via "purge" everything worked as expected again.

"像 OPEN AI 这样的资源在概览中有一个"显示已删除资源"的选项。这些资源仍然会阻止"引用"。在通过"清除"删除这些资源后,一切恢复正常。"

相关推荐
哥不是小萝莉8 小时前
CocoIndex实现AI数据语义检索
ai·cocoindex
charlee449 小时前
PandasAI连接LLM进行智能数据分析
ai·数据分析·llm·pandasai·deepseek
九河云13 小时前
从 “制造” 到 “智造”:中国制造业数字化转型的突围之路
科技·ai·制造·数字化转型·传统
yeshan33313 小时前
使用 Claude Code 的自定义 Sub Agent 完善博文写作体验
ai·github·agent·claudecode
戴维-davy13 小时前
什么?智能体生成智能体?自我进化?
ai·agent·智能体
守城小轩18 小时前
从零开始学习Dify-数据库数据可视化(五)
ai·ai客服·ai浏览器
正宗咸豆花1 天前
在 Azure 中配置 SMS 与 OTP
microsoft·flask·azure
YXWik61 天前
Linux(centos7)安装 docker + ollama+ deepseek-r1:7b + Open WebUI(内含一键安装脚本)
linux·docker·ai
charlee441 天前
行业思考:不是前端不行,是只会前端不行
前端·ai
豌豆花下猫1 天前
Python 潮流周刊#112:欢迎 AI 时代的编程新人
后端·python·ai