# TextGraph — all optional capabilities (the [full] extra + every backend).
#
# You do NOT need any of this for the interactive UI or the default CLI — requirements.txt
# is enough. Install this only when you want the heavy, opt-in features. Each block is an
# extra in pyproject.toml; grab a single block if you only want one capability.
#
#   pip install -r requirements-full.txt
#
-r requirements.txt

# ingest — higher-fidelity rich-document ingestion (Docling layout/tables/OCR, code, logs).
# (PDF text ingestion is in the core requirements.txt now — pypdf is a default dependency.)
docling>=2.0.0
tree-sitter>=0.21.0
drain3>=0.9.11

# ie — encoder information extraction (GLiNER entities/relations, coref)
spacy>=3.7.0
gliner>=0.2.0
fastcoref>=2.1.6

# er — entity resolution (Splink probabilistic linkage)
splink>=4.0.0
duckdb>=1.0.0

# graph — analytics + persistent storage backend (Leiden communities, DuckDB/Parquet)
networkx>=3.2
leidenalg>=0.10.0
python-igraph>=0.11.0
pyarrow>=15.0.0

# surfaces / backends
neo4j>=5.0.0                    # neo4j export
mcp>=1.0.0                      # Model Context Protocol stdio server
sentence-transformers>=3.0.0   # cross-encoder reranker ([rerank])
rapidocr-onnxruntime>=1.3.0    # OCR ([ocr])
colpali-engine>=0.3.0          # vision-native ColPali/ColQwen retrieval ([vision])
openfga-sdk>=0.5.0             # OpenFGA / Zanzibar access-control backend ([security])
