AnthropicStandardJsonSchemaGenerator

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard

Default instance of AnthropicStandardJsonSchemaGenerator. Prefer to use it instead of creating new instances manually.

Functions

Link copied to clipboard
open override fun generate(json: Json, name: String, serializer: KSerializer<*>, descriptionOverrides: Map<String, String>, excludedProperties: Set<String>): LLMParams.Schema.JSON.Standard

Generates LLMParams.Schema.JSON.Standard in custom Anthropic format.