code: def clear_chat_history():
      st.session_state.messages = [
          {
              "role": "assistant",
              "content": "How may I assist you today?",
          }
      ]
  
imports: import json
  import requests
  import streamlit
label_desc: Use image node_id 1 for calling a global function with example usage: clear_chat_history() without return types