J. Harmse, T. Haley, S. Sethi, V. Mulholland 2018-04-15
To use the Watson NLU API you must create an account with the IBM developper cloud.
Follow the link to the Natural Language Understand page and follow the Sign in to IBM Cloud link or click "Get Started Free". Check your inbox to complete registration.
Use your credentials to log in and add the Natural Language Understanding services and click "Create".
Go to Service credentials and create "New credentials". You may need to perform this step every time your credentials need to be updated.
Use these credentials as the username and password within the R wrapper authentication function auth_NLU
.
You can install watsonNLU in R from GitHub with:
# install.packages("devtools")
devtools::install_github("johannesharmse/watsonNLU")
Now you are ready to use watson_NLU
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.