You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

llama-index-readers-notion

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

llama-index-readers-notion

llama-index readers notion integration

0.3.0
pipPyPI
Maintainers
1

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.

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts