Determines whether the specified object is equal to the current object.
The object to compare with the current object.
true if the specified object is equal to the current object; otherwise, false.
Serves as the default hash function.
A hash code for the current object.
Returns a string that represents the current object.
A string that represents the current object.
StaticEqualsDetermines whether the specified object instances are considered equal.
The first object to compare.
The second object to compare.
true if the objects are considered equal; otherwise, false. If both objA and objB are null, the method returns true.
Initializes a new instance of the Spotfire.Dxp.Framework.Ai.ActionAiTool class. This overload accepts a dynamic callback object, which allows ClearScript to marshal a JavaScript function directly without requiring an explicit delegate conversion.
The name of the tool. Must be a valid function name for the AI model.
A description of what the tool does, used by the model to decide when to call it.
A JSON Schema string describing the parameters the tool accepts. Example: {"properties": {"query": {"type": "string", "description": "The search query"}}, "required": ["query"]}
A callback object that is invoked when the model calls this tool. The argument is the JSON-serialized arguments from the model. The return value is serialized and sent back to the model as the tool result. This overload exists to support ClearScript interop where JavaScript functions cannot be automatically marshalled to System.Func.
Represents an AI tool that can be passed to chat completion to allow the model to invoke callbacks with structured arguments.
Since
2.5