Interface: ReviewSortSuggestion
@kortexya/reasoninglayer / ReviewSortSuggestion
Interface: ReviewSortSuggestion
Section titled “Interface: ReviewSortSuggestion”Defined in: src/types/reviews.ts:114
An alternative sort suggested for an entity under review.
Remarks
Section titled “Remarks”The engine publishes this shape as its own ReviewSortSuggestionDto
(sort_name, confidence, reason), so it no longer shares a name with
the cognitive cycle’s SortSuggestionDto, which describes a sort to
create. The engine refuses any other key with 422. On
addPendingReview each suggested sort must exist for the tenant
(review_sort_unknown), and confidence must be within 0 to 1
(review_confidence_out_of_range).
Properties
Section titled “Properties”confidence
Section titled “confidence”confidence:
number
Defined in: src/types/reviews.ts:118
Confidence that this sort applies (0.0 to 1.0).
reason?
Section titled “reason?”
optionalreason?:string|null
Defined in: src/types/reviews.ts:120
Why this sort is suggested.
sortName
Section titled “sortName”sortName:
string
Defined in: src/types/reviews.ts:116
Name of the suggested sort.