Schema

@Serializable
sealed interface Schema(source)

Represents a generic schema for structured data, defining a common contract for schemas. This is a sealed interface, enabling a restrictive set of implementations.

Inheritors

Types

Link copied to clipboard
@Serializable
sealed interface JSON : LLMParams.Schema

Represents a sealed interface JSON that defines a schema entity. It extends the Schema interface and has a property for schema representation.

Properties

Link copied to clipboard
abstract val name: String

Represents a person's name as a string. This variable is intended to store the full name or a specific format of a name.