Saturday , July 27 2024
Breaking News

Build Your Own Chatbot Cognitive Class Exam Quiz Answers

Build Your Own Chatbot Cognitive Class Certificate Answers

Build Your Own Chatbot

Question 1: A chatbot will typically interact with the user via text or audio

  • True
  • False

Question 2: A chatbot is a bot that interacts with the user through a chat/conversational interface

  • True
  • False

Question 3: Chatbots are also known as:

  • Chatterbots
  • Artificial Conversational Entities (ACE)
  • Whatsapp
  • Talkbots
  • -Virtual Assistants

Question 4: What factors directly contributed to the emergence of chatbots?

  • AI / Cognitive Computing
  • Blockchain
  • Messaging platforms like Facebook Messenger
  • Ruby on Rails

Question 5: Chatbots are ONLY beneficial to large companies

  • True
  • False

Question 1: Watson Assistant can ONLY be used to create chatbots in English

  • True
  • False

Question 2: Select all the statements that are true

  • An intent is a purpose or goal expressed by the user’s input
  • Intents can have spaces in their names
  • Intents start with an # symbol
  • We train Watson by providing examples for our intents
  • We should provide Watson with at least 5 examples per intent

Question 3: The three main components of a Dialog Skill are Intents, Entities, and Dialog.

  • True
  • False

Question 4: If Watson detects the wrong intent, we can train Watson by selecting a different intent from the Try it out panel.

  • True
  • False

Question 5:The Content Catalog offers collections of pre-made intents for various industries.

  • True
  • False

Question 1: Entities allow us to capture specific information in the user input

  • True
  • False

Question 2: Entities start with an # symbol

  • True
  • False

Question 3: Entity values can have synonyms and patterns

  • True
  • False

Question 4: Two user questions can have the same intent but different entities

  • True
  • False

Question 5: In our flower shop chatbot, “dad” is defined as a synonym for @relationship:father. If a user were to ask “flowers for dad”, what’s the entity value detected by Watson?

  • @relationship:dad
  • @relationship:father
  • @dad
  • @relationship
  • @father

Question 1: Multiple conditional responses allow us to attach conditions to responses within a node.

  • True
  • False

Question 2: The order of nodes in the dialog can affect how the chatbot works.

  • True
  • False

Question 3: Node A has @occasion as its condition. Node B, placed just below node A, has @occasion:Graduation as its condition. Which one of the following statements is true?

  • The order of node A and node B doesn’t matter.
  • Both node A and node B will never be executed.
  • Node A (with @occasion as a condition) is overshadowed and will not be executed (unless we explicitly jump to it).
  • Node B (with @occasion:Graduation as a condition) is overshadowed and will not be executed (unless we explictily jump to it).

Question 4: In general, child nodes are considered if the parent node condition is met

  • True
  • False

Question 5: Select all the statements that are true

  • When designing a chatbot, we should consider tone and personality
  • We should avoid “yes” and “no” answers when possible
  • Very long responses are good
  • The tone and personality of our chatbot can affect how well it is perceived by the user
  • Chatbot prompts should be as generic as possible (e.g., Hello. Ask me anything.)

Question 1: The Watson Assistant plugin for WordPress allows us to deploy a chatbot by specifying the credentials of the corresponding Assistant, without the need to develop a separate application that connects Watson Assistant to our site.

  • True
  •  False

Question 2: A preview link integration allows us to share our chatbot with friends and colleagues.

  • True
  • False

Question 3: One or more skills can be linked to an Assistant. In other words, an Assistant can “contain” one or more skills.

  • True
  • False

Question 4: The WordPress plugin for Watson Assistant allow us to customize the look and feel of the chat box that appears on the site.

  • True
  • False

Question 5: There is no way to limit the chatbot usage in the Watson Assistant WordPress plugin (to prevent abusive users).

  • True
  • False

Question 1: Once set, context variables can be accessed for the duration of the conversation with a given user.

  • True
  • False

Question 2: Slots allow us to collect information from the user and store it in context variables.

  • True
  • False

Question 3: Slots with no question defined are optional and will only set the context variable if the condition (e.g., @location) is detected.

  • True
  • False

Question 4: A node can only have one slot and therefore cannot assign more than one context variable.

  • True
  • False

Question 5: A required slot will only ask its question to the user once, even if the user replies with irrelevant information.

  • True
  • False

Question 1: The “Found” section of a slot allow us to specify what to say to the user (e.g., thanking them) when they provide a valid reply to the slot.

  • True
  • False

Question 2: The “Not Found” section of a slot allow us to specify what to say to the user when they provide an invalid reply to the slot (e.g., a reply that doesn’t meet the slot condition).

  • True
  • False

Question 3: Digressions allows us to decide what the chatbot should do when the user asks a different question instead of replying to the slot question.

  • True
  • False

Question 4: Handlers are evaluated after the “Not found” responses you defined in a slot.

  • True
  • False

Question 5: We must explicitly enable returns to a slot to continue where we left off before a digression.

  • True
  • False

Question 1: Text and audio are two common ways through which chatbots interact with the user.

  • True
  • False

Question 2: To be called a chatbot, a bot needs to converse with the user.

  • True
  • False

Question 3: Chatbots can help cut down the number of inquiries a business’ customer care team needs to manually address.

  • True
  • False

Question 4: Watson Assistant is a chatbot building service hosted on IBM Cloud (formerly Bluemix).

  • True
  • False

Question 5: Chatbots can only be deployed on WordPress sites.

  • True
  • False

Question 6: Which of these is a valid intent?

  • @buy_product
  • #buy_product
  • $buy_product
  • #buy product
  • @buy product

Question 7: Which of the following are valid system entities?

  • @sys-date
  • #sys-date
  • #sys-time
  • @sys-time
  • @system-of-a-down

Question 8: The value of an entitity detected in the user input is automatically available for the entire duration of the conversation with the user.

  • True
  • False

Question 9: We can use context variables to store (and later access) information collected from the user.

  • True
  • False

Question 10: Slots allow us to collect information from the user and store it in context variables.

  • True
  • False

Question 11: A dialog has the following nodes: Welcome (welcome condition), Greetings (#greetings intent condition), Thank you (#thank_you intent condition), Goodbyes (#goodbyes intent condition), Anything else (anything_else condition). Which of the following statements apply?

  • Welcome will be executed at the beginning of the conversation.
  • If no known intent is detected in the user input, the Anything else node will be executed.
  • Greetings overshadows Goodbyes, and therefore Goodbyes is never executed.
  • The order of Welcome and Anything else in the dialog will generally not matter.
  • Rearranging the order to be Welcome, Thank You, Greetings, Goodbyes, Anything else would generally not cause any problems.

Question 12: The evaluation of peer nodes proceeds top to bottom until a node with a matching condition is found. Child nodes are only considered for execution after their parent’s condition is met (or if a jump is involved.)

  • True
  • False

Question 13: Digressions allow users to divert the conversation away from a node while the slots are being processed (i.e., asking questions to the user).

  • True
  • False

Question 14: Which of the following contains the user input?

  • @sys-person
  • text.input
  • input.text
  • user.text
  • None of the above

Question 15: A restaurant chatbot needs to collect the following information from the user: reservation name, party size, date, and time in order to book a reservation. Which of the following approaches works best?

  • Have four peer nodes, each asking one of the questions to the user.
  • Have a node with multiple slots, each asking for the relevant information. System entities are not needed.
  • Have a parent node asking for the reservation name, then a child node asking for party size, then a grandchild node asking for date, then a great-grandchild node asking for the time.
  • Have a node with multiple slots, each asking for the relevant information. System entities should be enabled.
  • It’s not possible to collect the information for four follow up questions.

Introduction to Build Your Own Chatbot

A chatbot is a software application designed to simulate human conversation. It can interact with users via text or speech, providing information or performing tasks based on user input. Chatbots are used in various domains, including customer service, personal assistance, and information retrieval.

Types of Chatbots

  1. Rule-Based Chatbots: These chatbots follow a predefined set of rules and responses. They are simple and can handle basic queries but are limited in handling complex interactions.
  2. AI-Powered Chatbots: These use machine learning and natural language processing (NLP) to understand and respond to user inputs. They can learn from interactions and improve over time, handling more complex conversations.

Key Components of a Chatbot

  1. Natural Language Processing (NLP): This is the core technology that helps the chatbot understand and interpret human language. NLP libraries like NLTK, SpaCy, or tools like IBM Watson, Google Dialogflow, and Microsoft LUIS can be used.
  2. Dialog Management: This component manages the flow of the conversation, determining how the chatbot responds based on the context and user inputs.
  3. Backend Integration: This involves connecting the chatbot to external databases, APIs, or other services to fetch and process information.
  4. User Interface (UI): This is how users interact with the chatbot, which can be through a messaging app, a website, or a voice interface.

Steps to Build a Chatbot

  1. Define the Purpose and Scope:
    • Determine what you want your chatbot to do.
    • Identify the target audience and the types of interactions expected.
  2. Choose the Platform:
    • Decide whether your chatbot will be text-based or voice-based.
    • Choose a platform like Facebook Messenger, Slack, WhatsApp, or a custom web application.
  3. Select Tools and Technologies:
    • For NLP: Choose tools like Dialogflow, IBM Watson, or open-source libraries.
    • For development: Select a programming language (Python, JavaScript) and a framework (Flask, Node.js).
  4. Design the Conversation Flow:
    • Create a flowchart of possible user interactions and responses.
    • Define intents (user goals) and entities (key information) to guide the chatbot’s understanding.
  5. Develop and Train the Chatbot:
    • Set up the environment and integrate NLP tools.
    • Implement the dialog management logic.
    • Train the chatbot using sample conversations to improve its understanding.
  6. Test the Chatbot:
    • Conduct extensive testing to ensure the chatbot handles various scenarios gracefully.
    • Use beta testers to get feedback and refine the chatbot.
  7. Deploy the Chatbot:
    • Host your chatbot on a server or cloud service.
    • Integrate it with the chosen platform and make it accessible to users.
  8. Monitor and Improve:
    • Continuously monitor interactions to identify areas for improvement.
    • Update the chatbot regularly with new data and functionalities.

Tools and Resources

  • NLP: NLTK, SpaCy, Dialogflow, IBM Watson, Microsoft LUIS
  • Frameworks: Flask, Django, Node.js
  • Deployment: Heroku, AWS, Google Cloud
  • Testing: Postman, Botium
  • Analytics: Google Analytics, Botanalytics

Conclusion

Building your own chatbot involves a blend of technical skills, creativity, and an understanding of user needs. By following these steps and utilizing the right tools, you can create a functional and engaging chatbot that enhances user interaction and fulfills its intended purpose.

About Clear My Certification

Check Also

Infosys Springboard Fundamentals of Information Security Answers

Apply for Fundamentals of Information Security Here Q1 of 15 How many keys are required …

No comments

  1. thanks

  2. did a great job. thanks

Leave a Reply

Your email address will not be published. Required fields are marked *