sendFeedback
abstract suspend fun sendFeedback(entry: ConversationEntry, feedbackType: FeedbackType, text: String? = null): Result<ConversationAction>
Sends feedback (thumbs up/down) on a conversation entry.
Return
Result.Success with the persisted ConversationAction, or Result.Error on failure.
Parameters
entry
The conversation entry to provide feedback on.
feedbackType
The sentiment of the feedback (FeedbackType.GOOD or FeedbackType.BAD).
text
Optional freeform text to accompany the feedback.