Class FunctionSchemaAttribute
OpenAI styled JSON Schema attribute for annotating classes for LLM function calls.
Note: It's a duplicate of StrictJsonSchemaAttribute for clarity and intent.
Inheritance
FunctionSchemaAttribute
Inherited Members
Namespace: Glitch9.AIDevKit
Assembly: Glitch9.AIDevKit.dll
Syntax
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct)]
public sealed class FunctionSchemaAttribute : StrictJsonSchemaAttribute
Constructors
| Edit this page View SourceFunctionSchemaAttribute(string, string)
Declaration
public FunctionSchemaAttribute(string name, string description = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | |
| string | description |