Interface: TurnFeedback
@kortexya/reasoninglayer / TurnFeedback
Interface: TurnFeedback
Section titled “Interface: TurnFeedback”Defined in: src/types/conversation.ts:1283
The user’s rating of an assistant turn, as getTurns returns it.
Properties
Section titled “Properties”comment?
Section titled “comment?”
optionalcomment?:string
Defined in: src/types/conversation.ts:1285
The user’s remark on the answer.
correction?
Section titled “correction?”
optionalcorrection?:string
Defined in: src/types/conversation.ts:1287
What the user said the answer should have been.
feedbackId
Section titled “feedbackId”feedbackId:
string
Defined in: src/types/conversation.ts:1289
The rating’s id. Stable per turn: a re-rating keeps it.
rating
Section titled “rating”rating:
AnswerRating
Defined in: src/types/conversation.ts:1291
-1 unhelpful, 0 neutral, 1 helpful.
recordedAt
Section titled “recordedAt”recordedAt:
string
Defined in: src/types/conversation.ts:1293
RFC 3339 time the rating was recorded.