For example, if a customer says "What are your opening hours?"
A typical example of a rule-based chatbot would be an informational chatbot on a company's website. This chatbot would be programmed with a set of rules that match common customer inquiries to pre-written responses. For example, if a customer says "What are your opening hours?" the chatbot might have a pre-programmed rule that matches the keyword "open" and responds with a message providing information on when the business is open.