Skip to content

Interface: AddPendingReviewRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Reviews / AddPendingReviewRequest

Interface: AddPendingReviewRequest

Defined in: src/types/reviews.ts:80

Request to add a pending review for an entity.

Remarks

Creates a new review entry for human review of an extracted or ingested entity.

Properties

candidates

candidates: ReviewCandidateMatchDto[]

Defined in: src/types/reviews.ts:82

Candidate matches for deduplication.


confidence

confidence: number

Defined in: src/types/reviews.ts:84

Confidence score (0.0 to 1.0).


entityId

entityId: string

Defined in: src/types/reviews.ts:86

Entity local identifier.


features

features: Record<string, unknown>

Defined in: src/types/reviews.ts:88

Entity features.


ownerId

ownerId: string

Defined in: src/types/reviews.ts:90

Owner ID (UUID).


reason

reason: ReviewReason

Defined in: src/types/reviews.ts:92

Reason why an entity requires review.


sort

sort: string

Defined in: src/types/reviews.ts:94

Sort name assigned to the entity.


sortSuggestions

sortSuggestions: SortSuggestionDto[]

Defined in: src/types/reviews.ts:96

Sort suggestions from autonomous sort learning.


sourceDocument?

optional sourceDocument: string | null

Defined in: src/types/reviews.ts:98

Source document reference.


sourceText?

optional sourceText: string | null

Defined in: src/types/reviews.ts:100

Source text excerpt.


tenantId

tenantId: string

Defined in: src/types/reviews.ts:102

Tenant ID (UUID).