fix: improve add data section (#740)
This commit is contained in:
12
docs/data-sources/docx.mdx
Normal file
12
docs/data-sources/docx.mdx
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
title: 'Docx File'
|
||||
---
|
||||
|
||||
### Docx file
|
||||
|
||||
To add any doc/docx file, use the data_type as `docx`. `docx` allows remote urls and conventional file paths. Eg:
|
||||
|
||||
```python
|
||||
app.add('https://example.com/content/intro.docx', data_type="docx")
|
||||
app.add('content/intro.docx', data_type="docx")
|
||||
```
|
||||
Reference in New Issue
Block a user