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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file llama_index_readers_notion-0.3.0.tar.gz
.
File metadata
- Download URL: llama_index_readers_notion-0.3.0.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.10 Darwin/22.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a79518f2340001370b1f728f64de6a7af98a49d67080745bdaa970d92420b84f |
|
MD5 | 02dd12bc4f7d4b4380e2b0c8d6779bf0 |
|
BLAKE2b-256 | abb584c7da9ce29c5e6dfa458128cabb46c4b8146f874d7d53a1f8b30f9f8baa |
File details
Details for the file llama_index_readers_notion-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: llama_index_readers_notion-0.3.0-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.10 Darwin/22.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 450a26240aba077884459f4b1db07f103d012d93dfa16d8ab64a6b3447be104e |
|
MD5 | e06110fa2da1e7d99a8e3be439d3423e |
|
BLAKE2b-256 | ad895e85508aee2364b483c6b3272f6270f165b559e70c8e3b60b21b82e8864f |