Interface AOAI Function

System Application, System.AI

Source AL, 34 lines

src/System Application/App/AI/src/Azure OpenAI/Chat Completion/Tools/AOAIFunction.Interface.allines 7 to 22 of 34, Copyright (c) Microsoft Corporation. MIT

interface "AOAI Function"{    Access = Public;    /// <summary>    /// Get the prompt for the Function. Function prompt object describes the Function and the should contain the following fields:    ///     - Type: The name of the Function, currently only function type is supported. For functions following fields are allowed:    ///     -- Name: The name of the Function. (Required)    ///     -- Description: The description of the Function. (Optional)    ///     -- Parameters: The parameters of the Function. (Required)    /// More details can be found here: https://go.microsoft.com/fwlink/?linkid=2254538    /// </summary>    procedure GetPrompt(): JsonObject;    /// <summary>    /// This function is invoked as a response from Azure OpenAI.

All 34 lines

Public procedures 3 in 29

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

Implemented by 16

codeunit 331 "No. Series Cop. Add Intent"Business Foundationnew in 25
codeunit 334 "No. Series Cop. Change Intent"Business Foundationnew in 25
codeunit 339 "No. Series Cop. Generate"Business Foundationnew in 25
codeunit 349 "No. Series Cop. Nxt Yr. Intent"Business Foundationnew in 25
codeunit 2017 "Generate Prod Mkt Ad Function"System Applicationnew in 24
codeunit 2018 "Magic Function"System Applicationnew in 24
codeunit 4302 "SOA Validation Function"Sales Order Agentnew in 26
codeunit 4403 "SOA Output Message Validation"Sales Order Agentnew in 27
codeunit 4407 "SOA Email Template Validation"Sales Order Agentnew in 27
codeunit 4416 "SOA Item Selector Func"Sales Order Agentnew in 28
codeunit 4597 "SOA Broader Item Search Func"Sales Order Agentnew in 25
codeunit 6105 "E-Doc. Similar Descriptions"E-Document Corenew in 27
codeunit 6126 "E-Doc. GL Account Matching"E-Document Corenew in 26
codeunit 6129 "E-Doc. Deferral Matching"E-Document Corenew in 26
codeunit 6167 "E-Doc. PO AOAI Function"E-Document Corenew in 24
codeunit 6177 "E-Doc. Historical Matching"E-Document Corenew in 27