Hi team,
The ChatInterface
output provides a click-able “heart” icon. How can I get access to the state of this icon so I can utilize the feedback.
Thanks!
Hi team,
The ChatInterface
output provides a click-able “heart” icon. How can I get access to the state of this icon so I can utilize the feedback.
Thanks!
def filter_by_reactions(messages):
return [message for message in messages if "favorite" in message.reactions]
chat_feed.send(
pn.chat.ChatMessage("I'm a message with a reaction!", reactions=["favorite"])
)
chat_feed.serialize(filter_by=filter_by_reactions)