Codeunit 2012 Entity Text Impl.
src/System Application/App/Entity Text/src/EntityTextImpl.Codeunit.al10 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT
IsEnabled line 25
- 29callsCodeunit 7771 Azure OpenAI IsEnabled
CanSuggest line 37
- 42callsCodeunit 2011 Entity Text AOAI Settings IsEnabled
- 45callsCodeunit 2016 Entity Text Prompts HasPromptInfo
GenerateSuggestion line 49
- 58callsIsEnabled
- 60callsCanSuggest
- 63callsBuildFacts
- 64callsCodeunit 2016 Entity Text Prompts BuildPrompts
- 66callsGetFeatureName
- 68callsGenerateAndReviewCompletion
InsertSuggestion line 80
- 87callsSetText
- 89writesTable 2000000132 Entity Text Insert
- 90writesTable 2000000132 Entity Text Modify
- 92callsGetFeatureName
SetText line 95
- 109callsCodeunit 3960 Regex Replace
- 111callsCodeunit 3960 Regex Replace
GenerateAndReviewCompletion line 199, local
- 209callsGenerateCompletion
- 211callsCompletionContainsPrompt
- 211callsIsGoodCompletion
- 215callsGetFeatureName
- 219callsGetFeatureName
- 221callsCodeunit 2018 Magic Function Execute
IsGoodCompletion line 247, local
- 259callsGetFeatureName
- 264callsGetFeatureName
- 283callsGetFeatureName
- 288callsCodeunit 3960 Regex Match
- 293callsTable 3965 Matches ReadValue
- 306callsGetFeatureName
- 312callsGetFeatureName
GenerateCompletion line 320, local
- 343callsCodeunit 7771 Azure OpenAI SetAuthorization
- 346callsCodeunit 7771 Azure OpenAI SetAuthorization
- 346callsCodeunit 7768 AOAI Deployments GetGPT56CeresLatest
- 350callsCodeunit 8703 Feature Telemetry LogError
- 350callsGetFeatureName
- 354callsCodeunit 7771 Azure OpenAI SetCopilotCapability
- 356callsCodeunit 7761 AOAI Chat Completion Params SetMaxTokens
- 357callsCodeunit 7761 AOAI Chat Completion Params SetTemperature
- 359callsCodeunit 7763 AOAI Chat Messages AddTool
- 361callsCodeunit 2017 Generate Prod Mkt Ad Function SetTextFormat
- 362callsCodeunit 7763 AOAI Chat Messages AddTool
- 363callsCodeunit 7763 AOAI Chat Messages SetToolChoice
- 365callsCodeunit 7763 AOAI Chat Messages SetPrimarySystemMessage
- 366callsCodeunit 7763 AOAI Chat Messages AddUserMessage
- 369callsCodeunit 7771 Azure OpenAI GenerateChatCompletion
- 373callsCodeunit 7770 AOAI Operation Response IsSuccess
- 374callsCodeunit 7770 AOAI Operation Response IsFunctionCall
- 375callsCodeunit 7770 AOAI Operation Response GetFunctionResponses
- 376callsCodeunit 8703 Feature Telemetry LogUsage
- 376callsGetFeatureName
- 379callsCodeunit 7758 AOAI Function Response IsSuccess
- 380callsCodeunit 8703 Feature Telemetry LogError
- 380callsGetFeatureName
- 384callsCodeunit 7758 AOAI Function Response GetResult
- 386callsCodeunit 7758 AOAI Function Response GetFunctionName
- 386callsCodeunit 2018 Magic Function GetName
- 391callsCodeunit 8703 Feature Telemetry LogError
- 391callsGetFeatureName
- 395callsCodeunit 8703 Feature Telemetry LogError
- 395callsGetFeatureName
- 395callsCodeunit 7770 AOAI Operation Response GetStatusCode
- 398callsCodeunit 2011 Entity Text AOAI Settings ContainsWordsInDenyList