Codeunit 7778 AOAI Tools Impl

System Application, System.AI

20 procedures

ProcedureVersions
AddTool(Tool: Interface "AOAI Function")new in 24
GetTool(Name: Text; var Function: Interface "AOAI Function"): Booleannew in 24
GetFunctionTools(): Listnew in 24
AddTool(NewTool: JsonObject)24 to 27
Pending, tag 25.0, obsolete since 24: Use AddTool that takes in an AOAI Function interface instead.
ModifyTool(Id: Integer; NewTool: JsonObject)24 to 27
Pending, tag 25.0, obsolete since 24: Use ModifyTool that takes in an AOAI Function interface instead.
DeleteTool(Id: Integer)24 to 27
Pending, tag 25.0, obsolete since 24: Use DeleteTool that takes in a function name instead.
GetTools(): List24 to 27
Pending, tag 25.0, obsolete since 24: Use GetTool() that takes in a function name and var for AOAI Function interface.
DeleteTool(Name: Text): Booleannew in 24
ClearTools()new in 24
PrepareTools(): JsonArraynew in 24
ToolsExists(): Booleannew in 24
SetAddToolToPayload(AddToolsToPayload: Boolean)new in 24
SetToolChoice(NewToolChoice: Text)new in 24
SetFunctionAsToolChoice(Function: Interface "AOAI Function")new in 24
SetFunctionAsToolChoice(FunctionName: Text)new in 24
GetToolChoice(): Textnew in 24
IsToolsList(Message: Text): Boolean24 to 24
ConvertToJsonArray(Message: Text): JsonArray24 to 24
SetToolInvokePreference(NewAOAIToolInvokePreference: Enum "AOAI Tool Invoke Preference")new in 25
GetToolInvokePreference(): Enum "AOAI Tool Invoke Preference"new in 25