Table of Contents

Class FunctionSchemaAttribute

Namespace
Glitch9.AIDevKit

OpenAI styled JSON Schema attribute for annotating classes for LLM function calls.

Note: It's a duplicate of StrictJsonSchemaAttribute for clarity and intent.

[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct)]
public class FunctionSchemaAttribute : StrictJsonSchemaAttribute
Inheritance
object
FunctionSchemaAttribute
Inherited Members

Constructors

FunctionSchemaAttribute(string, string)

public FunctionSchemaAttribute(string name, string description = null)

Parameters

name string
description string