-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbot_definition.json
More file actions
1 lines (1 loc) · 5.47 KB
/
bot_definition.json
File metadata and controls
1 lines (1 loc) · 5.47 KB
1
{"name":"TheRestaurantBot","description":"Chatbot that finds restaurants and provides reviews.","intents":[{"intentName":"Help","intentVersion":"1"},{"intentName":"GetReviews","intentVersion":"4"},{"intentName":"GetAddress","intentVersion":"2"},{"intentName":"FindRestaurant","intentVersion":"4"},{"intentName":"Greeting","intentVersion":"12"}],"clarificationPrompt":{"messages":[{"contentType":"PlainText","content":"Sorry, can you please repeat that?"}],"maxAttempts":5,"responseCard":null},"abortStatement":{"messages":[{"contentType":"PlainText","content":"Sorry, I could not understand. Goodbye."}],"responseCard":null},"status":"READY","failureReason":null,"lastUpdatedDate":"2017-07-17T17:39:37.978Z","createdDate":"2017-07-12T01:42:09.855Z","idleSessionTTLInSeconds":300,"voiceId":"0","checksum":"3519bf39-f635-49f2-b789-84c359b2f587","version":"$LATEST","locale":"en-US","childDirected":false,"dependencies":{"intents":[{"name":"Help","description":null,"slots":[],"sampleUtterances":[],"fulfillmentActivity":{"type":"CodeHook","codeHook":{"uri":"arn:aws:lambda:us-east-1:786719921908:function:HelpRestaurantBot","messageVersion":"1.0"}},"parentIntentSignature":"AMAZON.HelpIntent","lastUpdatedDate":"2017-07-12T19:33:56.533Z","createdDate":"2017-07-12T19:33:56.533Z","version":"1","checksum":"565ecf08-a86d-4cb0-a0ec-c576b350c57e"},{"name":"FindRestaurant","description":null,"slots":[{"name":"RestaurantType","description":null,"slotConstraint":"Required","slotType":"AMAZON.Food","slotTypeVersion":null,"valueElicitationPrompt":{"messages":[{"contentType":"PlainText","content":"What type of food are you looking for?"}],"maxAttempts":2,"responseCard":null},"priority":2,"sampleUtterances":[],"responseCard":null},{"name":"Location","description":null,"slotConstraint":"Required","slotType":"AMAZON.US_CITY","slotTypeVersion":null,"valueElicitationPrompt":{"messages":[{"contentType":"PlainText","content":"In what city are you looking for restaurants?"}],"maxAttempts":2,"responseCard":null},"priority":1,"sampleUtterances":[],"responseCard":null}],"sampleUtterances":["Are there any restaurants nearby","I would like to find a restaurant","Find restaurant","Find a restaurant in {Location}","Do you know any restaurants in {Location}"],"fulfillmentActivity":{"type":"CodeHook","codeHook":{"uri":"arn:aws:lambda:us-east-1:786719921908:function:FindRestaurantLambda","messageVersion":"1.0"}},"parentIntentSignature":null,"lastUpdatedDate":"2017-07-12T23:44:59.063Z","createdDate":"2017-07-12T23:44:59.063Z","version":"4","checksum":"79a2c580-53e2-423b-8bb4-c99c8e506b6e"},{"name":"GetAddress","description":null,"slots":[{"name":"RestaurantName","description":null,"slotConstraint":"Required","slotType":"AMAZON.FoodEstablishment","slotTypeVersion":null,"valueElicitationPrompt":{"messages":[{"contentType":"PlainText","content":"What is the name of the restaurant?"}],"maxAttempts":2,"responseCard":null},"priority":1,"sampleUtterances":[],"responseCard":null},{"name":"Location","description":null,"slotConstraint":"Required","slotType":"AMAZON.US_CITY","slotTypeVersion":null,"valueElicitationPrompt":{"messages":[{"contentType":"PlainText","content":"What city is the restaurant located in?"}],"maxAttempts":2,"responseCard":null},"priority":2,"sampleUtterances":[],"responseCard":null}],"sampleUtterances":["Find the address of {RestaurantName}","Can you find the address of {RestaurantName}","Get address","Can you find an address","Get the address of {RestaurantName} located in {Location}","Find address"],"fulfillmentActivity":{"type":"CodeHook","codeHook":{"uri":"arn:aws:lambda:us-east-1:786719921908:function:GetAddressLambda","messageVersion":"1.0"}},"parentIntentSignature":null,"lastUpdatedDate":"2017-07-17T17:39:04.395Z","createdDate":"2017-07-17T17:39:04.395Z","version":"2","checksum":"9b9ae33d-2bf2-43a8-aca0-73961584bc3e"},{"name":"Greeting","description":null,"slots":[],"sampleUtterances":["Hello","Hi","What's up","Hello can you help me","Hello DiagnosisBot","How are you"],"fulfillmentActivity":{"type":"CodeHook","codeHook":{"uri":"arn:aws:lambda:us-east-1:786719921908:function:HelpRestaurantBot","messageVersion":"1.0"}},"parentIntentSignature":null,"lastUpdatedDate":"2017-07-15T18:03:34.395Z","createdDate":"2017-07-15T18:03:34.395Z","version":"12","checksum":"6100451b-134d-4d71-b48a-22116b98c68c"},{"name":"GetReviews","description":null,"slots":[{"name":"RestaurantName","description":null,"slotConstraint":"Required","slotType":"AMAZON.FoodEstablishment","slotTypeVersion":null,"valueElicitationPrompt":{"messages":[{"contentType":"PlainText","content":"What is the name of the restaurant?"}],"maxAttempts":2,"responseCard":null},"priority":1,"sampleUtterances":[],"responseCard":null},{"name":"Location","description":null,"slotConstraint":"Required","slotType":"AMAZON.US_CITY","slotTypeVersion":null,"valueElicitationPrompt":{"messages":[{"contentType":"PlainText","content":"What city is this restaurant in?"}],"maxAttempts":2,"responseCard":null},"priority":2,"sampleUtterances":[],"responseCard":null}],"sampleUtterances":["How good is {RestaurantName} in {Location}","Get reviews for {RestaurantName} in {Location}","How is the food at {RestaurantName}","Get reviews","Can you get reviews for a restaurant"],"fulfillmentActivity":{"type":"CodeHook","codeHook":{"uri":"arn:aws:lambda:us-east-1:786719921908:function:GetReviews","messageVersion":"1.0"}},"parentIntentSignature":null,"lastUpdatedDate":"2017-07-15T21:18:26.359Z","createdDate":"2017-07-15T21:18:26.359Z","version":"4","checksum":"0ce172a7-bd4f-49dc-8fcc-41b8fda298b0"}],"slotTypes":[]}}