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.0.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.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for llama_index_readers_notion-0.4.0.tar.gz
Algorithm Hash digest
SHA256 6e9fec092cd5ea88c2cc82a4569564296ef1633ff6205ef85e40a0be7cc3dd18
MD5 fe5ca2c3bd2168a45e980adbaacc0dfb
BLAKE2b-256 d1d00e6da2f6abb7a9d8e7d5aa830e6cef5a25266170508099a84c6869749a19

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_readers_notion-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 091a5eeb4ea7597817470d8fedbea9a61341b260202b48636547b7acb5840437
MD5 a65ed6be6d1ff8bfa3ba801ec89dc389
BLAKE2b-256 9d7bc5a4d3cdb82ea03534f13be7d352168c750df437a2818239b5a64d079596

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