A LLM powered service-oriented chatbot which can run decision trees and gather information from the user
- LLM: Gemini API
- State Management: Redux
- Database: MongoDB
- Animations: framer-motion
- Backend: Node.js
- Validation implemented for name, phone, email, zip code, address
- If a question has options, the user can input the option number, option text or click on the option to select it
- Any input by user passes through the LLM, which corrects the spelling if wrong
- At the end, a Floating modal appears with the service ID and user data, asking the user for confirmation
- The home_improvement.csv containing question funnels is stored in MongoDB
- Category ID number is taken from the user which is used to initialize the chatbot
- On clicking the chatbot icon, it gets initialized by the different question funnels of that category ID. They are fetched from MongoDB collection.
- Once the user asks for help, the decision tree flow starts where the user can select an option to each question
- When the decision tree ends, the user is prompted to enter personal details
- At the end of the process, a Floating modal appears with the service ID and user data, asking the user for confirmation