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.3.0.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for llama_index_readers_notion-0.3.0.tar.gz
Algorithm Hash digest
SHA256 a79518f2340001370b1f728f64de6a7af98a49d67080745bdaa970d92420b84f
MD5 02dd12bc4f7d4b4380e2b0c8d6779bf0
BLAKE2b-256 abb584c7da9ce29c5e6dfa458128cabb46c4b8146f874d7d53a1f8b30f9f8baa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_readers_notion-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 450a26240aba077884459f4b1db07f103d012d93dfa16d8ab64a6b3447be104e
MD5 e06110fa2da1e7d99a8e3be439d3423e
BLAKE2b-256 ad895e85508aee2364b483c6b3272f6270f165b559e70c8e3b60b21b82e8864f

See more details on using hashes here.

Supported by

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