AIConversationReplyActionsParams

data class AIConversationReplyActionsParams(val message: AIMessage, val text: String, val isLatestReply: Boolean, val modifier: Modifier = Modifier, val actions: AIReplyActions? = null)

Parameters for ChatAiComponentFactory.AIConversationReplyActions.

Parameters

message

The reply, which is one of the app's own messages: cast it to act on it.

text

The reply's text, in Markdown.

isLatestReply

Whether it is the latest reply in the conversation, such as the only one an app offers to regenerate.

modifier

The modifier to apply.

actions

What the conversation offers to do with the reply, such as rating it, when it shows an AIConversationState. Null otherwise.

Constructors

Link copied to clipboard
constructor(message: AIMessage, text: String, isLatestReply: Boolean, modifier: Modifier = Modifier, actions: AIReplyActions? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard