| IsEnabled | (Enum Copilot Capability, ModuleInfo) | Boolean | public | 23-28 | - |
| IsEnabled | (Enum Copilot Capability, Boolean, ModuleInfo) | Boolean | public | 23-28 | - |
| IsAuthorizationConfigured | (Enum AOAI Model Type, ModuleInfo) | Boolean | public | 23-28 | - |
| IsInitialized | (Enum Copilot Capability, Enum AOAI Model Type, ModuleInfo) | Boolean | public | 23-28 | - |
| SetAuthorization | (Enum AOAI Model Type, Text) | | public | 23-28 | - |
| SetAuthorization | (Enum AOAI Model Type, Text, Text, SecretText) | | public | 23-28 | - |
| GenerateTextCompletion | (SecretText, var Codeunit AOAI Operation Response, ModuleInfo) | Text | public | 23-28 | - |
| GenerateTextCompletion | (SecretText, Codeunit AOAI Text Completion Params, var Codeunit AOAI Operation Response, ModuleInfo) | Text | public | 23-28 | - |
| GenerateTextCompletion | (SecretText, SecretText, var Codeunit AOAI Operation Response, ModuleInfo) | Text | public | 23-28 | - |
| GenerateTextCompletion | (SecretText, SecretText, Codeunit AOAI Text Completion Params, var Codeunit AOAI Operation Response, ModuleInfo) | Text | public | 23-28 | - |
| GenerateEmbeddings | (SecretText, var Codeunit AOAI Operation Response, ModuleInfo) | List | public | 23-28 | - |
| GenerateChatCompletion | (var Codeunit AOAI Chat Messages, var Codeunit AOAI Operation Response, ModuleInfo) | | public | 23-28 | - |
| GenerateChatCompletion | (var Codeunit AOAI Chat Messages, Codeunit AOAI Chat Completion Params, var Codeunit AOAI Operation Response, ModuleInfo) | | public | 23-28 | - |
| SetCopilotCapability | (Enum Copilot Capability, ModuleInfo) | | public | 23-28 | - |
| RemoveProhibitedCharacters | (Text) | Text | public | 23-28 | - |
| GetTextMetaprompt | () | SecretText | internal | 23-28 | - |
| ApproximateTokenCount | (Text) | Decimal | public | 23-26, gone | Pending 24.0 |
| Use the function GetTokenCount() instead. |
| SetManagedResourceAuthorization | (Enum AOAI Model Type, Text, Text, SecretText, Text) | | public | 24-28 | - |
| GetTokenCount | (SecretText, Text) | Integer | public | 24-28 | - |
| IsTenantAllowlistedForFirstPartyCopilotCalls | () | Boolean | internal | 24-25, gone | - |
| SetManagedResourceAuthorization | (Enum AOAI Model Type, Text, SecretText, Text) | | public | 26-28 | - |
| GetTotalServerSessionTokensConsumed | () | Integer | public | 26-28 | - |
| GetAzureOpenAICategory | () | Code[50] | public | 26-28 | - |
| GetServiceName | () | Text[250] | public | 26-28 | - |
| GetServiceId | () | Code[50] | public | 26-28 | - |
| IsBillingTypeAuthorized | (Codeunit AOAI Authorization, ModuleInfo) | Boolean | public | 27-28 | - |
| SetManagedResourceAuthorization | (Enum AOAI Model Type, Text) | | public | 28 | - |