mdx.mdx 367 B

1234567891011121314
  1. ---
  2. title: '📝 Mdx file'
  3. ---
  4. To add any `.mdx` file to your app, use the data_type (first argument to `.add()` method) as `mdx`. Note that this supports support mdx file present on machine, so this should be a file path. Eg:
  5. ```python
  6. from embedchain import App
  7. app = App()
  8. app.add('path/to/file.mdx', data_type='mdx')
  9. app.query("What are the docs about?")
  10. ```