Class StrictJsonSchema
OpenAI styled JSON Schema for strict response formatting.
public class StrictJsonSchema
- Inheritance
-
objectStrictJsonSchema
- Extension Methods
Constructors
StrictJsonSchema()
public StrictJsonSchema()
Properties
Description
public string Description { get; set; }
Property Value
- string
Name
public string Name { get; set; }
Property Value
- string
Schema
public JsonSchema Schema { get; set; }
Property Value
- JsonSchema
Strict
public bool Strict { get; set; }
Property Value
- bool
Methods
FromAttribute(StrictJsonSchemaAttribute, JsonSchema)
public static StrictJsonSchema FromAttribute(StrictJsonSchemaAttribute attribute, JsonSchema schema)
Parameters
attributeStrictJsonSchemaAttributeschemaJsonSchema