Document

@Serializable
data class Document(val documentId: String, val layerName: String = "")

Reference to a document for AI Assistant requests.

Constructors

Link copied to clipboard
constructor(documentId: String, layerName: String = "")

Properties

Link copied to clipboard

The unique identifier of the document.

Link copied to clipboard

The name of the annotation layer, or empty string for the default layer.

Functions

Link copied to clipboard

Converts this document reference to a JSON object for network transmission.