galatea-associates / fuse-starter-java

Starter project for Galatea java projects
17 stars 73 forks source link

Add functionality to Hal to support returning a list of recommended reading #369

Open GalateaEbbs opened 2 years ago

GalateaEbbs commented 2 years ago

Issue Description

Context: https://github.com/galatea-associates/fuse-starter-java/issues/191

As part of reviving /hal commands in slack, we are rebuilding the functionality to exist in this project, where intents are determined via a wit.ai NLP application. Some of the functionality has already been implemented.

This issue is to add a new intent in our wit.ai application (https://wit.ai/apps/444098507116914/) for "show me recommended reading" or any similar sentence, and the functionality in fuse-starter-java to handle that intent with a link to a list of our recommended reading (some combination of our pages on Onebar, Google Drive, and Rise - requires investigation on exactly which pages).

Design

  1. Train the wit.ai application with the new intent. Give it a name like "recommendedReading".
  2. Add handling in fuse-starter-java in the HalService to return link(s) pointing to our recommended reading pages.

Test Evidence

[include relevant tests and output. Should be complete before Review is approved]

Validation in Develop -- [Proof issue is resolved in Develop. Should be complete before Issue is closed]