AITool Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a tool that can be specified to an AI service.
public ref class AITool abstract
public abstract class AITool
type AITool = class
Public MustInherit Class AITool
- Inheritance
-
AITool
- Derived
Constructors
| Name | Description |
|---|---|
| AITool() |
Initializes a new instance of the AITool class. |
Properties
| Name | Description |
|---|---|
| AdditionalProperties |
Gets any additional properties associated with the tool. |
| Description |
Gets a description of the tool, suitable for use in describing the purpose to a model. |
| Name |
Gets the name of the tool. |
Methods
| Name | Description |
|---|---|
| GetService(Type, Object) |
Asks the AITool for an object of the specified type |
| GetService<TService>(Object) |
Asks the AITool for an object of type |
| ToString() |
Returns a string that represents the current object. |
Extension Methods
| Name | Description |
|---|---|
| AsOpenAIResponseTool(AITool) |
Creates an OpenAI ResponseTool from an AITool. |