Codeunit 4421 SOA Attachment MLLM

Sales Order Agent, Microsoft.Agent.SalesOrderAgent

Source AL, 279 lines

src/Apps/W1/SalesOrderAgent/app/src/Integration/SOAAttachmentMLLM.Codeunit.allines 13 to 28 of 279, Copyright (c) Microsoft Corporation. MIT

codeunit 4421 "SOA Attachment MLLM"{    Access = Internal;    Permissions = tabledata "Agent Task File" = r, tabledata "Agent Task Message Attachment" = rM;    InherentEntitlements = X;    InherentPermissions = X;    var        ExtractionSystemPromptTok: Label 'Prompts/AttachmentExtraction/soa-attachment-extraction-system.md', Locked = true;        ExtractionUserPromptTok: Label 'Prompts/AttachmentExtraction/soa-attachment-extraction-user.md', Locked = true;        ExtractionSchemaTok: Label 'Prompts/AttachmentExtraction/soa-attachment-extraction-example.json', Locked = true;        SecurityPromptTok: Label 'SalesOrderAgent-Irrelevance-SecurityPromptV28', Locked = true;        SchemaNameTok: Label 'soa-attachment-content', Locked = true;        SchemaPlaceholderTok: Label '%1', Locked = true;        ProvenanceTok: Label 'soa_source_file_id', Locked = true;        FileDataTok: Label 'data:%1;base64,%2', Comment = '%1 = MIME type, %2 = base64 file content', Locked = true;

All 279 lines

Procedures 1

ProcedureVersions
internal EnsureCanonicalTextContent(var AgentTaskMessageAttachment: Record "Agent Task Message Attachment"; var CanonicalContent: Text; var FailureReason: Text): Booleannew in 29