Partilhar via


CreateRunOptions.OverrideTools Property

Definition

The overridden list of enabled tools that the assistant should use to run the thread. 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> OverrideTools { get; set; }
member this.OverrideTools : System.Collections.Generic.IList<Azure.AI.OpenAI.Assistants.ToolDefinition> with get, set
Public Property OverrideTools As IList(Of ToolDefinition)

Property Value

Applies to