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.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07b86d83fa63fe47d9bd100893a4085fbd45b688c0701ee1cf04033a0ded0e9e |
|
MD5 | 9574db73dd0ff181cbe77517978993a1 |
|
BLAKE2b-256 | 7ead6451a46f559ac8ff0d5d30d331574bc7595d12a08dbefc95fd88087c6a49 |
Close
Hashes for llama_index_readers_notion-0.1.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5e1ebbe81eee1f513bc01a4d9982c76238b00f148faee72911bb31c4f6ca591 |
|
MD5 | 26b2ba63e6ebad9a214421816a1261b4 |
|
BLAKE2b-256 | c675369d00aa808cc608108035dda859e376473fa509fb3630811e604a937b43 |