[Bug fix] Fix issue with gmail loader (#1228)

This commit is contained in:
Deshraj Yadav
2024-01-29 18:36:02 +05:30
committed by GitHub
parent 31bb0e7f0f
commit 2985b667b0
4 changed files with 28 additions and 9 deletions

View File

@@ -7,11 +7,12 @@ When we say "custom", we mean that you can customize the loader and chunker to y
```python
from embedchain import App
import your_loader
import your_chunker
from my_module import CustomLoader
from my_module import CustomChunker
app = App()
loader = your_loader()
chunker = your_chunker()
loader = CustomLoader()
chunker = CustomChunker()
app.add("source", data_type="custom", loader=loader, chunker=chunker)
```