diff --git a/src/applications/qa/index.js b/src/applications/qa/index.js index 797e07e..aa0704b 100644 --- a/src/applications/qa/index.js +++ b/src/applications/qa/index.js @@ -63,6 +63,9 @@ async function ask( title: entry.document.title, url: entry.document.url, confidenceScore: entry.answer.confidence_score, + question_type_prediction: entry.answer.question_type_prediction, + boolean_answer_prediction: entry.answer.boolean_answer_prediction, + display_each_boolean_answer: true }); }); } diff --git a/src/applications/reading/index.js b/src/applications/reading/index.js index 2b6c2b6..f69d8d8 100644 --- a/src/applications/reading/index.js +++ b/src/applications/reading/index.js @@ -57,6 +57,9 @@ async function read( startCharOffset: answer.start_char_offset, endCharOffset: answer.end_char_offset, confidenceScore: answer.confidence_score, + question_type_prediction: answer.question_type_prediction, + boolean_answer_prediction: answer.boolean_answer_prediction, + display_each_boolean_answer: false }); }); } @@ -124,7 +127,7 @@ function Reading({ application, showSettings }) { {application.description}
-

What would you like to know?

+

What would you like to know? (boolean or factoid question)