Is it possible to use Watson Assistant with graphql database? I want to make a chatbot for booking/cancelling appointments and I would like to use graphql as the database. If it is possible are there any tutorials on how to connect it all? And if not, what's the best solution?
Check out oasgraph - a GraphQL Wrapper for REST APIs:
https://strongloop.com/strongblog/announcing-oasgraph/
I have seen demos of this for Watson Language Translator and it seemed to do just what you want.
Related
I want to implement an evaluation feature to my chatbot. User would be able to rate service on a scale of 1 to 5 and make suggestions.
I guess I would use slots for that and store the provided data in a variable.
What would be the easiest way for me to save and access that data later?
Somehow I need to write it to a database and make that database easily accessible. Or ideally having Watson sending an email with the feedback to myself.
Is there an IBM Cloud Database service available for that?
What would be my first steps in order to achieve this? Maybe you have some tips or documentation links, or even code snippets if it's not to much work for you.
I used IBM Cloud functions to get a joke from an API to Watson via webhook. I used code from the internet. So I am somewhat familiar with the concept, but I need more guidance and couldn’t find anything helpful. Basically I know nothing about NODE.
I would recommend the tutorial and its code on how to build a database-driven Slackbot with Watson Assistant. It uses a webhook and Cloud Functions to interact with a database for various actions. You could use that as blueprint for setting up the webhook and see how the database is invoked.
Make sure to secure the webhook. This can only be done using the command line (CLI), see the Cloud Functions doc on securing web actions.
I have been trying to find an answer to this question, but can't seem to have any luck.
Is it possible to upload a document to Watson Discovery via Watson Assistant?
If so, could anyone point me in the right direction?
There is nothing out of the box that could do as you ask. Discovery does now come with a number of mechanisms to populate collections, i.e. Box, Web and sharepoint crawlers along with a manual upload. Non of these are integrated with Watson assistant.
That's not to say what you are looking for cannot be done, but you would need to build the mechanism yourself. As an example you could create a response payload (json packet ) within Watson Assistant that triggers some client code which performs an upload. This upload could then directly push the document into a discovery collection via discovery's API methods.
I have just started learning IBM Watson Chatbot.
The problem is that I want to change the Chatbot dictionary using php.
In other words, I want to create a php function that sends question and answers to the IBM Watson API so that it can add them to the dictionary.
But I can't find appropriate document and also the correct API endpoints.
Please help me with doing this.
If by add to the dictionary you mean perform crud on entities then you will need the V1 Watson Assistant API - https://cloud.ibm.com/apidocs/assistant#update-entity
In your case you will probably be looking at the update entity method, and update values.
I'm looking to save users' progress to a database and I'm already using AWS for user authentication. There's an option to add NoSQL support to my AWS project, but there is virtually 0 documentation that clarifies how I can save to the database or retrieve data from it.
Can anybody explain how to use it or point me towards a tutorial that can help explain?
Alternatively, are there any other services/methods I can use to store user data externally?
Well you have many options, but considering you are intend to use the AWS DynamoDB i can give you those:
1) You can create a background api service using any language like java, python, node and running it into a ec2 server and process your requests from there.
2) You can use aws lambda functions in this case you wont need a ec2 server.
3) You can use DynamoDB javacript libraries and connect to your database directly from your APP, but in this case somethings will be a lot harder to do.
One option would be to use AWS AppSync for your React Native application, which has support for using GraphQL on the client and interfacing with DynamoDB as your NoSQL store. AppSync has support for JavaScript clients including a React Native sample application and SDK.
I want to make a chatbot using IBM Watson for Skype. I am not getting any tutorial to integrate it with Skype. I am confused with various tools and platforms like botkit, chatfuel, IBM Conversation Middleware etc. Anyone can show light on it?
Watson Conversation is one REST API endpoint, so you can build some Skype app for call the Watson endpoint with code.
You can use botkit-framework, have support with Microsoft Bot Framework, including Skype, but you would have to adjust for the new botkit additions by writing some of your own custom code.
Obs.: Try to talk with Skype people professionals to see how to connect one bot API, in this case, Watson Conversation Service.
Reference: Mitch Mason