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.
Inheritance
FunctionPropertyAttribute
Inherited Members
Namespace: Glitch9.AIDevKit
Assembly: Glitch9.AIDevKit.dll
Syntax
[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field)]
public class FunctionPropertyAttribute : JsonSchemaPropertyAttribute
Constructors
| Edit this page View SourceFunctionPropertyAttribute(string, string)
Declaration
public FunctionPropertyAttribute(string name, string description = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | |
| string | description |
Properties
| Edit this page View SourceAdditionalProperties
Declaration
public bool AdditionalProperties { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |