Share via


FunctionCallContent Class

Definition

Represents a function call requested by LLM.

public sealed class FunctionCallContent : Microsoft.SemanticKernel.KernelContent
type FunctionCallContent = class
    inherit KernelContent
Public NotInheritable Class FunctionCallContent
Inherits KernelContent
Inheritance
FunctionCallContent

Constructors

FunctionCallContent(String, String, String, KernelArguments)

Creates a new instance of the FunctionCallContent class.

Properties

Arguments

The kernel arguments.

Exception

The exception that occurred while mapping original LLM function call to the model class.

FunctionName

The function name.

Id

The function call ID.

InnerContent

The inner content representation. Use this to bypass the current abstraction.

(Inherited from KernelContent)
Metadata

The metadata associated with the content.

(Inherited from KernelContent)
MimeType

MIME type of the content.

(Inherited from KernelContent)
ModelId

The model ID used to generate the content.

(Inherited from KernelContent)
PluginName

The plugin name.

Methods

GetFunctionCalls(ChatMessageContent)

Returns list of function calls provided via Items collection.

InvokeAsync(Kernel, CancellationToken)

Invokes the function represented by the function call content type.

Applies to