Class FunctionParameterContract
public class FunctionParameterContract
- Inheritance
-
FunctionParameterContract
- Inherited Members
Properties
DefaultValue
The default value of the parameter.
public object? DefaultValue { get; set; }
Property Value
Description
The description of the parameter. This will be extracted from the param section of the structured comment if available. Otherwise, the description will be null.
public string? Description { get; set; }
Property Value
IsRequired
If the parameter is a required parameter.
public bool IsRequired { get; set; }
Property Value
Name
The name of the parameter.
public string? Name { get; set; }
Property Value
ParameterType
The type of the parameter.
[JsonIgnore]
public Type? ParameterType { get; set; }
Property Value
Operators
implicit operator AIFunctionParameterMetadata(FunctionParameterContract)
public static implicit operator AIFunctionParameterMetadata(FunctionParameterContract contract)
Parameters
contract
FunctionParameterContract
Returns
- AIFunctionParameterMetadata
implicit operator FunctionParameterContract(AIFunctionParameterMetadata)
public static implicit operator FunctionParameterContract(AIFunctionParameterMetadata metadata)
Parameters
metadata
AIFunctionParameterMetadata