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

相关推荐
yuhulkjv33517 分钟前
Grok鸿蒙版导出word格式的终极解法:AI导出鸭如何重构AI内容到文档的最后一公里
人工智能·ai·word·harmonyos·ai导出鸭
xiezhr36 分钟前
开源两天 9.5 万 Star!DeepSeek Harness 到底是个啥?小白安装到实战一篇讲透
ai·github·ai agent·deepseek·deepseek harness
tachibana240 分钟前
怎么让大模型同时给意图节点打分
大数据·人工智能·ai·大模型·llm·prompt
a1122998211 小时前
GEO工具选型指南:对照2026新标准看落地能力
ai·工具
圆奋奋10 小时前
DeepSeek Harness:尝鲜
ai·deepseek
bransyin14 小时前
一个 SQL 字段到底是怎么算出来的?我做了一个能给出“证据”的血缘工具
大数据·sql·ai·血缘
ljheee14 小时前
DeepSeek Harness (DSH) 深度解析:从 Cordis 架构到自进化 Agent 的可能性
ai
CC大煊15 小时前
从夯到拉:锐评国内向量模型选型
人工智能·ai·架构·langchain
武雄(小星Ai)16 小时前
Agent记忆系统工程排坑:从Prompt Cache被打碎到Embedding迁移数据税
ai·系统架构·agent·智能体·深度评测