Class StrictJsonSchemaAttribute
OpenAI styled Strict JSON Schema attribute for annotating classes.
StrictJsonSchemaAttribute > StrictJsonSchema > JsonSchemaFormat(ResponseFormat)
Inheritance
StrictJsonSchemaAttribute
Inherited Members
Namespace: Glitch9.AIDevKit
Assembly: Glitch9.AIDevKit.dll
Syntax
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct)]
public class StrictJsonSchemaAttribute : FunctionPropertyAttribute
Constructors
| Edit this page View SourceStrictJsonSchemaAttribute(string, string)
Declaration
public StrictJsonSchemaAttribute(string name, string description = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | |
| string | description |
Properties
| Edit this page View SourceStrict
Declaration
public bool Strict { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |