Class FunctionPropertyAttribute
Attribute for marking properties as function parameters in JSON Schema for LLM function calls.
Note: It's a duplicate of JsonSchemaPropertyAttribute for clarity and intent.
[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field)]
public class FunctionPropertyAttribute : JsonSchemaPropertyAttribute
- Inheritance
-
objectFunctionPropertyAttribute
- Derived
Constructors
FunctionPropertyAttribute(string)
public FunctionPropertyAttribute(string name)
Parameters
namestring
Properties
AdditionalProperties
public bool AdditionalProperties { get; set; }
Property Value
- bool