The connector extracts and processes any publicly available file. Make sure the URL to the file provided is publicly available.

Properties

Required properties:

  • url: URL to public file

Available metadata

  • url: URL of file

Compatible loaders:

  • AutoLoader
  • HTMLLoader
  • MarkdownLoader
  • NeumCSVLoader
  • NeumJSONLoader
  • PDFLoader

Usage

from neumai.DataConnectors import FileConnector
from neumai.Shared import Selector

file_connector =  FileConnector(
    url = "https://www.neum.ai/secrets.pdf",
    selector = Selector(
        to_metadata=['url']
    )
)