Echo Dot (3rd Gen) - Smart speaker with Alexa - Charcoal

Use your voice to play a song, artist, or genre through Amazon Music, Apple Music, Spotify, Pandora, and others. With compatible Echo devices in different rooms, you can fill your whole home with music.

Buy Now

Wireless Rechargeable Battery Powered WiFi Camera.

Wireless Rechargeable Battery Powered WiFi Camera is home security camera system lets you listen in and talk back through the built in speaker and microphone that work directly through your iPhone or Android Mic.

Buy Now

Create a machine learning application to answer questions from a book – IBM Developer

0
120


Summary

In this code pattern, learn how to build a chatbot that answers a user’s questions by finding the answer in a college biology textbook.

Description

Ever found yourself wondering what mitochondria are? Perhaps you are curious about how neurons communicate with each other? A Google search works well to answer your questions, but what about something still digestible, but more precise? This code pattern shows you how to build a chatbot that answers a user’s questions by finding the answer in a college biology textbook. In the pattern, the textbook used is Biology 2e by Mary Ann Clark, Matthew Douglas, and Jung Choi.

The web app uses the Model Asset eXchange (MAX) Question Answering Model to answer questions that are typed in by the user. The web application provides a chat-like interface that lets users type in questions, which are then sent to a Flask Python server. The back end sends the question and related body of text from the textbook to a REST endpoint exposed by the MAX model, which returns an answer to the question, displayed as a response from the chatbot. The model’s REST endpoint is set up using the Docker image provided on MAX.

When you have completed this code pattern, you understand how to:

  • Build a Docker image of the Model Asset eXchange (MAX) Question Answering model
  • Deploy a deep learning model with a REST endpoint
  • Generate answers to questions using the MAX Model’s REST API
  • Run a web application that using the model’s REST API

Flow

Machine learning application flow diagram

Instructions

Find the detailed steps for this pattern in the README file. The steps show you how to:

  1. Deploy the model.
  2. Build the web app.
  3. Clone the repository.
  4. Install the dependencies.
  5. Start the server.

Karthik Muthuraman

Garima Singh



Read More

LEAVE A REPLY

Please enter your comment!
Please enter your name here