qna.mdx 224 B

1234567891011
  1. ---
  2. title: 'QnA Pair'
  3. ---
  4. ### QnA pair
  5. 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:
  6. ```python
  7. app.add(("Question", "Answer"), data_type="qna_pair")
  8. ```