Issue Ticket Resolution Chabot

Hi! I want to create a chatbot which prompts user for their name, email and issue before the issue gets processed by an LLM. There are 2 parts to this chatbot. First, for prompting the name, email and issue, it should be a simple rule-based code on the backend. Second, for the actual issue resolution, it uses GPT-4o. I am able to create a chatbot that is purely based on gpt-4o but ran into issues when making use of the st.chat_input feature to implement the rule-based section. st.chat_input needs to be unique. I have set a key to resolve this, but what appeared was an additional user input. What I wanted was simply the ability for the user to enter their input like a typical chatbot. Has someone created a similar chatbot? Thank you!