Contents

init(id:schemaName:content:)

Creates a structured segment that contains the generated content you provide.

Declaration

init(id: String = UUID().uuidString, schemaName: String, content: GeneratedContent)

Parameters

  • id:

    A unique identifier for the segment.

  • schemaName:

    A name that describes which type the content represents.

  • content:

    The structured content of the segment.

See Also

Creating a structured segment