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

Uploaded Source

Built Distribution

File details

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

File metadata

  • Download URL: llama_index_readers_notion-0.1.10.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/6.5.0-1023-azure

File hashes

Hashes for llama_index_readers_notion-0.1.10.tar.gz
Algorithm Hash digest
SHA256 2e1d8d9c98cc2f3103aa02bf3ee361b75e0f0da6ccea0a6d4479036d2cbe1dc3
MD5 7ba815c2d35a407dbdfcd85969a94ca6
BLAKE2b-256 3b28ff9d306c12458ce12038a19e9259460255a28ebffedfff0f78e51f36a317

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_readers_notion-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 cacc50a3c1e7f003c117890fd76e9976eeb8a815d920e606cabc071c73b946cf
MD5 be75930fa2dc51c081442ce3a1212387
BLAKE2b-256 cd30d6c42681a7e5295271808852bae7712fe13080ac2e9d237c7be9fe976a97

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