Share via


HostedCodeInterpreterTool Class

Definition

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
HostedCodeInterpreterTool

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)
Name

Gets the name of the tool.

(Inherited from AITool)

Methods

ToString()

Returns a string that represents the current object.

(Inherited from AITool)

Applies to