FeedbackPayload

@JsonClass(generateAdapter = true)
data class FeedbackPayload(val id: String, val feedback: FeedbackType, val text: String? = null, val details: Map<String, Any?>? = null) : ConversationActionPayload

Payload for a feedback action (thumbs up/down) on an agent message.

Constructors

Link copied to clipboard
constructor(id: String, feedback: FeedbackType, text: String? = null, details: Map<String, Any?>? = null)

Properties

Link copied to clipboard
Link copied to clipboard

Open key-value map for additional metadata (e.g., tags).

Link copied to clipboard

The feedback sentiment.

Link copied to clipboard
open override val id: String
Link copied to clipboard
Link copied to clipboard
val text: String?

Optional freeform text provided by the user.