Streamlit component that allows you to collect user feedback in your apps
Project description
streamlit-feedback
Streamlit component that allows you to collect user feedback in your apps.
Install
pip install streamlit-feedback
Usage
For a full example integrated in a chatbot, scroll down to the bottom of this script.
Or here are some examples:
from streamlit_feedback import streamlit_feedback
feedback = streamlit_feedback(feedback_type="thumbs")
feedback
from streamlit_feedback import streamlit_feedback
feedback = streamlit_feedback(
feedback_type="thumbs",
optional_text_label="[Optional] Please provide an explanation",
)
feedback
from streamlit_feedback import streamlit_feedback
feedback = streamlit_feedback(feedback_type="faces")
feedback
from streamlit_feedback import streamlit_feedback
feedback = streamlit_feedback(
feedback_type="faces",
optional_text_label="[Optional] Please provide an explanation",
)
feedback
from streamlit_feedback import streamlit_feedback
feedback = streamlit_feedback(feedback_type="thumbs", align="flex-start")
feedback
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
streamlit-feedback-0.0.1.tar.gz
(626.3 kB
view hashes)
Built Distribution
Close
Hashes for streamlit_feedback-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ccabebb11152be8080b1838527510d6f8bc4f1da3f6b084aeaa9bb74e760435c |
|
MD5 | e5d8df88083f0703039f3050eaed9e01 |
|
BLAKE2b-256 | f2d8e42b19364725cc12b00cf868ffc50571121a8d184a9590b3308624dc1f8d |