![]() |
Db2 as engine and data source for the data lakehouse |
Henrik's thoughts on life in IT, data and information management, cloud computing, cognitive computing, covering IBM Db2, IBM Cloud, Watson, Amazon Web Services, Microsoft Azure and more.
Showing posts with label watson. Show all posts
Showing posts with label watson. Show all posts
Wednesday, March 12, 2025
Db2 for your data lakehouse
Labels:
administration,
database,
DB2,
enterprise warehouse,
IT,
lakehouse,
version 12,
warehouse,
watson,
watsonx.data
Monday, July 1, 2024
Lakehouse: Bronze, silver, and gold levels of data
![]() |
Is this a Data Lakehouse? |
Friday, February 19, 2021
Great chatbots in no time
![]() |
Chatbots take over customer service |
Thursday, May 7, 2020
IBM Watson Studio: Download pandas DataFrame as CSV or Excel file
![]() |
Gist code snippet |
From working with pandas DataFrames locally, I knew how to turn the data into CSV or Excel files. But working with a hosted environment, accessing the file system is not possible and some other solution is needed.
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
Monday, February 25, 2019
Digital ethics, trusted AI and IBM
Last week I gave a talk followed by a discussion at a university. The presentation was about the current state of Artificial Intelligence (AI) and AI research topics. A good chunk of the discussion was dedicated to fairness, trust and digital ethics. In the following, I am sharing some of the related links.
IBM Research has a site dedicated to AI. On that, a section provides insight into topics on what they call Trusted AI. On the main IBM site is also a portal Trusted AI for Business, providing an introduction and overview for the non-research crowd. If you are interested and want to try out and learn about few problems hands-on, I recommend these links:
Finally, as a showcase of current AI capabilities, I recommend this video of IBM Project Debater and the live debate at Think 2019. A short video explains how Project Debater works:
If you have feedback, suggestions, or questions about this post, please reach out to me on Twitter (@data_henrik) or LinkedIn.
IBM Research has a site dedicated to AI. On that, a section provides insight into topics on what they call Trusted AI. On the main IBM site is also a portal Trusted AI for Business, providing an introduction and overview for the non-research crowd. If you are interested and want to try out and learn about few problems hands-on, I recommend these links:
- AI Fairness 360 Open Source Toolkit: http://aif360.mybluemix.net/
- Detect the bias - a game and survey: http://biasreduction.mybluemix.net/
- Old, but still great: MIT Moral Machine: http://moralmachine.mit.edu/
Finally, as a showcase of current AI capabilities, I recommend this video of IBM Project Debater and the live debate at Think 2019. A short video explains how Project Debater works:
If you have feedback, suggestions, or questions about this post, please reach out to me on Twitter (@data_henrik) or LinkedIn.
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, June 26, 2018
Enable Botkit Middleware for Watson Assistant for serverless actions
![]() |
Slack chatbot with Watson Assistant |
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.Thursday, July 13, 2017
Chatbots: Testing Contexts
![]() |
Watson Conversation Tool in action |
Friday, July 7, 2017
Best practices for lively chatbots
![]() |
TJBot as lively chatbot |
Introduction
I started my series on chatbots with lessons and tips from a chatbot hackathon.
In that blog I focused on general aspects of building dialogs and
designing a conversation system. The language needs to fit the audience.
It is something we will look at again today. In a recent blog post I
shared tips and tricks for building chatbots.
It is possible to carry context throughout a conversation and embed
conditions and advanced expressions into the dialog flow and single
reponses. We will use that to implement some of the best practices found
below. Building lively chatbots could also mean to give the bot a face.
The open source project TJBot
(pictured) is an example for that. The TJBot can listen, speak and see,
give additional feedback and interact through its arm and its light. We
won’t cover those aspects, e.g., hardware design or user interfaces, in
this blog entry.
Monday, June 26, 2017
More Tips and Tricks for Building Chatbots
![]() |
Chatbot Architecture |
Friday, June 2, 2017
EgoBot: Fun with a Slightly Mutating ChatBot
![]() |
Fun with the Bluemix EgoBot |
The EgoBot is at an early stage right now. It supports queries about some of its metadata and adding new intents. And it has both an English and a German version (does language change its character...?). You can see a sample session below.
![]() |
Chatting with the Bluemix EgoBot |
Subscribe to:
Posts (Atom)