Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

llama_index_readers_notion-0.4.1.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

llama_index_readers_notion-0.4.1-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file llama_index_readers_notion-0.4.1.tar.gz.

File metadata

File hashes

Hashes for llama_index_readers_notion-0.4.1.tar.gz
Algorithm Hash digest
SHA256 7b764d7b9ddecdc84dc473bf16ec8bdc841c96ec0d048ffef0fe3890952a3a4f
MD5 3eaab7eda1005e0233337006d40221b9
BLAKE2b-256 f280d7d0b81bd0534d6277973cbaffb618e58e7ddf92e630485ecccdc46b1456

See more details on using hashes here.

File details

Details for the file llama_index_readers_notion-0.4.1-py3-none-any.whl.

File metadata

File hashes

Hashes for llama_index_readers_notion-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6a1d86618eedb4301cc85cb505fee7c6eff3193bb2a1c26fb22b041a815e3c41
MD5 037326f9ce8de8fc0bccababe5a91c88
BLAKE2b-256 e6739365140180f752203a0eb85fc7d0baad1ee42f355af1347b4ba969c0c126

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page