-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Allow st.feedback to be instantiated with an initial value #9469
Copy link
Copy link
Closed
Labels
feature:st.feedbackRelated to the `st.feedback` widgetRelated to the `st.feedback` widgetgood first issueGood for newcomers to the codebaseGood for newcomers to the codebasetype:enhancementRequests for feature enhancements or new featuresRequests for feature enhancements or new features
Description
Checklist
- I have searched the existing issues for similar feature requests.
- I added a descriptive title and summary to this issue.
Summary
When building AI chat interfaces, some people may want users to be able to log back into their profile and reopen old chats.
Currently, when initializing st.feedback widgets there is no way to restore the user past feedback for a given message, even though it exists in some database.
The request here is to add something like a value parameter, as we have for text_area and text_input, so that the feedback widget is initialized with the given value.
Why?
Restore feedbacks given by users in past chats
How?
Add something like a value parameter to the constructor of st.feedback
Additional Context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
feature:st.feedbackRelated to the `st.feedback` widgetRelated to the `st.feedback` widgetgood first issueGood for newcomers to the codebaseGood for newcomers to the codebasetype:enhancementRequests for feature enhancements or new featuresRequests for feature enhancements or new features