O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Enhancing the IBM Power Systems Platform with IBM Watson Services

Book Description

Abstract

This IBM® Redbooks® publication provides an introduction to the IBM POWER® processor architecture. It describes the IBM POWER processor and IBM Power Systems™ servers, highlighting the advantages and benefits of IBM Power Systems servers, IBM AIX®, IBM i, and Linux on Power.

This publication showcases typical business scenarios that are powered by Power Systems servers. It provides an introduction to the artificial intelligence (AI) capabilities that IBM Watson® services enable, and how these AI capabilities can be augmented in existing applications by using an agile approach to embed intelligence into every operational process. For each use case, the business benefits of adding Watson services are detailed.

This publication gives an overview about each Watson service, and how each one is commonly used in real business scenarios. It gives an introduction to the Watson API explorer, which you can use to try the application programming interfaces (APIs) and their capabilities. The Watson services are positioned against the machine learning capabilities of IBM PowerAI.

In this publication, you have a guide about how to set up a development environment on Power Systems servers, a sample code implementation of one of the business cases, and a description of preferred practices to move any application that you develop into production.

This publication is intended for technical professionals who are interested in learning about or implementing IBM Watson services on AIX, IBM i, and Linux.

Table of Contents

  1. Front cover
  2. Figures
  3. Tables
  4. Examples
  5. Notices
    1. Trademarks
  6. Preface
    1. Authors
    2. Now you can become a published author, too!
    3. Comments welcome
    4. Stay connected to IBM Redbooks
  7. Chapter 1. Introduction to IBM Power Systems servers
    1. 1.1 POWER processor-based architecture
      1. 1.1.1 IBM POWER5
      2. 1.1.2 IBM POWER6
      3. 1.1.3 IBM POWER7
      4. 1.1.4 IBM POWER8
      5. 1.1.5 IBM POWER9
    2. 1.2 Benefits of Power Systems servers
    3. 1.3 Power Systems operating systems
      1. 1.3.1 IBM AIX
      2. 1.3.2 IBM i
      3. 1.3.3 Linux on Power
  8. Chapter 2. Introduction to IBM Watson services and the Representational State Transfer architecture
    1. 2.1 Introducing IBM Watson
      1. 2.1.1 Watson services overview
      2. 2.1.2 Watson Assistant
      3. 2.1.3 Watson Discovery
      4. 2.1.4 Watson Language Translator
      5. 2.1.5 Watson Natural Language Classifier
      6. 2.1.6 Watson Natural Language Understanding
      7. 2.1.7 Watson Knowledge Studio
      8. 2.1.8 Watson Personality Insights
      9. 2.1.9 Watson Speech to Text
      10. 2.1.10 Watson Text to Speech
      11. 2.1.11 Watson Tone Analyzer
      12. 2.1.12 Watson Visual Recognition
    2. 2.2 Representational State Transfer architecture
      1. 2.2.1 Representational State Transfer Architecture
      2. 2.2.2 JavaScript Object Notation
    3. 2.3 Exploring Watson services with Watson API Explorer
      1. 2.3.1 Watson Natural Language Understanding
      2. 2.3.2 Watson Visual Recognition
      3. 2.3.3 Watson Tone Analyzer
    4. 2.4 IBM PowerAI
      1. 2.4.1 Use cases
      2. 2.4.2 Infrastructure
      3. 2.4.3 Data
      4. 2.4.4 Targeted Users
  9. Chapter 3. Typical IBM Power Systems applications
    1. 3.1 Benefits of Power Systems servers
    2. 3.2 Use case scenarios
      1. 3.2.1 Hospitality industry
      2. 3.2.2 Agriculture industry
      3. 3.2.3 Human resources talent management
      4. 3.2.4 Customer service feedback: Migration plan
      5. 3.2.5 Customer service feedback: Real-time monitoring
      6. 3.2.6 IBM Watson Health use cases
      7. 3.2.7 Other scenarios
  10. Chapter 4. Setting up the development environment
    1. 4.1 Setting up the environment on IBM AIX
      1. 4.1.1 Downloading and installing the curl and Git tools
      2. 4.1.2 Installing Node.js
    2. 4.2 Setting up the environment on Linux on Power
      1. 4.2.1 Installing the curl and Git tools on your Linux on Power server
      2. 4.2.2 Installing Node.js
    3. 4.3 Setting up the environment on IBM i on Power
      1. 4.3.1 Software prerequisites
      2. 4.3.2 Installing the Node.js and Git environment on IBM i
    4. 4.4 Continuous integration and continuous delivery
      1. 4.4.1 Jenkins automation tool installation
  11. Chapter 5. Deploying a sample Node.js application that integrates with IBM Watson services
    1. 5.1 Signing up for an account at IBM Cloud
      1. 5.1.1 Logging in to IBM Cloud
    2. 5.2 Creating a Watson Personality Insights service on IBM Cloud
    3. 5.3 Cloning and deploying the Watson Personality Insights Node.js demonstration app on AIX and Linux on Power
      1. 5.3.1 Cloning a sample Node.js application for the IBM Watson Personality Insights Service
      2. 5.3.2 Editing the credentials
      3. 5.3.3 Deploying the sample application
    4. 5.4 Cloning and deploying the Watson Personality Insights Node.js demonstration application on IBM i
      1. 5.4.1 Cloning the example application by using Git
      2. 5.4.2 Providing the correct credentials to access Watson APIs
      3. 5.4.3 Running the application
    5. 5.5 Testing the deployed application
  12. Chapter 6. Use case implementation for IBM AIX and Linux on Power
    1. 6.1 Creating Watson services on IBM Cloud
      1. 6.1.1 Creating the Watson Language Translator service
      2. 6.1.2 Creating the Watson Natural Language Understanding service
      3. 6.1.3 Creating the Watson Tone Analyzer service
    2. 6.2 Database creation
    3. 6.3 Deploying the code on Power Systems servers
    4. 6.4 Customer Feedback application code
      1. 6.4.1 The package.json file
      2. 6.4.2 Code structure
    5. 6.5 Watson services integration
      1. 6.5.1 Watson Language Translator
      2. 6.5.2 Watson Natural Language Understanding
      3. 6.5.3 Watson Tone Analyzer
    6. 6.6 Running the application
  13. Chapter 7. Use case implementation for IBM i
    1. 7.1 Use case and architecture overview
    2. 7.2 The Flight400 application
    3. 7.3 The Watson services
      1. 7.3.1 The Watson Natural Language Understanding service
      2. 7.3.2 Weather Company Data service
      3. 7.3.3 The Watson Discovery service
    4. 7.4 The orchestrating Findflights Node.js application
    5. 7.5 Putting it all together
      1. 7.5.1 Creating a Findflight procedure as an API endpoint
      2. 7.5.2 Creating Watson services on the IBM Cloud platform
      3. 7.5.3 Creating the Findflight Node.js application
  14. Chapter 8. Deploying the application into production
    1. 8.1 Standardized run time
    2. 8.2 Designing for agile
      1. 8.2.1 Application design
      2. 8.2.2 Secrets
      3. 8.2.3 Testing
      4. 8.2.4 Candidate release testing
      5. 8.2.5 Design for troubleshooting
      6. 8.2.6 Application logging
      7. 8.2.7 Developer operations (DevOps)
      8. 8.2.8 Production monitoring
    3. 8.3 AIX system setup
      1. 8.3.1 Log management
      2. 8.3.2 Monitoring resources
    4. 8.4 Linux on Power setup
      1. 8.4.1 Log management
      2. 8.4.2 Monitoring resources
    5. 8.5 Private cloud
    6. 8.6 Deployment
      1. 8.6.1 Environments
      2. 8.6.2 Dependencies
      3. 8.6.3 Reverse proxy server
      4. 8.6.4 Compression
      5. 8.6.5 Multicore
      6. 8.6.6 HTTP caching
      7. 8.6.7 Transport Layer Security
      8. 8.6.8 Proxy server for cloud services
    7. 8.7 Application management on AIX
      1. 8.7.1 Application building on AIX
      2. 8.7.2 Automated application start on AIX
    8. 8.8 AIX Application high availability
    9. 8.9 Setting up an HTTP proxy on AIX
    10. 8.10 Multi-cores in AIX
    11. 8.11 Application management on Linux
      1. 8.11.1 Application building on Linux
      2. 8.11.2 Automated application start on Linux
    12. 8.12 Linux application high availability
      1. 8.12.1 Setting up the HTTP proxy serve on Linux
    13. 8.13 Application updates
  15. Appendix A. Setup and configuration of the IBM DB2 server
    1. Preparing the DB2 server
  16. Appendix B. Additional material
    1. Locating the material on GitHub
  17. Related publications
    1. IBM Redbooks
    2. Help from IBM
  18. Back cover