Interface IEDocAISystem

E-Document Core, Microsoft.eServices.EDocument.Processing.AI

Source AL, 43 lines

src/Apps/W1/EDocument/App/src/Processing/Interfaces/IEDocAISystem.Interface.allines 15 to 30 of 43, Copyright (c) Microsoft Corporation. MIT

interface IEDocAISystem{    Access = Public;    /// <summary>    /// Gets the system prompt used to configure the AI model for this specific processing scenario.    /// The system prompt provides context and instructions to the AI model about its role and expected behavior.    /// </summary>    /// <param name="UserLanguage">The language code representing the user's preferred language for localization. Prompts should output in the specified language.</param>    /// <returns>The system prompt as SecretText, typically retrieved from Azure Key Vault or resource files.</returns>#pragma warning disable AS0066,AS0024    procedure GetSystemPrompt(UserLanguage: Text): SecretText#pragma warning restore AS0066,AS0024    /// <summary>    /// Gets the list of AOAI Function tools that define what functions the AI model can call during processing.

All 43 lines

Public procedures 3 in 29

GetSystemPrompt(UserLanguage: Text): SecretTextnew in 27
GetTools(): Listnew in 27
GetFeatureName(): Textnew in 27

Implemented by 4

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 6177 "E-Doc. Historical Matching"E-Document Corenew in 27