Nutrient Web SDK
    Preparing search index...

    Interface AIADocumentChangesTaggingResponse

    Response from AI tagging service containing categorized change information. This is returned when using NutrientViewer.AIComparisonOperationType.TAG.

    // After running a TAG operation
    if (NutrientViewer.isAIDocumentTaggingResult(result)) {
    result.references.forEach((ref, index) => {
    console.log(`Change ${index + 1}: ${ref.text}`);
    console.log(`Categories: ${ref.tag.join(', ')}`);
    console.log(`Page: ${ref.page}`);
    });
    }
    interface AIADocumentChangesTaggingResponse {
        references: AIADocumentChangeTaggingItem[];
    }
    Index

    Properties

    Properties

    Array where each item corresponds to a specific change and includes category tags assigned by the AI service. Each reference contains the change details plus an array of category strings that classify the type of modification (e.g., ["Legal", "Formatting"] for a legal change with formatting updates).