---
layout: page
title: "TensorFlow BERT QnA"
node_type: "lib.tensorflow.Qna"
namespace: "lib.tensorflow"
---

**Type:** `lib.tensorflow.Qna`

**Namespace:** `lib.tensorflow`

## Description

Answer a natural-language question against a passage of context using the TensorFlow.js BERT QnA model.
    tensorflow, qna, bert, nlp, extractive, reading comprehension

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|---------|
| question | `str` | Natural-language question to answer | `` |
| passage | `str` | Passage of text to extract the answer from | `` |

## Outputs

| Output | Type | Description |
|--------|------|-------------|
| output | `list` |  |

## Related Nodes

Browse other nodes in the [lib.tensorflow](../) namespace.
