แชร์ผ่าน


AIFunctionParameterMetadata Class

Definition

Provides read-only metadata for an AIFunction parameter.

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

Constructors

AIFunctionParameterMetadata(AIFunctionParameterMetadata)

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

AIFunctionParameterMetadata(String)

Initializes a new instance of the AIFunctionParameterMetadata class for a parameter with the specified name.

Properties

DefaultValue

Gets the default value of the parameter.

Description

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

HasDefaultValue

Gets a value indicating whether the parameter has a default value.

IsRequired

Gets a value indicating whether the parameter is required.

Name

Gets the name of the parameter.

ParameterType

Gets the .NET type of the parameter.

Schema

Gets a JSON Schema describing the parameter's type.

Applies to