Codeunit 6105 E-Doc. Similar Descriptions

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

Source AL, 273 lines

src/Apps/W1/EDocument/App/src/Processing/AI/Tools/EDocSimilarDescriptions.Codeunit.allines 14 to 29 of 273, Copyright (c) Microsoft Corporation. MIT

codeunit 6105 "E-Doc. Similar Descriptions" implements "AOAI Function", IEDocAISystem{    Access = Internal;    TableNo = "E-Document Purchase Line";    EventSubscriberInstance = Manual;    InherentPermissions = X;    InherentEntitlements = X;    var        EDocumentNo: Integer;    trigger OnRun()    var        TempEDocLineMatchBuffer: Record "EDoc Line Match Buffer" temporary;        EDocumentAIProcessor: Codeunit "E-Doc. AI Tool Processor";        EDocActivityLogBuilder: Codeunit "Activity Log Builder";

All 273 lines

Events 2 in 29

[IntegrationEvent] OnGetSimilarDescriptionsFunctionResponse(TempEDocLineMatchBuffer: Record "EDoc Line Match Buffer" temporary)new in 27
[IntegrationEvent] OnUserMessageCreated(UserMessageTxt: Text)new in 27

Public procedures 7 in 29

GetSimilarDescriptions(LineDescription: Text): Listnew in 27
GetPrompt(): JsonObjectnew in 27
Execute(Arguments: JsonObject): Variantnew in 27
GetName(): Textnew in 27
GetSystemPrompt(UserLanguage: Text): SecretTextnew in 27
GetTools(): Listnew in 27

All 7 procedures