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

相关推荐
oioihoii6 小时前
【2024 博客之星评选】请继续保持Passion
ai
Damon小智12 小时前
合合信息DocFlow产品解析与体验:人人可搭建的AI自动化单据处理工作流
图像处理·人工智能·深度学习·机器学习·ai·自动化·docflow
健忘的派大星12 小时前
【AI大模型】根据官方案例使用milvus向量数据库打造问答RAG系统
人工智能·ai·语言模型·llm·milvus·agi·rag
孤独且没人爱的纸鹤13 小时前
【机器学习】深入无监督学习分裂型层次聚类的原理、算法结构与数学基础全方位解读,深度揭示其如何在数据空间中构建层次化聚类结构
人工智能·python·深度学习·机器学习·支持向量机·ai·聚类
shelby_loo1 天前
Azure学生订阅上手实操:快速搭建Docker+WordPress环境
microsoft·docker·azure
AI2AGI1 天前
天天AI-20250121:全面解读 AI 实践课程:动手学大模型(含PDF课件)
大数据·人工智能·百度·ai·文心一言
鸭鸭鸭进京赶烤1 天前
OpenAI秘密重塑机器人军团: 实体AGI的崛起!
人工智能·opencv·机器学习·ai·机器人·agi·机器翻译引擎
佛州小李哥1 天前
在亚马逊云科技上用AI提示词优化功能写出漂亮提示词(下)
人工智能·科技·ai·语言模型·云计算·aws·亚马逊云科技
大模型铲屎官1 天前
玩转 LangChain:从文档加载到高效问答系统构建的全程实战
人工智能·python·ai·langchain·nlp·文档加载·问答系统构建
Ai多利2 天前
2025发文新方向:AI+量化 人工智能与金融完美融合!
人工智能·ai·金融·量化