fix: improve add data section (#740)

This commit is contained in:
Taranjeet Singh
2023-09-30 11:13:44 -07:00
committed by GitHub
parent 7a1866d280
commit 28d41e9397
16 changed files with 224 additions and 162 deletions

View File

@@ -0,0 +1,15 @@
---
title: 'Notion'
---
### Notion
To use notion you must install the extra dependencies with `pip install --upgrade embedchain[notion]`.
To load a notion page, use the data_type as `notion`. Since it is hard to automatically detect, forcing this is advised.
The next argument must **end** with the `notion page id`. The id is a 32-character string. Eg:
```python
app.add("cfbc134ca6464fc980d0391613959196", "notion")
app.add("my-page-cfbc134ca6464fc980d0391613959196", "notion")
app.add("https://www.notion.so/my-page-cfbc134ca6464fc980d0391613959196", "notion")
```