Respuesta :

Example script in creating a chatbot in Python

--------------------------------------------------------------------------

@ app.route ("/", methods = ['GET'])

def index ():

   index = "Welcome to KPM - Making ChatBot"

   return index

if __name __ == "__ main__":

   try:

       app.run (** config)

   except ImportError:

       print ("install: pip install -i requirements.txt")

--------------------------------------------------------------------------

Further explanation

Chatbot is computer software that is designed or created to be able to interact with humans in the form of messages, sounds, and images.

Chatbot is a chat service that is actually a feature that has been used very often by tech-savvy people. But the difference, who replied in the chat process is a robot or virtual figure. This is indeed according to its name which contains the word "bot" which is short for internet robots.

There are several advantages that can be provided by chatbot for you:

  • Faster in interacting with consumers. When consumers want to ask something through the website, then this robot can answer questions posed quickly without wordy.
  • 24 hours. If using humans in customer service matters like this, sometimes there are obstacles that can be obtained along with the operation, especially working hours.
  • Ease of business. The advantages of chatbots are also certainly felt by business people. With robot technology, then customer service matters become easy.

Not only are the advantages possessed by chatbots, deficiencies also certainly exist such as:

  • Turn off the role of customer service. Employment that is usually done by humans will certainly die slowly when technology begins to enter. Which is usually filled by humans, now filled by robots.
  • Cannot answer all complaints. In running a business, there must be problems that afflict consumers and hold them accountable.

Learn more

Programming Language brainly.com/question/3354080

The method of programming brainly.com/question/9409412

Details

Class: Middle School

Subjects: Computers and Technology

Keywords: chatbot, python, programming

The program illustrates the use of conditional statements.

Conditional statements are statements whose execution depends on the truth value of its condition.

I've added the complete program and explanation, as a PDF file attachment

Read more about similar programs at:

https://brainly.com/question/18804668