AIReplyActions

data class AIReplyActions(val rating: AIMessageRating? = null, val onRegenerate: () -> Unit? = null, val onRate: (AIMessageRating?) -> Unit? = null)

What the person can do with a finished reply besides copying and sharing it.

Parameters

rating

How the person rated the reply, if they did.

onRegenerate

Asks the agent for a new reply in its place, or null to not offer it.

onRate

Rates the reply, or takes the rating back with null. Null to not offer rating.

Constructors

Link copied to clipboard
constructor(rating: AIMessageRating? = null, onRegenerate: () -> Unit? = null, onRate: (AIMessageRating?) -> Unit? = null)

Properties

Link copied to clipboard
Link copied to clipboard
val onRegenerate: () -> Unit?
Link copied to clipboard