Condividi tramite


AIFunctionMetadata Class

Definition

Provides read-only metadata for an AIFunction.

public ref class AIFunctionMetadata sealed
public sealed class AIFunctionMetadata
type AIFunctionMetadata = class
Public NotInheritable Class AIFunctionMetadata
Inheritance
AIFunctionMetadata

Constructors

AIFunctionMetadata(AIFunctionMetadata)

Initializes a new instance of the AIFunctionMetadata class as a copy of another AIFunctionMetadata.

AIFunctionMetadata(String)

Initializes a new instance of the AIFunctionMetadata class for a function with the specified name.

Properties

AdditionalProperties

Gets any additional properties associated with the function.

Description

Gets a description of the function, suitable for use in describing the purpose to a model.

JsonSerializerOptions

Gets a JsonSerializerOptions that may be used to marshal function parameters.

Name

Gets the name of the function.

Parameters

Gets the metadata for the parameters to the function.

ReturnParameter

Gets parameter metadata for the return parameter.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetParameter(String)

Gets the AIFunctionParameterMetadata for a parameter by its name.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to