st.feedback not working properly on streamlit based chatbot

so idk what wrong with this function but i just cant seem to get any output out of it maybe the reason is streamlit rerun but still this is frustating i vecompleted ever task but i just cant complete this one can some guide me through it

There are examples and a tutorial in the docs.

yea i ve tried everything…its fine though i just had to shift my feedback session states then it started working