FunctionCallContent Class

Definition

Represents a function call request.

C#
public sealed class FunctionCallContent : Microsoft.Extensions.AI.AIContent
Inheritance
FunctionCallContent

Constructors

Properties

AdditionalProperties

Gets or sets additional properties for the content.

(Inherited from AIContent)
Arguments

Gets or sets the arguments requested to be provided to the function.

CallId

Gets the function call ID.

Exception

Gets or sets any exception that occurred while mapping the original function call data to this class.

Name

Gets the name of the function requested.

RawRepresentation

Gets or sets the raw representation of the content from an underlying implementation.

(Inherited from AIContent)

Methods

CreateFromParsedArguments<TEncoding>(TEncoding, String, String, Func<TEncoding,IDictionary<String,Object>>)

Creates a new instance of FunctionCallContent parsing arguments using a specified encoding and parser.

Applies to

Product Versions
.NET 8 (package-provided), 9 (package-provided)
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)