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!
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Pyrobbot: GPT chatbot Streamlit App. Supports voice interaction | 6 | 8235 | March 23, 2025 | |
Urgent Request: Streamlit Needs a Chatbot UI Interface to Remain Competitive in the AI Market | 4 | 1440 | April 22, 2024 | |
Using button labels as input for chat_input | 1 | 82 | April 7, 2025 | |
Multi turn chatbot using streamlit open ai and own dataset | 6 | 2075 | August 31, 2024 | |
Version 1.24.0 | 3 | 2173 | January 31, 2024 |