![]() |
A Twitterbot at work |
Showing posts with label chatbot. Show all posts
Showing posts with label chatbot. Show all posts
Friday, September 3, 2021
Serverless Twitter Bot using IBM Cloud
Friday, February 19, 2021
Great chatbots in no time
![]() |
Chatbots take over customer service |
Wednesday, June 10, 2020
Hands-on security: Share resources on IBM Cloud
![]() |
Architecture: Database-driven Slackbot |
Thursday, December 12, 2019
asd765 cloud 87ohhlj db2 askh security xbas chatbot
If you came here and wondered about the blog title, then read on. I plan to write about a couple of mixed, seemingly random topics. Why not express that in today's blog title...? :) It is almost end of the year and here is some news I wanted to share with you before the holidays.
Friday, May 3, 2019
Your chatbot with Watson Discovery News
Some months back I introduced you to a barebone news chatbot. Today, with the updated tutorial to build a database-driven chatbot in place, I want to show you how to easily combine Watson Assistant with Watson Discovery. Watson Assistant already provides steps to deploy an integrated search skill which is based on Watson Discovery. My approach is similar to the database integration: Deploy a cloud function and invoke it from the dialog.
Wednesday, April 24, 2019
Updated tutorial: Database-driven chatbot
If you want to build a chatbot that gets its content from a database, there is a good news. The existing tutorial “Build a database-driven Slackbot”
was just updated to adapt to latest features of IBM Watson Assistant.
First, define a skill that reaches out to a database service like Db2.
Thereafter, use the built-in integrations to easily tie in the assistant
with Slack, Facebook Messenger, embed the chatbot into your
own application or use the WordPress plugin.
![]() |
Architecture of database-driven chatbot |
Labels:
chatbot,
cloud,
data in action,
database,
DB2,
IBM,
postgresql,
tutorial,
watson
Tuesday, November 20, 2018
IBM Cloud: The 5 minute barebone news chatbot
![]() |
News chatbot with Watson Assistant |
Wednesday, October 31, 2018
IBM Watson Assistant: Chatbot tool now supports testing client actions
![]() |
Test your chatbot |
Friday, September 21, 2018
More tricks for building chatbots with IBM Watson Assistant
![]() |
Have you heard? New tips and tricks! |
Wednesday, July 18, 2018
Now on GitHub: Understand and build chatbots the easy way
Recently, I posted about a then upcoming Meetup and my talk about chatbots. Here is a quick follow-up. To compile stuff for that presentation and some other upcoming talks, I created a GitHub repository "chatbot-talk2018". I has lots of links to get started and to deepen understanding around chatbot technology. Moreover, it contains a presentation in Markdown for GitPitch for you to use and extend. And finally, I wrote this brief introduction to some chatbot terms or concepts:
- Intents are what the user aims for, the desired action or result of the interaction. An intent can be to retrieve a weather report.
- Entities are (real or virtual) subjects or objects. For the example of the weather report, entities can be the city or country, e.g., Friedrichshafen in Germany, or date and time information such as "today afternoon".
- A dialog, dialog flow or dialog tree
is used to structure the interaction. Typically, an interaction lasts
longer than the user providing input and the chatbot returning a single
answer. A dialog can be highly complex with several levels, subbranches,
(directed) links between dialog nodes and more.
For a weather chatbot, a dialog could be constructed that, after a greeting, asks the user about the location and time for a weather report, then asks if additional information, such as a weather outlook for the next few days, is needed. - Slots are supported by several chatbot systems. Slots are used to specify the data items that need to be specified in order to produce the result of an intent. To return a weather report, e.g., at least the location and maybe the date or time is needed.
- Context is state information that is carried from step to step for a specific user interaction. The context typically stores the information that is already gathered as input (see "slot"), result-related data or metadata, or general chat information, e.g., the user name.
Monday, July 16, 2018
Extended: Manage and interact with Watson Assistant from the command line
Remember my blog posts about how to manage Watson Assistant from the command line and how to test context for a conversation? Well, that tool did not work well for server actions which I used in this tutorial on building database-driven Slackbot. The good news is that I found time to extend my command line Watson Conversation Tool to support credentials for IBM Cloud Functions.
With the recent update to the tool there are two new features:
With the recent update to the tool there are two new features:
- Use the option "-outputonly" with the "-dialog" option to only print the output text, not the entire JSON response object. I introduced it to be able to demo dialog flows from the command line. Not everybody needs all the metadata for every dialog turn. Here is how it looks like when in action:
- In order to test dialog server actions, I need to provide the credentials for IBM Cloud Functions (ICF) in a private context variable. I recently blogged about how to enable the Watson botkit middleware for those server actions. For my tool, just provide the ICF key token as part of the configuration file. A sample is part of the GitHub repository.
![]() |
Chatbot dialog on the command line |
Tuesday, July 3, 2018
Learn about chatbots at upcoming IBM Cloud Meetup
![]() |
Learn how to chat at the Meetup |
If you followed my blog and the chatbot-related posts, you probably already know what to expect. First, I am going to introduce you to chat / conversation services and the standard terms. Then, we jointly will take a look at the IBM Cloud solution tutorials and the chatbot-related resources. I plan to finish with a demo showing how to build a chatbot from scratch in few minutes and to integrate it into Slack. If you are close to Stuttgart, join me on July 17th for the chatbot session.
If you have feedback, suggestions, or questions about this post, please reach out to me on Twitter (@data_henrik) or LinkedIn.
Tuesday, June 26, 2018
Enable Botkit Middleware for Watson Assistant for serverless actions
![]() |
Slack chatbot with Watson Assistant |
Monday, June 18, 2018
Use BotKit Middleware to create Watson-powered database interface
![]() |
Chatbot anyone? |
Tuesday, February 27, 2018
Security Details: Serverless database access within IBM Watson Conversation service
![]() |
Slackbot Architecture |
Monday, February 19, 2018
New tutorial: Db2-driven Slackbot
Ever wanted to build a Slackbot, a chatbot integrated into Slack, on your own? I am going to show you how easy it is to integrate Slack or Facebook Messenger with the IBM Watson Conversation service.
As a bonus, the bot is going to access a Db2 database to store and
retrieve data. The solution is based on IBM Cloud Functions and entirely serverless
.
![]() |
Slackbot Architecture |
Thursday, February 15, 2018
Easy Database Setup the Serverless Way
![]() |
Serverless Slackbot with Db2 |
Tuesday, February 6, 2018
Chatbots: Some tricks with slots in IBM Watson Conversation

Slots
With my chatbot interface to Db2 I want to both query the database and insert new records. Thus, I need to collect input data of various kind. The Conversation service has a neat feature named input slots that simplifies that process. Within a dialog node (a logical step within the chat flow) I can specify a list of items the Conversation service should check for. I can tell in which variable to save that input and what question to ask if that data was not provided yet. Optional slots, i.e., optional data, can be enabled.Tuesday, December 12, 2017
News on IBM Cloud and Db2 - December 2017 Edition
![]() |
Another month and a lot of news |
I try to regularly read over the "What's in IBM Cloud" section in the IBM Cloud documentation. There were two significant announcements.
- The new Resource Groups allow simpler management of all what is in your account (a.k.a. "resources"). You can now group apps, services, virtual machines, Kubernetes-based container services and more and easily assign access privileges.
- With the introduction of the Resource Groups also came the IBM Cloud Identity and Access Management. It facilitates fine-grained access control utilizing API keys, service IDs and more.
As you might know, I am using and write about the IBM Watson Conversation service. What I liked from their "Release Notes" is a new beta feature to directly call actions from within a dialog node. IBM Cloud Functions are supported. I put that to a test and wrote a Slack bot backed by Watson Conversation that directly queries a Db2 database. I need to beautify the code and write it down (and submit it to IDUG).
I wrote a tutorial about how to generate, access and analyze application logs on IBM Cloud. You can find it in the Solution Tutorials as part of the IBM Cloud documentation.
If you have feedback, suggestions, or questions about this post, please reach out to me on Twitter (@data_henrik) or LinkedIn.
Thursday, July 13, 2017
Chatbots: Testing Contexts
![]() |
Watson Conversation Tool in action |
Subscribe to:
Posts (Atom)