Class StrictJsonSchema
OpenAI styled JSON Schema for strict response formatting.
Inheritance
StrictJsonSchema
Assembly: Glitch9.AIDevKit.dll
Syntax
[JsonConverter(typeof(StrictJsonSchemaConverter))]
public class StrictJsonSchema
Constructors
|
Edit this page
View Source
StrictJsonSchema()
Declaration
public StrictJsonSchema()
Properties
|
Edit this page
View Source
Description
Declaration
[JsonProperty("description")]
public string Description { get; set; }
Property Value
|
Edit this page
View Source
Name
Declaration
[JsonProperty("name")]
public string Name { get; set; }
Property Value
|
Edit this page
View Source
Schema
Declaration
[JsonProperty("schema")]
public JsonSchema Schema { get; set; }
Property Value
|
Edit this page
View Source
Strict
Declaration
[JsonProperty("strict")]
public bool Strict { get; set; }
Property Value
Methods
|
Edit this page
View Source
FromAttribute(StrictJsonSchemaAttribute, JsonSchema)
Declaration
public static StrictJsonSchema FromAttribute(StrictJsonSchemaAttribute attribute, JsonSchema schema)
Parameters
Returns
Extension Methods