JSON

@Serializable
sealed class JSON : LLMCapability.Schema(source)

Represents a sealed class defining JSON schema support as a part of an AI model's capability. Each subtype of this class specifies a distinct level of JSON support.

Inheritors

Types

Link copied to clipboard
@Serializable
data object Full : LLMCapability.Schema.JSON

Represents a data object for the "full" JSON schema type.

Link copied to clipboard
@Serializable
data object Simple : LLMCapability.Schema.JSON

Represents a simple JSON schema support capability within the context of language learning models (LLMs). Used to specify lightweight or basic JSON processing capabilities.

Properties

Link copied to clipboard
val id: String

The unique identifier for this capability.

Link copied to clipboard

The language format associated with the schema.

Link copied to clipboard

Describes the type of JSON support (e.g., "simple", "full").