11 lines
224 B
Plaintext
11 lines
224 B
Plaintext
---
|
|
title: 'QnA Pair'
|
|
---
|
|
|
|
### QnA pair
|
|
|
|
QnA pair is a local data type. To supply your own QnA pair, use the data_type as `qna_pair` and enter a tuple. Eg:
|
|
|
|
```python
|
|
app.add(("Question", "Answer"), data_type="qna_pair")
|
|
``` |