SmartTool

Wisej.AI.SmartTool

Namespace: Wisej.AI

Assembly: Wisej.AI (3.5.0.0)

Represents a tool that can be used to perform operations on a target object using a specified method.

public class SmartTool

Constructors

SmartTool(target, method)

Initializes a new instance of the SmartTool class with the specified target and method.

Name
Type
Description

target

The target object on which the method will be invoked.

method

The method to be invoked on the target object.

Throws:

Properties

Description

Stringarrow-up-right: Gets the description of the method.

FullName

Stringarrow-up-right: Gets the full name of the method including the namespace.

Name

Stringarrow-up-right: Gets the name of the method.

Namespace

Stringarrow-up-right:

NamespaceDescription

Stringarrow-up-right: Gets the description of the namespace.

Parameters

Parameter[]arrow-up-right: Gets the parameters of the method.

ReturnType

Typearrow-up-right: Gets the return type of the method.

Target

Objectarrow-up-right: Gets the object containing this tool.

Methods

GetParametersSchema()

Returns a JSON schema representing the tool's parameters or null when the function doesn't have arguments.

Returns: Objectarrow-up-right. JSON schema object

Last updated