当前位置: 首页 > news >正文

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

相关文章:

  • 北京网站建设多少钱?
  • 辽宁网页制作哪家好_网站建设
  • 高端品牌网站建设_汉中网站制作
  • PostgreSQL初始化数据库和用户
  • 哈希表两数求和
  • SpringBoot-读取配置文件方式
  • 智能学习辅助系统——后端部分
  • zigbee笔记、十五、组播通信原理
  • 【60天备战2024年11月软考高级系统架构设计师——第0天:详细规划与学习心得】
  • 为什么需要对即将上线的系统进行压力测试
  • Vue——认识day02
  • 力扣刷题--2185. 统计包含给定前缀的字符串【简单】
  • 虚幻引擎UE5入坑记
  • 2024Android面试题与答案(2)
  • 三种tcp并发服务器实现程序
  • 【C#】【EXCEL】Bumblebee/Components/Analysis/GH_Ex_Ana_CondBetween.cs
  • WPF—资源的使用
  • 速盾:整站加速和cdn的关系是怎样的?
  • 【刷算法】求1+2+3+...+n
  • interface和setter,getter
  • js 实现textarea输入字数提示
  • 如何用vue打造一个移动端音乐播放器
  • 提醒我喝水chrome插件开发指南
  • 学习ES6 变量的解构赋值
  • 学习Vue.js的五个小例子
  • 原生js练习题---第五课
  • 源码之下无秘密 ── 做最好的 Netty 源码分析教程
  • 容器镜像
  • 新海诚画集[秒速5センチメートル:樱花抄·春]
  • ​LeetCode解法汇总518. 零钱兑换 II
  • #绘制圆心_R语言——绘制一个诚意满满的圆 祝你2021圆圆满满
  • (1)Android开发优化---------UI优化
  • (70min)字节暑假实习二面(已挂)
  • (C++)八皇后问题
  • (Redis使用系列) SpringBoot中Redis的RedisConfig 二
  • (void) (_x == _y)的作用
  • (第三期)书生大模型实战营——InternVL(冷笑话大师)部署微调实践
  • (二)windows配置JDK环境
  • (附源码)springboot炼糖厂地磅全自动控制系统 毕业设计 341357
  • (论文阅读11/100)Fast R-CNN
  • (四)库存超卖案例实战——优化redis分布式锁
  • (学习日记)2024.04.04:UCOSIII第三十二节:计数信号量实验
  • (一)十分简易快速 自己训练样本 opencv级联haar分类器 车牌识别
  • (转)详解PHP处理密码的几种方式
  • (转载)CentOS查看系统信息|CentOS查看命令
  • **Java有哪些悲观锁的实现_乐观锁、悲观锁、Redis分布式锁和Zookeeper分布式锁的实现以及流程原理...
  • .NET / MSBuild 扩展编译时什么时候用 BeforeTargets / AfterTargets 什么时候用 DependsOnTargets?
  • .NET Windows:删除文件夹后立即判断,有可能依然存在
  • .NET 中选择合适的文件打开模式(CreateNew, Create, Open, OpenOrCreate, Truncate, Append)
  • .NetCore项目nginx发布
  • .NET国产化改造探索(一)、VMware安装银河麒麟
  • .net开发引用程序集提示没有强名称的解决办法
  • @Repository 注解
  • [ CTF ] WriteUp-2022年春秋杯网络安全联赛-冬季赛
  • [ vulhub漏洞复现篇 ] Apache Flink目录遍历(CVE-2020-17519)
  • [].slice.call()将类数组转化为真正的数组
  • [2024-06]-[大模型]-[Ollama]- WebUI
  • [3D基础]理解计算机3D图形学中的坐标系变换