AndresMaca / WatsonAssistant

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hotel Review App

  1. Clone the code
  2. Edit manifest
  3. Deploy to IBM Cloud
  4. View app
  5. Get service credentials
  6. Get workspace, env id, and collection ID
  7. Copy service-credentials.example.json and name the new file service-credentials.json
  8. Add credentials to the new service-credentials.json file
  9. Import Watson Developer cloud SDK
  10. Create Conversation object
  11. Create Discovery object
  12. Add conversation call
  13. Add If statements
  • best
  • list
  • hotel
  • else
  1. Create function declarations
  2. Complete the if best section
  • overall
  • new York
  • san Francisco
  • Chicago
  1. Complete the if list section
  2. complete the if hotel section
  3. complete the else section
  4. Test it out locally
  5. re push to IBM cloud
  • hello
  • what can you do
  • what hotels do you have info on
  • new York
  • tell me about the 414 hotel
  • is the 414 hotel any good?
  • what is the best hotel in new york
  • what is the best hotel in San Fran
  • what is the best hotel in chi town
  • what is the best hotel overall

About

License:Apache License 2.0


Languages

Language:JavaScript 84.6%Language:CSS 8.5%Language:HTML 6.9%