Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Google Cloud AI Services Quick Start Guide

You're reading from  Google Cloud AI Services Quick Start Guide

Product type Book
Published in May 2018
Publisher Packt
ISBN-13 9781788626613
Pages 234 pages
Edition 1st Edition
Languages
Author (1):
Arvind Ravulavaru Arvind Ravulavaru
Profile icon Arvind Ravulavaru
Toc

Integrating the Natural Language API with SmartExchange

Now that we have seen what can be done using the Natural Language API, let's actually integrate this into SmartExchange. We will allow the users to post a text response to a thread. Before we save this in the database, we will send the text for content analysis to the Natural Language API and get the analysis results. We are going to save the text as well as the analysis in our message collection and display the results to the user. The final output of the text analysis will appear as shown in the following screenshot:

So, let's get started with the implementation.

Solution design

To achieve the preceding result, we are going to do the following:

  1. On the view...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}