βHow to add a new Loader?
Configure Parameters
from .base import BaseLoader
from llama_index.core.node_parser import SentenceSplitter
import subprocess
import sys
import os
from dataclasses import dataclass
@dataclass
class NotionLoader(BaseLoader):
notion_integration_token: str = "secret_" # put your notion secret token here
chunk_size: int = 512
chunk_overlap: int = 100Initialize the loader
Split the Document
Implement the Loader
Last updated