Udostępnij za pośrednictwem


AssistantCreationOptions.Tools Property

Definition

The collection of tools to enable for the new assistant. Please note ToolDefinition is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include CodeInterpreterToolDefinition, FunctionToolDefinition and RetrievalToolDefinition.

public System.Collections.Generic.IList<Azure.AI.OpenAI.Assistants.ToolDefinition> Tools { get; }
member this.Tools : System.Collections.Generic.IList<Azure.AI.OpenAI.Assistants.ToolDefinition>
Public ReadOnly Property Tools As IList(Of ToolDefinition)

Property Value

Applies to