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

相关推荐
白萝卜弟弟2 小时前
【大模型Qwen3.8 27B】llama.cpp 本地大模型部署与使用
ai·大模型·agent·llama·qwen3.8
李航19833 小时前
给自己的图形引擎,配上了AI渲染,做设计真是太方便了
人工智能·python·计算机视觉·ai·ai编程
玫瑰互动GEO4 小时前
开发者学GEO优化:从算法基础到CoT推理链
大数据·人工智能·ai·geo·ai搜索·geo优化
voipmaker4 小时前
AI 赋能安防系统演进:从硬件单品到场景化融合调度架构
人工智能·ai·架构
玫瑰互动GEO5 小时前
GEM优化的三层量化维度:答案层·交互层·交易意图层
ai·ai助手·gem·gem优化·生成式引擎营销
运维开发王义杰7 小时前
大模型 API 配额防透支:Redis Lua 原子预扣与多租户治理实战
ai
XLYcmy8 小时前
AI 时代,MOM(制造运营管理系统)该如何演进? 中
ai·llm·agent·工作流·rag·harness·工业系统
TTc_8 小时前
Agent长上下文压缩为什么会反复失败
ai·ai编程
武雄(小星Ai)9 小时前
Opus 5.5 降价40%、GPT-6 API腰斩:2026年9月AI编程模型选购指南(附成本计算器)
人工智能·ai·编程语言
一切皆是因缘际会10 小时前
掌控信息论:同源星际通信零延迟架构
人工智能·深度学习·ai·系统架构·信息与通信·星际通信·同源通信