Nutrient Web SDK
    Preparing search index...

    Interface AIADocumentChangeTaggingItem

    Individual change item with AI-assigned category tags from the tagging service. Extends the base response item with categorization information.

    // Typical structure of a tagged change
    {
    id: "change-123",
    type: "insertion",
    text: "confidential information",
    page: 2,
    contextBefore: "regarding the ",
    contextAfter: " shall not be disclosed",
    tag: ["Legal", "Confidentiality"]
    }
    interface AIADocumentChangeTaggingItem {
        contextAfter?: string;
        contextBefore?: string;
        id: string;
        page: number;
        tag: string[];
        text: string;
        type: string;
    }

    Hierarchy

    Index

    Properties

    contextAfter?: string

    Text content appearing after the change for context.

    contextBefore?: string

    Text content appearing before the change for context.

    id: string

    Unique identifier for this change, used for tracking and correlation

    page: number

    Zero-based page number where this change occurred

    tag: string[]

    Array of category strings assigned by AI to classify this change.

    text: string

    The actual text content that was changed

    type: string

    Type of change operation (e.g., "insertion", "deletion", "modification")