Interface: PendingReviewEntity
@kortexya/reasoninglayer / PendingReviewEntity
Interface: PendingReviewEntity
Section titled “Interface: PendingReviewEntity”Defined in: src/types/reviews.ts:249
An extracted entity pending human review.
Properties
Section titled “Properties”alignmentStatus?
Section titled “alignmentStatus?”
optionalalignmentStatus?:string
Defined in: src/types/reviews.ts:282
Alignment status: exact, fuzzy, lesser or unaligned.
candidates
Section titled “candidates”candidates:
ReviewCandidateMatchDto[]
Defined in: src/types/reviews.ts:276
Candidate matches for deduplication.
charInterval?
Section titled “charInterval?”
optionalcharInterval?: [number,number]
Defined in: src/types/reviews.ts:280
Character interval [start, end] of the entity in the source text.
confidence
Section titled “confidence”confidence:
number
Defined in: src/types/reviews.ts:270
Extraction confidence (0.0 to 1.0).
createdAt
Section titled “createdAt”createdAt:
string
Defined in: src/types/reviews.ts:284
When the entity was extracted.
entityId
Section titled “entityId”entityId:
string
Defined in: src/types/reviews.ts:253
The entity’s local ID from extraction.
entityOrigin
Section titled “entityOrigin”entityOrigin:
ReviewEntityOrigin
Defined in: src/types/reviews.ts:260
Where the entity stands in the knowledge base; it decides what a decision does.
entityTermId
Section titled “entityTermId”entityTermId:
string
Defined in: src/types/reviews.ts:258
The term id (UUID) an approval materialises. A review the extraction pipeline queued already has this term in the knowledge base.
features
Section titled “features”features:
Record<string,unknown>
Defined in: src/types/reviews.ts:264
Extracted features as key-value pairs (raw JSON values).
reason
Section titled “reason”reason:
ReviewReason
Defined in: src/types/reviews.ts:272
Why the entity needs review.
reasonDetail?
Section titled “reasonDetail?”
optionalreasonDetail?:string
Defined in: src/types/reviews.ts:274
The producer’s own sentence about the reason, when it has one.
reviewId
Section titled “reviewId”reviewId:
string
Defined in: src/types/reviews.ts:251
The review ID (UUID).
sort:
string
Defined in: src/types/reviews.ts:262
The extracted sort name.
sortSuggestions
Section titled “sortSuggestions”sortSuggestions:
ReviewSortSuggestion[]
Defined in: src/types/reviews.ts:278
Alternative sort suggestions.
sourceDocument?
Section titled “sourceDocument?”
optionalsourceDocument?:string|null
Defined in: src/types/reviews.ts:268
The document or chunk the entity was extracted from.
sourceText?
Section titled “sourceText?”
optionalsourceText?:string|null
Defined in: src/types/reviews.ts:266
The source text span the entity was extracted from.