#9969 Add AL fast prompt interface and wrappers
A new GetFastPrompt interface and AOAI Fast Prompt Response codeunit enable AL code to fetch blob-backed prompt templates from Edge Configuration Service with typed response handling.
- 6files
- 4AL files
- 3objects
Pull request · merged into main (BC30) on 2026-08-20 by Naveen26423 · 6 files (+231 -1), 4 AL · feature · tier official · reviewed (checked by Opus)
What changed
- New GetFastPrompt public procedure on Azure OpenAI codeunit for retrieving ECS-stored prompt templates
- New AOAI Fast Prompt Response codeunit (7789) provides typed response object with template, error code, and error message
- Integrates with DotNet ALCopilotFunctions layer to resolve fast prompts from ECS
- Supports error handling for invalid keys and unsupported authorization scenarios
- AI module object ID range expanded from 7788 to 7789
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 7771 “Azure OpenAI”, System Application: modified
- Codeunit 7772 “Azure OpenAI Impl”, System Application: modified
- Codeunit 7789 “AOAI Fast Prompt Response”, System Application: added
src/System Application/App/DotNet Aliases/src/dotnet.al: modified, not in the BC30 snapshot
Context
- Work items: AB#641501
- Labels: AL: System Application, Team: Integrations
- Systems: copilot
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Build the Copilot capability in AL — possibly related: touches Codeunit 7771 “Azure OpenAI”
- Data movement across geographies for Business Central Copilot and agent capabilities — possibly related: Azure OpenAI fast prompt response handling relates to data movement and processing of prompts across geographies. (model-linked)
- Get set up with Azure OpenAI Service — possibly related: Azure OpenAI codeunits for fast prompt interface require setup of Azure OpenAI Service prerequisites and permissions. (model-linked)
Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).