HostedCodeInterpreterTool 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 hosted tool that can be specified to an AI service to enable it to execute code it generates.
public ref class HostedCodeInterpreterTool : Microsoft::Extensions::AI::AITool
public class HostedCodeInterpreterTool : Microsoft.Extensions.AI.AITool
type HostedCodeInterpreterTool = class
inherit AITool
Public Class HostedCodeInterpreterTool
Inherits AITool
- Inheritance
Remarks
This tool does not itself implement code interpretation. It is a marker that can be used to inform a service that the service is allowed to execute its generated code if the service is capable of doing so.
Constructors
| HostedCodeInterpreterTool() |
Initializes a new instance of the HostedCodeInterpreterTool class. |
Properties
| AdditionalProperties |
Gets any additional properties associated with the tool. (Inherited from AITool) |
| Description |
Gets a description of the tool, suitable for use in describing the purpose to a model. (Inherited from AITool) |
| Inputs |
Gets or sets a collection of AIContent to be used as input to the code interpreter tool. |
| Name |
Gets the name of the tool. |
Methods
| 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. (Inherited from AITool) |