llama-index readers notion integration
Project description
LlamaIndex Readers Integration: Notion
Overview
Notion Page Reader enables loading data from Notion pages. It constructs queries to retrieve pages based on page IDs or from a specified Notion database.
Installation
You can install Notion Reader via pip:
pip install llama-index-readers-notion
Usage
from llama_index.readers.notion import NotionPageReader
# Initialize NotionPageReader
reader = NotionPageReader(integration_token="<Integration Token>")
# Load data from Notion
documents = reader.load_data(
page_ids=["<Page ID 1>", "<Page ID 2>"], # List of page IDs to load
database_id="<Database ID>", # Database ID from which to load page IDs
)
Implementation for Notion reader can be found here
This loader is designed to be used as a way to load data into LlamaIndex and/or subsequently used as a Tool in a LangChain Agent.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for llama_index_readers_notion-0.1.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 756b05077a288d1ec0884c4ead7b26b43c5524ac6ed46b25c687440e614a9c76 |
|
MD5 | 03787c4012233e1e4240e564d78dc3ee |
|
BLAKE2b-256 | 27229d225430cb43e01b05b856ad8ce544497fdc5dbaab86bfb2b2e4ed5a0b2c |
Close
Hashes for llama_index_readers_notion-0.1.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f80ae01e421adc0f54cc4e668eaf24f1bbc93eff8b4485f94d8cc64544b6efe6 |
|
MD5 | e650b594b7c153b25522d36bbc2f9671 |
|
BLAKE2b-256 | 172e848b8152aff3f8db2a104204d23dadb2182fb3f27fdd00083f20133e9b58 |