Codeunit 7779 Azure DI Impl.

System Application, System.AI.DocumentIntelligence

Source AL, 151 lines

src/System Application/App/AI/src/Azure AI Document Intelligence/AzureDIImpl.Codeunit.allines 14 to 29 of 151, Copyright (c) Microsoft Corporation. MIT

codeunit 7779 "Azure DI Impl." implements "AI Service Name"{    Access = Internal;    InherentEntitlements = X;    InherentPermissions = X;    var        CopilotCapabilityImpl: Codeunit "Copilot Capability Impl";        FeatureTelemetry: Codeunit "Feature Telemetry";        AzureDocumentIntelligenceCapabilityTok: Label 'ADI', Locked = true;        TelemetryAnalyzeInvoiceFailureLbl: Label 'Analyze invoice failed.', Locked = true;        TelemetryAnalyzeInvoiceCompletedLbl: Label 'Analyze invoice completed.', Locked = true;        TelemetryAnalyzeReceiptFailureLbl: Label 'Analyze receipt failed.', Locked = true;        TelemetryAnalyzeReceiptCompletedLbl: Label 'Analyze receipt completed.', Locked = true;        GenerateRequestFailedErr: Label 'The request did not return a success status code.';        AzureAiDocumentIntelligenceTxt: Label 'Azure AI Document Intelligence', Locked = true;

All 151 lines

Public procedures 6 in 29

SetCopilotCapability(Capability: Enum "Copilot Capability"; CallerModuleInfo: ModuleInfo)new in 26
RegisterCopilotCapability(CopilotCapability: Enum "Copilot Capability"; CopilotAvailability: Enum "Copilot Availability"; LearnMoreUrl: Text[2048]; CallerModuleInfo: ModuleInfo)new in 26
AnalyzeInvoice(Base64Data: Text; CallerModuleInfo: ModuleInfo): Textnew in 26
AnalyzeReceipt(Base64Data: Text; CallerModuleInfo: ModuleInfo): Textnew in 26
GetServiceName(): Text[250]new in 26
GetServiceId(): Code[50]new in 26