| IsEnabled | (Enum Copilot Capability) | Boolean | public | 23-28 | - |
| IsEnabled | (Enum Copilot Capability, Boolean) | Boolean | public | 23-28 | - |
| IsAuthorizationConfigured | (Enum AOAI Model Type) | Boolean | public | 23-28 | - |
| IsInitialized | (Enum Copilot Capability, Enum AOAI Model Type) | Boolean | public | 23-28 | - |
| SetAuthorization | (Enum AOAI Model Type, Text, Text, SecretText) | | public | 23-28 | - |
| SetAuthorization | (Enum AOAI Model Type, Text) | | public | 23-28 | - |
| GenerateTextCompletion | (SecretText, var Codeunit AOAI Operation Response) | Text | public | 23-28 | - |
| GenerateTextCompletion | (SecretText, Codeunit AOAI Text Completion Params, var Codeunit AOAI Operation Response) | Text | public | 23-28 | - |
| GenerateTextCompletion | (SecretText, SecretText, var Codeunit AOAI Operation Response) | Text | public | 23-28 | - |
| GenerateTextCompletion | (SecretText, SecretText, Codeunit AOAI Text Completion Params, var Codeunit AOAI Operation Response) | Text | public | 23-28 | - |
| GenerateEmbeddings | (SecretText, var Codeunit AOAI Operation Response) | List | public | 23-28 | - |
| GenerateChatCompletion | (var Codeunit AOAI Chat Messages, var Codeunit AOAI Operation Response) | | public | 23-28 | - |
| GenerateChatCompletion | (var Codeunit AOAI Chat Messages, Codeunit AOAI Chat Completion Params, var Codeunit AOAI Operation Response) | | public | 23-28 | - |
| SetCopilotCapability | (Enum Copilot Capability) | | public | 23-28 | - |
| ApproximateTokenCount | (Text) | Integer | public | 23-26, gone | Pending 24.0 |
| Use the AOAI Token codeunit. |
| SetManagedResourceAuthorization | (Enum AOAI Model Type, Text, Text, SecretText, Text) | | public | 24-28 | Pending 26.0 |
| Using Managed AI resources now requires different input parameters. Use the other overload for SetManagedResourceAuthorization instead. |
| IsEnabled | (Enum Copilot Capability, Boolean, Guid) | Boolean | public | 25-28 | - |
| SetManagedResourceAuthorization | (Enum AOAI Model Type, Text, SecretText, Text) | | public | 26-28 | Pending 28.0 |
| Using Managed AI resources now requires only Model Type & Deployment Text as input parameters. Use the other overload for SetManagedResourceAuthorization instead. AOAIAccountName & ApiKey are ignored in the current version of SetManagedResourceAuthorization. |
| SetManagedResourceAuthorization | (Enum AOAI Model Type, Text) | | public | 28 | - |