Manual

data class Manual<T>(val structure: StructuredData<T, *>) : StructuredOutput<T> (source)

Instructs the model to produce structured output through explicit prompting.

Uses an additional user message containing StructuredData.definition to guide the model in generating correctly formatted responses.

Constructors

Link copied to clipboard
constructor(structure: StructuredData<T, *>)

Properties

Link copied to clipboard
open override val structure: StructuredData<T, *>

The structure definition to be used in output generation.