qna.mdx 274 B

12345678910111213
  1. ---
  2. title: '❓💬 Queston and answer pair'
  3. ---
  4. 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:
  5. ```python
  6. from embedchain import App
  7. app = App()
  8. app.add(("Question", "Answer"), data_type="qna_pair")
  9. ```