Chatbot

    A chatbot is an application programmed to give human-like responses in response to input. They are used for purposes like online assistance, where they can function like humans for simple tasks such as responding to questions and providing information.

    My Python code introduces the chatbot to the user as a bot that can teach the user about abstract algebra. It responds to prompts such as "what are fields" to give a summary of the definition of the term, and this is where "if" statements are used. The "else" statements provide additional facts, for example an explanation of the field axioms following a definition of fields.


    My Facebook Chatbot similarly introduces the bot as an abstract algebra and presents different buttons to learn about either logic, proofs, vectors or fields. It presents an option to learn an additional fact/example or additional information about the topic after the first choice.

    The flow is what guides the user from their input to information to other choices of input. It is important to have the right order to present information to the user, depending on the user's response and logical flow of the conversation.

    Some pitfalls you may encounter are confusing or incorrect flow, syntax error when coding (especially with if/else statements), or trouble activating the bot through an entry point. There could also be trouble responding to slight variations in user input (especially in a console rather than buttons).

Comments

Popular posts from this blog

About Me- Lillian Wu

Data Visualization & AI Overview (Titanic)

The Self-Driving Car Dilemma