แชร์ผ่าน


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 can 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

GetParameter(String)

Gets the AIFunctionParameterMetadata for a parameter by its name.

Applies to