Codeunit 7763 AOAI Chat Messages

System Application, System.AI
List17181920212223242526272829
Procedures18417

In 28 4 gone, 3 added

AddTool(NewTool: JsonObject)24 to 27
gone
ModifyTool(Id: Integer; NewTool: JsonObject)24 to 27
gone
DeleteTool(Id: Integer)24 to 27
gone
GetTools(): List24 to 27
gone
AddUserMessage(AOAIUserMessage: Codeunit "AOAI User Message")new in 28
added
AddUserMessage(AOAIUserMessage: Codeunit "AOAI User Message"; NewName: Text[2048])new in 28
added
internal CheckCompatibilityWithModel(Deployment: SecretText)new in 28
added

In 27 1 added

AddXPIADetectionTags(var Input: Text)new in 27
added

In 25 4 added

internal AddToolCalls(ToolCalls: JsonArray)new in 25
added
GetLastToolCalls(): JsonArraynew in 25
added
SetToolInvokePreference(AOAIToolInvokePreference: Enum "AOAI Tool Invoke Preference")new in 25
added
GetToolInvokePreference(): Enum "AOAI Tool Invoke Preference"new in 25
added

In 24 18 added

AddToolMessage(ToolCallId: Text; FunctionName: Text; FunctionResult: Text)new in 24
added
GetHistoryTokenCount(): Integernew in 24
added
AddTool(NewTool: JsonObject)24 to 27
added
ModifyTool(Id: Integer; NewTool: JsonObject)24 to 27
added
DeleteTool(Id: Integer)24 to 27
added
AddTool(Function: Interface "AOAI Function")new in 24
added
DeleteFunctionTool(Name: Text): Booleannew in 24
added
ClearTools()new in 24
added
GetFunctionTool(Name: Text; var Function: Interface "AOAI Function"): Booleannew in 24
added
GetFunctionTools(): Listnew in 24
added
GetTools(): List24 to 27
added
ToolsExists(): Booleannew in 24
added
SetAddToolsToPayload(AddToolsToPayload: Boolean)new in 24
added
SetToolChoice(ToolChoice: Text)new in 24
added
SetFunctionAsToolChoice(FunctionName: Text)new in 24
added
SetFunctionAsToolChoice(Function: Interface "AOAI Function")new in 24
added
GetToolChoice(): Textnew in 24
added
internal AssembleTools(): JsonArraynew in 24
added