OpenAIChatMessageContent.GetOpenAIFunctionToolCalls Method

Definition

Retrieve the resulting function from the chat result.

public System.Collections.Generic.IReadOnlyList<Microsoft.SemanticKernel.Connectors.OpenAI.OpenAIFunctionToolCall> GetOpenAIFunctionToolCalls ();
member this.GetOpenAIFunctionToolCalls : unit -> System.Collections.Generic.IReadOnlyList<Microsoft.SemanticKernel.Connectors.OpenAI.OpenAIFunctionToolCall>
Public Function GetOpenAIFunctionToolCalls () As IReadOnlyList(Of OpenAIFunctionToolCall)

Returns

The OpenAIFunctionToolCall, or null if no function was returned by the model.

Applies to