# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .py
#       format_name: light
#       format_version: '1.5'
#       jupytext_version: 1.14.4
#   kernelspec:
#     display_name: Python 3
#     language: python
#     name: python3
# ---

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

# ##### Ans: True

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

# ##### Ans: True

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

# ##### Ans: True

# #### 4. Watson Assistant is a chatbot building service hosted on IBM Cloud.

# ##### Ans: True

# #### 5. Chatbots can only be deployed on WordPress sites.

# ##### Ans: False

# #### 6. Which of these is a valid intent?

# ##### Ans: #buy_product

# #### 7. Which of the following are valid system entities?

# ##### Ans: 
# - @sys-date
# - @sys-person

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

# ##### Ans: False

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

# ##### Ans: True

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

# ##### Ans: True

# #### 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?

# ##### Ans: 
# - In this case, rearranging the order to be Welcome, Thank You, Greetings, Goodbyes and Anything else would not cause problems.
# - If no known intent is detected in the user input, the Anything else node will be executed.
# - Welcome will contain the chatbot prompt and be executed at the beginning of the conversation. 

# #### 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.)

# ##### Ans: True

# #### 13. Digressions allow users to divert the conversation away from a slot while it's asking its question.

# ##### Ans: True

# #### 14. Which of the following contains the user input?

# ##### Ans: input.text

# #### 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?

# ##### Ans: Have a node enabled with multiple slots, each asking for the relevant information. System entities should be enabled. time. 

StarcoderdataJupyterScriptsDedupFiltered