Codeunit 2018 Magic Function
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