Professional Documents
Culture Documents
Chatbot Development Full
Chatbot Development Full
Victoria Choi
Creating an Account
The plus signs are called triggers, which the user inputs.
The minus signs are called responses, which are what the chatbot returns.
On the right is the test site, where you can test out your responses.
Try creating a simple script!
+ hello
- It's me!
+ tell me a joke
- Why did the scarecrow get an award? He was outstanding in his field!
+ how are you
- I am good!
<***> If you use multiple asterisks, for example 3, then it is used as a placeholder for a
three letter word.
+ *
- I’m not sure what you mean. Try saying “hello” instead!
Optional Parts of a Trigger
- [text]: substitutions, could or could not have the word “hi”
- [*]: combining the star and the brackets, could or could not have anything
+ [i love] icecream
- This will match “icecream” as well as “i love icecream”
+ i love (cats|dogs|fish)
- This will take in “i love cats”, “i love dogs”, or “i love fish”
Deploying the Chatbot!
- Press the airplane in the upper right corner: deploy
- Go to Website Embed
- Click the switch to make it deployed
- Go to google sites and create a website
- Click insert and embed
- Copy the Embed Code and paste it
Iterative Development
^video(“https://www.youtube.com/watch?v=3wLqsRLvV-c&t=8s”)
//this is a comment
+ My secret password is *
- I’m remembering the password is <star> <set password=<star>>
+ I (like|love) *
- Oh, I heard you <star1> <star2>
Get Variables
+ What is my name?
- It’s <get name>!
+ What is my password?
- It’s <get password>!
Capitalization and other cases
- Usually, the bot doesn’t pay attention to case
+ hello
- Hey! <delay seconds=5 typing> How are you?
Topics
- Organize your dialogue with topics!
- User starts off in the “default” topic
- Users are always inside of a topic
- They can’t be inside multiple topics
Topics
- In the left, click new topic
- Type in a name on the top of the site