AssistantsModelFactory.RunStepToolCallDetails Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of RunStepToolCallDetails.
public static Azure.AI.OpenAI.Assistants.RunStepToolCallDetails RunStepToolCallDetails (System.Collections.Generic.IEnumerable<Azure.AI.OpenAI.Assistants.RunStepToolCall> toolCalls = default);
static member RunStepToolCallDetails : seq<Azure.AI.OpenAI.Assistants.RunStepToolCall> -> Azure.AI.OpenAI.Assistants.RunStepToolCallDetails
Public Shared Function RunStepToolCallDetails (Optional toolCalls As IEnumerable(Of RunStepToolCall) = Nothing) As RunStepToolCallDetails
Parameters
- toolCalls
- IEnumerable<RunStepToolCall>
A list of tool call details for this run step. Please note RunStepToolCall 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 RunStepCodeInterpreterToolCall, RunStepFunctionToolCall and RunStepRetrievalToolCall.
Returns
A new RunStepToolCallDetails instance for mocking.
Applies to
Azure SDK for .NET