GenerationSchema
A type that describes the properties of an object and any guides on their values.
Declaration
struct GenerationSchemaMentioned in
Overview
Generation schemas guide the output of a SystemLanguageModel to deterministically ensure the output is in the desired format.
Topics
Creating a generation schema
init(root:dependencies:)init(type:description:anyOf:)init(type:description:properties:)init(type:description:representNilExplicitlyInGeneratedContent:properties:)GenerationSchema.Property