KeyError: 'st.session_state has no key "responses". Did you forget to initialize it?

we are trying to use streamlit for openai llm. I am getting error saying that KeyError: 'st.session_state has no key “responses”.I am attaching screenshot. can someone help me please.Thank you in advance