Source AL, 108 lines
src/System Application/App/Entity Text/src/EntityTextAOAISettings.Codeunit.allines 16 to 31 of 108, Copyright (c) Microsoft Corporation. MIT
codeunit 2011 "Entity Text AOAI Settings"{ Access = Internal; InherentEntitlements = X; InherentPermissions = X; procedure IsEnabled(Silent: Boolean): Boolean var [SecurityFiltering(SecurityFilter::Ignored)] EntityText: Record "Entity Text"; AzureOpenAI: Codeunit "Azure OpenAI"; CopilotCapability: Codeunit "Copilot Capability"; begin if not GuiAllowed() then begin Session.LogMessage('0000LJA', TelemetryGuiNotAllowedTxt, Verbosity::Normal, DataClassification::SystemMetadata, TelemetryScope::ExtensionPublisher, 'Category', TelemetryCategoryLbl); exit(false);
All 108 lines
Public procedures 3 in 29
All 6 procedures in 22-29
Changes 5 in 23
| List | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
|---|
| Object | | | | | | | 1 | | | | | | |
|---|
| Procedures | | | | | | | 4 | | | | | | |
|---|
| codeunit 2011 "Entity Text AOAI Settings" | new in 22 |
| changed, was codeunit 2011 "Azure OpenAi Impl." |
| IsPendingPrivacyApproval(): Boolean | 22 to 22 |
| gone |
| internal GenerateCompletion(Prompt: Text; CallerModuleInfo: ModuleInfo): Text | 22 to 22 |
| gone |
| internal GenerateCompletion(Prompt: Text; MaxTokens: Integer; Temperature: Decimal; CallerModuleInfo: ModuleInfo): Text | 22 to 22 |
| gone |
| ContainsWordsInDenyList(Completion: Text): Boolean | new in 23 |
| added |
All 5 changes in 22-29