Partager via


KernelJsonSchema Class

Definition

Represents JSON Schema for describing types used in KernelFunctions.

[System.Text.Json.Serialization.JsonConverter(typeof(Microsoft.SemanticKernel.KernelJsonSchema+JsonConverter))]
public sealed class KernelJsonSchema
[<System.Text.Json.Serialization.JsonConverter(typeof(Microsoft.SemanticKernel.KernelJsonSchema+JsonConverter))>]
type KernelJsonSchema = class
Public NotInheritable Class KernelJsonSchema
Inheritance
KernelJsonSchema
Attributes

Properties

RootElement

Gets a JsonElement representing the root element of the schema.

Methods

Parse(ReadOnlySpan<Byte>)

Parses a JSON Schema for a parameter type.

Parse(ReadOnlySpan<Char>)

Parses a JSON Schema for a parameter type.

Parse(String)

Parses a JSON Schema for a parameter type.

ToString()

Gets the JSON Schema as a string.

Applies to