Interface: TurnFeedbackProps¶
Defined in: src/feedback/TurnFeedback.tsx:6
Props for TurnFeedback.
Properties¶
groups¶
groups:
GroupEntry[]
Defined in: src/feedback/TurnFeedback.tsx:8
The turn's activity groups (e.g. TurnFooterContext.groups).
label?¶
optionallabel?:string
Defined in: src/feedback/TurnFeedback.tsx:19
Prompt shown next to the buttons. Defaults to "Was this helpful?".
onFeedback¶
onFeedback:
FeedbackHandler
Defined in: src/feedback/TurnFeedback.tsx:10
Host sink for the score — kaboo-react stores nothing itself.
requireTrace?¶
optionalrequireTrace?:boolean
Defined in: src/feedback/TurnFeedback.tsx:17
Render nothing when the turn has no resolvable traceId (i.e. the
workflow service ran without telemetry, so a score would have nothing to
attach to). Defaults to false: feedback is still collected with
runId/turnId correlation only.