repositories
loading repo index
repositories
loading repo index
repository
loading code, commits, and activity
public Clawd ADK gateway launch mirror
stars
latest
clone command
git clone gitlawb://did:key:z6Mkq5mY...iFZ5/my-project-publ...git clone gitlawb://did:key:z6Mkq5mY.../my-project-publ...2fa351d6docs: add automaton and perps launch sources16d ago| #1 | --- |
| #2 | title: '📓 Notion' |
| #3 | --- |
| #4 | |
| #5 | To use notion you must install the extra dependencies with `pip install --upgrade embedchain[community]`. |
| #6 | |
| #7 | To load a notion page, use the data_type as `notion`. Since it is hard to automatically detect, it is advised to specify the `data_type` when adding a notion document. |
| #8 | The next argument must **end** with the `notion page id`. The id is a 32-character string. Eg: |
| #9 | |
| #10 | ```python |
| #11 | from embedchain import App |
| #12 | |
| #13 | app = App() |
| #14 | |
| #15 | app.add("cfbc134ca6464fc980d0391613959196", data_type="notion") |
| #16 | app.add("my-page-cfbc134ca6464fc980d0391613959196", data_type="notion") |
| #17 | app.add("https://www.notion.so/my-page-cfbc134ca6464fc980d0391613959196", data_type="notion") |
| #18 | |
| #19 | app.query("Summarize the notion doc") |
| #20 | ``` |
| #21 |