Class StrictJsonSchemaAttribute
OpenAI styled Strict JSON Schema attribute for annotating classes.
StrictJsonSchemaAttribute > StrictJsonSchema > JsonSchemaFormat(ResponseFormat)
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct)]
public class StrictJsonSchemaAttribute : FunctionPropertyAttribute
- Inheritance
-
objectStrictJsonSchemaAttribute
- Derived
- Inherited Members
Constructors
StrictJsonSchemaAttribute(string)
public StrictJsonSchemaAttribute(string name)
Parameters
namestring
Properties
Strict
public bool Strict { get; set; }
Property Value
- bool