Codeunit 7784 AOAI User Message Impl

System Application, System.AI

Source AL, 64 lines

src/System Application/App/AI/src/Azure OpenAI/Chat Completion/AOAIUserMessageImpl.Codeunit.allines 7 to 22 of 64, Copyright (c) Microsoft Corporation. MIT

codeunit 7784 "AOAI User Message Impl"{    Access = Internal;    InherentEntitlements = X;    InherentPermissions = X;    var        CopilotCapabilityImpl: Codeunit "Copilot Capability Impl";        [NonDebuggable]        ContentParts: JsonArray;        HasFileContent, HasTextContent : Boolean;        NotMicrosoftPublisherErr: Label 'This functionality is only available to Microsoft published apps.';    [NonDebuggable]    procedure AddTextPart(TextContent: Text; CallerModuleInfo: ModuleInfo)    var

All 64 lines

Public procedures 3 in 29

AddTextPart(TextContent: Text; CallerModuleInfo: ModuleInfo)new in 28
AddFilePart(FileData: Text; CallerModuleInfo: ModuleInfo)new in 28
GetContentParts(): JsonArraynew in 28

All 5 procedures in 28-29