Getting Started
Installation
Install scinr using pip or uv:
Or with uv:
Optional Provider Dependencies
scinr provides optional extras for different LLM providers and storage backends:
# OpenAI support
pip install "scinr[openai]"
# AWS Bedrock support
pip install "scinr[bedrock]"
# Ollama support
pip install "scinr[ollama]"
# MongoDB storage support
pip install "scinr[mongodb]"
# Install all optional dependencies
pip install "scinr[openai,bedrock,ollama,mongodb]"
Prerequisites
Before running the full extraction pipeline, ensure you have:
- Python 3.11+ installed.
- Neo4j 5.0+ instance running (Bolt protocol).
- MongoDB 4.6+ (optional, for persistent document storage).
- API keys for your preferred LLM provider (e.g.,
OPENAI_API_KEY,AWS_ACCESS_KEY_ID).
First Ingestion Run
Create a raw data directory with document files:
Run via the newton CLI: