Codeunit 2018 Magic Function

System Application, System.Text

Source AL, 44 lines

src/System Application/App/Entity Text/src/FunctionsImpl/MagicFunction.Codeunit.allines 10 to 25 of 44, Copyright (c) Microsoft Corporation. MIT

codeunit 2018 "Magic Function" implements "AOAI Function"{    Access = Internal;    InherentEntitlements = X;    InherentPermissions = X;    var        FunctionNameLbl: Label 'magic_function', Locked = true;        CompletionDeniedPhraseErr: Label 'Sorry, we could not generate a good suggestion for this. Review the information provided, consider your choice of words, and try again.';    [NonDebuggable]    procedure GetPrompt(): JsonObject    var        Prompt: Codeunit "Entity Text Prompts";        PromptJson: JsonObject;    begin

All 44 lines

Public procedures 3 in 29

GetPrompt(): JsonObjectnew in 24
Execute(Arguments: JsonObject): Variantnew in 24
GetName(): Textnew in 24