These capabilities are currently in beta. Please contact founders@tryneum.com with any questions or asks.

Only supported for local development. Not supported for Neum cloud.

Document Loaders

Langchain offers a variety of document loaders for many sources. Langchain loaders have a similar load method to Neum data connectors. The output of the method is a Langchain Document vs a Neum Document. We offer helpers to transform documents.

!pip install neumai-tools

from neumai_tools.InteropHelpers.DocumentTransformer import document_transformer_llamaIndex
from llama_index import SimpleDirectoryReader

documents = SimpleDirectoryReader("./data").load_data()

neum_documents = [document_transformer_llamaIndex(document) for documents in documents]