KernelJsonSchema Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |