Notion is a collaboration platform with modified Markdown support that integrates kanban boards, tasks, wikis and databases. It is an all-in-one workspace for notetaking, knowledge and data management, and project and task management.
NotionDBLoader
is a Python class for loading content from a Notion
database. It retrieves pages from the database, reads their content, and returns a list of Document objects. NotionDirectoryLoader
is used for loading data from a Notion database dump.
Notion
DatabaseIntegration Token (API key)
. Copy this token and keep it safe, as you’ll need it to use the NotionDBLoader.langchain-community
integration package.
Export
.
When exporting, make sure to select the Markdown & CSV
format option.
This will produce a .zip
file in your Downloads folder. Move the .zip
file into this repository.
Run the following command to unzip the zip file (replace the Export...
with your own file name as needed).