Udostępnij za pośrednictwem


CreateAndRunThreadOptions.OverrideTools Property

Definition

The overridden list of enabled tools 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; }
member this.OverrideTools : System.Collections.Generic.IList<Azure.AI.OpenAI.Assistants.ToolDefinition>
Public ReadOnly Property OverrideTools As IList(Of ToolDefinition)

Property Value

Applies to