AIReplyActions

constructor(rating: AIMessageRating? = null, onRegenerate: () -> Unit? = null, onRate: (AIMessageRating?) -> Unit? = null)

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.