Comments (2)
Hi @lee-zhg we use watson-conversation-setup.js
when the app is initialized for the first time. See
Line 40 in a305473
and
Lines 116 to 126 in a305473
The intention, for watson-conversation-setup.js
, is to upload the conversation dialog (https://github.com/IBM/watson-banking-chatbot/blob/master/data/conversation/workspaces/banking.json) using the Node SDK.
We mainly do this so the user doesn't have to: 1) clone the repo, 2) go through IBM Cloud find their service, 3) launch Watson Assistant tooling, 4) upload the workspace, 5) reload the app. They should be able to just run it, and we do some smart setup in the background.
It's particularly useful when showing demos of this chatbot.
from watson-banking-chatbot.
Oh, and watson-discovery-setup.js
accomplishes the same thing (except we push documents to discovery instead of a conversation dialog), and is used around the same time.
The conversation logic works much more cleanly since it's only uploading a single JSON file. For discovery, we've had some issues since discovery supports configuration and data files too.
from watson-banking-chatbot.
Related Issues (20)
- Push button deploy fail: An operation for service instance wbc-discovery-service is in progress. HOT 5
- .travis.yml: The 'sudo' tag is now deprecated in Travis CI
- Discovery parsing is broken (and more...) HOT 1
- Discovery parsing is broken HOT 6
- branch info lookup is broken HOT 1
- "can use atm in any city" example doesn't work (use "can I use an atm in any city")
- Deploy to cloud button fails. Can't find banking.json to upload HOT 3
- Cloud deploy failed. Can't find documents to upload to discovery. HOT 1
- README needs...
- CF deploy button is broken HOT 1
- Do you have a branch in Mumbai? -> Sorry currently we don't have branch details for undefined
- Pay Now / pay credit card is not responding
- Suggest Gifts -> accounType is not defined
- the first button "Yes" does not work for me HOT 1
- Forbidden when using CloudFoundry deploy button
- Readme needs updating ...
- Error: Missing required parameters: apikey HOT 1
- Error invalid credentials HOT 1
- in ibm watson i configured options, image and all options other than text, but it is not shown in banking chat widget
- Error: Failed to create Watson Assistant skill: Error: connect ETIMEDOUT 23.221.22.91:443 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from watson-banking-chatbot.