Skip to content

Interface: TurnFeedback

@kortexya/reasoninglayer


@kortexya/reasoninglayer / TurnFeedback

Defined in: src/types/conversation.ts:958

The user’s rating of an assistant turn, as getTurns returns it.

optional comment?: string

Defined in: src/types/conversation.ts:960

The user’s remark on the answer.


optional correction?: string

Defined in: src/types/conversation.ts:962

What the user said the answer should have been.


feedbackId: string

Defined in: src/types/conversation.ts:964

The rating’s id. Stable per turn: a re-rating keeps it.


rating: AnswerRating

Defined in: src/types/conversation.ts:966

-1 unhelpful, 0 neutral, 1 helpful.


recordedAt: string

Defined in: src/types/conversation.ts:968

RFC 3339 time the rating was recorded.