Closed xiaohuoni closed 9 months ago
Latest commit: c4c24c1e531a57bab0d21995363eb1abe685f9d7
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
alita-alita | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Nov 22, 2023 7:32am |
@alita/plugin-azure
增加 azure api 对接插件
配置
配置中需要提供三个变量
环境变量中必须提供 AZURE_OPENAI_API_KEY
如
.env.local
中使用
项目中使用
从 alita 中导出 sendOpenAI 和 openai
插件中使用
增加 umi 插件 api - onIntlAzure 可以取到 send 和 openai 对象,你可以保存下来,供其他生命周期使用