sift-kg

(β˜… 766)

Turn any collection of documents into a knowledge graph. Extract entities and relationships via LLM, deduplicate with your approval. Map domains, find hidden connections, spot patterns across documents β€” knowledge that persists and compounds, for you and your AI agents. All from the CLI.

  • .env.example
  • .gitignore
  • LICENSE
  • pyproject.toml
  • README.md

# Installation Guide

1. Get the code
git clone https://github.com/juanceresa/sift-kg

Downloads the entire project code from GitHub to your computer.

cd sift-kg

Moves into the project folder you just downloaded.

2. Official Install Script

Easy Recommended
Prerequisites
  • Python 3 Python is required to use pip.
  • Homebrew A package manager for macOS/Linux.
  • APT (Debian/Ubuntu 계열) Built into Debian/Ubuntu-based Linux distributions.
pip install sift-kg

Installs the package published on PyPI directly β€” no need to clone the source.

brew install tesseract # macOS

Installs the pre-built package via Homebrew β€” no source build required.

sudo apt install tesseract-ocr # Ubuntu/Debian

Installs directly from the APT package repository (Debian/Ubuntu-based).

pip install sift-kg[ocr]

Installs the package published on PyPI directly β€” no need to clone the source.

βœ… After installing, open a new terminal and run the program's version command (e.g. --version) to confirm it worked.

Pulled directly from this repo's README.

3. Python

Easy
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Python 3 On Windows, be sure to check 'Add Python to PATH' during installation.
pip install sift-kg

Installs the package published on PyPI directly β€” no need to clone the source.

pip install sift-kg[ocr]

Installs the package published on PyPI directly β€” no need to clone the source.

pip install sift-kg[embeddings]

Installs the package published on PyPI directly β€” no need to clone the source.

pip install -e ".[dev]"

Installs the Python libraries listed in requirements.txt (or similar).

pip install sift-kg[embeddings] # sentence-transformers + scikit-learn (~2GB, pulls PyTorch)

Installs the package published on PyPI directly β€” no need to clone the source.

βœ… If it runs without errors and prints output in the terminal, it worked.

Pulled directly from this repo's README.

// repository documentation