Functions allows you to run code on your data moving through the PubNub network. This could be transforming a message’s content, triggering an action based on a message, or filtering messages that meet certain criteria. And it all happens in the network, so there’s no need to spin up your own servers to run the business logic.
This opens the doors for integrating IBM Watson extensive list of APIs directly into your application. Watson specializes in cognitive capabilities, enabling you to build smarter applications that combine the speed and messaging of PubNub, and the brains of Watson.
So why Watson and PubNub? Why not just build these systems yourself?
Building and training smart services is incredibly difficult. Distilling meaning of text inputs, responding to those text inputs in a humanlike way, and analyze massive sets of data and intelligently making decisions on it takes a giant engineering team and a load of resources. Lucky for you, Watson gives you these capabilities through their suite of APIs. And even better, Functions makes it incredibly easy to integrate the power of Watson into your real-time applications.
And just a heads up, Functions was once known as PubNub BLOCKS. If you see any mention of ‘Watson BLOCK’ or ‘BLOCKS Catalog’, that’s what we’re talking about here.
Let’s explore a couple example use cases for Watson and PubNub, that include full demos and tutorials. You can see our full tutorials on the navigation on the left or the list below.
With that, get building! Check out all the tutorials on the left side navigation. We’re always adding new tutorials and expanding our Watson library, so check back!