Search Results for

    Show / Hide Table of Contents

    Class StrictJsonSchema

    OpenAI styled JSON Schema for strict response formatting.

    Inheritance
    object
    StrictJsonSchema
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit
    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
    Type Description
    string
    | Edit this page View Source

    Name

    Declaration
    [JsonProperty("name")]
    public string Name { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Schema

    Declaration
    [JsonProperty("schema")]
    public JsonSchema Schema { get; set; }
    Property Value
    Type Description
    JsonSchema
    | Edit this page View Source

    Strict

    Declaration
    [JsonProperty("strict")]
    public bool Strict { get; set; }
    Property Value
    Type Description
    bool

    Methods

    | Edit this page View Source

    FromAttribute(StrictJsonSchemaAttribute, JsonSchema)

    Declaration
    public static StrictJsonSchema FromAttribute(StrictJsonSchemaAttribute attribute, JsonSchema schema)
    Parameters
    Type Name Description
    StrictJsonSchemaAttribute attribute
    JsonSchema schema
    Returns
    Type Description
    StrictJsonSchema

    Extension Methods

    StrictJsonSchemaExtensions.ToJsonSchemaFormat(StrictJsonSchema)
    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation