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 这样的资源在概览中有一个"显示已删除资源"的选项。这些资源仍然会阻止"引用"。在通过"清除"删除这些资源后,一切恢复正常。"

相关推荐
Liaiyang6625 分钟前
空圈容错:从 (0, 1) 夹缝本体论到 11 次跨域盲测
ai·大模型·量子力学·科学哲学·宇宙学·认识论·认知边界
俊哥V1 小时前
每日 AI 研究简报 · 2026-10-19
人工智能·ai
秋饼2 小时前
LLM API密钥动态轮换实战:Spring Vault + Spring AI + 多Provider路由
java·ai·技术分享·后端开发
KeyAction66664 小时前
第二届中国国际人工智能+行动大会看点:智能体专场、算力账本与产品发布
人工智能·ai
znnnk6 小时前
【AI技术】Vibe Coding 实践指南:从项目规划到高效开发
人工智能·ai·ai编程·ai ide·vibe coding
全栈练习生6 小时前
文档智能与实践
python·ai
七牛云行业应用8 小时前
Codex接MCP完整教程:从官方文档服务器到HTTP、STDIO与OAuth配置(2026年10月)
人工智能·ai·agent·ai编程
西索斯coding8 小时前
Grok 4.7 调用一直 401 怎么办?不是 Key 过期,是 Authorization 头格式问题——排查全流程 + 修复示例
服务器·开发语言·ai·php
音符犹如代码9 小时前
DeepSeek-V4.1-Flash-1017 上手实测:3D 直出,效果到底如何
人工智能·3d·ai·ai编程
刘 大 望10 小时前
Agent 的规划与执行范式:Plan-Execute-Replan 与 ReAct
java·python·ai·chatgpt·langchain·ai编程