Click or drag to resize

AITool Class

Describes a tool (function) that an AI provider can invoke.
Inheritance Hierarchy
SystemObject
  Seal.AIAITool

Namespace: Seal.AI
Assembly: SealLibrary (in SealLibrary.dll) Version: 10.0.1.0+a44cd3a7f03c2bf3cdbd971a878c679e40bed08a
Syntax
C#
public class AITool

The AITool type exposes the following members.

Constructors
 NameDescription
Public methodAIToolInitializes a new instance of the AITool class
Top
Properties
 NameDescription
Public propertyDescriptionHuman-readable description of what the tool does.
Public propertyNameFunction name – must be unique within a request.
Public propertyParametersSchema JSON Schema string describing the function's parameters. Example: {"type":"object","properties":{"city":{"type":"string"}},"required":["city"]} Pass null or an empty string for tools that take no parameters.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also