次の方法で共有


AssistantsModelFactory.RunStepToolCallDetails Method

Definition

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