microsoft/AL helps add AI capability without starting from a blank model stack
说明与用途
**价值**
- **快速赋能 AI**:通过 AL 语言扩展,开发者可以在 Dynamics 365 Business Central 中直接调用 AI 功能,而无需自行搭建模型训练、部署和运维的完整技术栈。
- **统一开发体验**:所有编译、调试、发布工具都集成在 VS Code 中,保持与现有 Business Central 开发流程一致,降低学习成本。
- **社区与微软支持**:项目已有 857 Stars、280 Fork,且由微软官方维护,能够及时获取最新的编译器和 AI 预览功能。
**典型接入方式**
- **准备环境**
- 在本地或 CI 环境中安装最新的 **Visual Studio Code**。
- 从 VS Code Marketplace 安装 **AL Language** 扩展(或使用 AL Developer Preview 版本)。
- **创建或迁移 AL 项目**
- 使用
AL: Go!向导生成一个空的 Business Central AL 项目,或在现有项目中添加app.json中的 AI 相关依赖(如 Azure OpenAI、Copilot Extensions)。
- **编写 AI 业务逻辑**
- 在
.al文件中调用已封装的 AI API(例如AzureOpenAICall),或利用Codeunit/Page与外部服务交互,实现 RAG、智能客服、推荐等功能。
- **本地调试 & 部署**
- 通过
Ctrl+F5启动本地 Docker‑based Business Central 沙箱进行调试。 - 完成后使用
Publish将.app包部署到云端或本地 Production 环境。
**生产可用性**
- **成熟度**:Medium。当前版本已在多个内部原型和小规模业务场景中验证,编译器和 AI 扩展功能在 Microsoft 官方渠道持续更新。
- **准备工作**:在正式上线前,需要完成以下检查:
- **依赖审计**:确认所使用的 AI 服务(如 Azure OpenAI)已在组织内获得授权并具备容量配额。
- **安全合规**:评估数据流向,确保敏感业务数据在调用 AI 服务时符合 GDPR、ISO 等合规要求。
- **性能基准**:在预生产环境进行负载测试,验证 AI 调用的响应时延和并发限制是否满足业务 SLA。
- **运维成本**:主要集中在 AI 服务的配额管理和 AL 扩展的版本同步(每月检查 Marketplace 更新),相对独立于底层模型运维,整体运维负担较低。
**结论**:microsoft/AL 适合作为 **原型验证** 或 **内部业务流程自动化** 的加速器,能够在保持 Business Central 开发统一性的前提下快速引入 AI 能力。若业务对可靠性、合规性有严格要求,建议先在受控的 PoC 环境中验证集成路径,再逐步推广到生产。
问题
microsoft/AL helps add AI capability without starting from a blank model stack.
结果
Medium: useful for prototypes or internal workflows, with dependency and maintenance checks before production.
工作流
- prototype AI features
- build RAG or agent workflows
- evaluate model tooling
证据
Home of the Dynamics 365 Business Central AL Language extension for Visual Studio Code. Used to track issues regarding the latest version of the AL compiler and developer tools available in the Visual Studio Code Marketplace or as part of the AL Developer Preview builds for Dynamics 365 Business Central.
- 记录日期: 2026-09-18T19:30:44.315Z