Dela via


CodeInterpreterTool Class

Definition

Represents a tool that can be specified to an AI service to enable it to execute code it generates.

public ref class CodeInterpreterTool : Microsoft::Extensions::AI::AITool
public class CodeInterpreterTool : Microsoft.Extensions.AI.AITool
type CodeInterpreterTool = class
    inherit AITool
Public Class CodeInterpreterTool
Inherits AITool
Inheritance
CodeInterpreterTool

Remarks

This tool does not itself implement code interpration. 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

CodeInterpreterTool()

Initializes a new instance of the CodeInterpreterTool 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