Support keyless authentication with Azure OpenAI
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 45/100
调研方向
首先定位演示的 Azure OpenAI 配置,以及任何现有的 Aspire 或 AZD 基础设施设置。将该设置与 issue 中的 Azure.Identity DefaultAzureCredential 示例进行比较;当演示使用无密钥身份验证,并且其配置指南仍然可用时,工作就完成了。
由索引模型根据 Issue 内容生成。
描述
Best practice guidance is to use keyless authentication with Azure resources, and we'll soon publish this guidance in our AI docs as well. We should update the demo to use a recommended pattern for this. For example, here's the default approach, using the Azure.Identity library, that is included in the upcoming doc:
Kernel kernel = Kernel
.CreateBuilder()
.AddAzureOpenAITextGeneration(
"your-model",
"your-endpoint",
new DefaultAzureCredential())
.Build();
This does increase some complexity in configuring the application, which for other samples we include in the infra code that's published with AZD. Perhaps there's a good practice for this with Aspire already, I just haven't dived in there yet - Filing the issue for now so I don't forget.
- 主要语言
- JavaScript
- 星标
- 661
- 派生
- 191
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
dotnet/eShopSupport 的其他 Issue
-
难度 5/5 一周以上 新手友好度 15/100
dotnet/eShopSupport#62 · 1 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 25/100
dotnet/eShopSupport#51 ·
-
难度 5/5 一周以上 新手友好度 15/100
dotnet/eShopSupport#50 ·
-
难度 4/5 3-5 天 新手友好度 35/100
dotnet/eShopSupport#47 · 2 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 45/100
dotnet/eShopSupport#46 ·
查看 dotnet/eShopSupport 的全部 Issue
相似的 Issue
-
documentation good first issue help wanted
难度 1/5 1-3 小时 新手友好度 92/100
维护者通常 1 天内回复
-
automated issue report
难度 1/5 1 小时以内 新手友好度 85/100
lirantal/discoprint#29 ·
维护者通常 1 天内回复
-
feature-request
难度 2/5 1-3 小时 新手友好度 68/100
louislam/uptime-kuma#7914 · 1 条评论 ·
维护者通常 1 天内回复
-
Code Cleanup dependencies
难度 1/5 1 小时以内 新手友好度 68/100
ProjectSidewalk/SidewalkWebpage#5609 ·
维护者通常 1 天内回复
-
help wanted javascript
难度 2/5 1-3 小时 新手友好度 68/100
OWASP/cornucopia#3538 ·
维护者通常 1 天内回复