-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
如何在聊天机器人回复中添加喜欢和不喜欢按钮? #861
Comments
I'm glad to see that you used our program as prototype (and even opened the same issue in gradio-app/gradio#5250...) In fact, this is feasible to some extent, for example, we have like and dislike buttons for the XMChat model. If you need to add it to the conversation message elements, you just need to write a little more JavaScript. The question is, what do you want to do with the back end of the click event? We haven't imported FastAPI yet, and of course, it's possible to use js to write the whole event handling.
|
We want to create a feature to rate feedback. We use mongo db to statistic like or dislike from user feedback. I want to display these 2 buttons in the response from chatbot, can you suggest me the direction. Thank you |
OK, I will explain this in short:
The direction is simple, right? I'm really thinking about extention methods now... |
Thank you very much. I will try. |
相关问题
我想在聊天机器人的回复内容中自定义添加喜欢和不喜欢按钮,如图所示。 你能给我解决方案吗? 谢谢
可能的解决办法
我想在聊天机器人的回复内容中自定义添加喜欢和不喜欢按钮,如图所示。 你能给我解决方案吗? 谢谢
帮助开发
补充说明
No response
The text was updated successfully, but these errors were encountered: