Table of Contents

Class StrictJsonSchema

Namespace
Glitch9.AIDevKit

OpenAI styled JSON Schema for strict response formatting.

public class StrictJsonSchema
Inheritance
object
StrictJsonSchema
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

attribute StrictJsonSchemaAttribute
schema JsonSchema

Returns

StrictJsonSchema