| SetPrimarySystemMessage(Message: SecretText) | new in 23 |
| AddSystemMessage(NewMessage: Text) | new in 23 |
| AddUserMessage(NewMessage: Text) | new in 23 |
| AddUserMessage(NewMessage: Text; NewName: Text[2048]) | new in 23 |
| AddAssistantMessage(NewMessage: Text) | new in 23 |
| ModifyMessage(Id: Integer; NewMessage: Text; NewRole: Enum "AOAI Chat Roles"; NewName: Text[2048]) | new in 23 |
| DeleteMessage(Id: Integer) | new in 23 |
| GetHistory(): List | new in 23 |
| GetHistoryNames(): List | new in 23 |
| GetHistoryRoles(): List | new in 23 |
| GetLastMessage(): Text | new in 23 |
| GetLastRole(): Enum "AOAI Chat Roles" | new in 23 |
| GetLastName(): Text[2048] | new in 23 |
| SetHistoryLength(NewLength: Integer) | new in 23 |
| internal AssembleHistory(var SystemMessageTokenCount: Integer; var MessagesTokenCount: Integer): JsonArray | new in 23 |
| AddToolMessage(ToolCallId: Text; FunctionName: Text; FunctionResult: Text) | new in 24 |
| GetHistoryTokenCount(): Integer | new in 24 |
| AddTool(Function: Interface "AOAI Function") | new in 24 |
| DeleteFunctionTool(Name: Text): Boolean | new in 24 |
| ClearTools() | new in 24 |
| GetFunctionTool(Name: Text; var Function: Interface "AOAI Function"): Boolean | new in 24 |
| GetFunctionTools(): List | new in 24 |
| ToolsExists(): Boolean | new in 24 |
| SetAddToolsToPayload(AddToolsToPayload: Boolean) | new in 24 |
| SetToolChoice(ToolChoice: Text) | new in 24 |
| SetFunctionAsToolChoice(FunctionName: Text) | new in 24 |
| SetFunctionAsToolChoice(Function: Interface "AOAI Function") | new in 24 |
| GetToolChoice(): Text | new in 24 |
| internal AssembleTools(): JsonArray | new in 24 |
| internal AddToolCalls(ToolCalls: JsonArray) | new in 25 |
| GetLastToolCalls(): JsonArray | new in 25 |
| SetToolInvokePreference(AOAIToolInvokePreference: Enum "AOAI Tool Invoke Preference") | new in 25 |
| GetToolInvokePreference(): Enum "AOAI Tool Invoke Preference" | new in 25 |
| AddXPIADetectionTags(var Input: Text) | new in 27 |
| AddUserMessage(AOAIUserMessage: Codeunit "AOAI User Message") | new in 28 |
| AddUserMessage(AOAIUserMessage: Codeunit "AOAI User Message"; NewName: Text[2048]) | new in 28 |
| internal CheckCompatibilityWithModel(Deployment: SecretText) | new in 28 |