Files
fn_registry/python/pyproject.toml
T
egutierrez fa5bcca155 feat(datascience): GLiREL relation extractor (zero-shot triplets) drop-in con LLM
- glirel_load_model: cache por (model_name, device); device='auto' resuelve via torch
- extract_relations_glirel: tokeniza por whitespace, mapea spans char->token,
  llama predict_relations y devuelve RelationCandidate; fallback text.find si la
  entidad llega sin offsets; max_pairs=N -> top-N por score
- pyproject.toml: glirel en extra nlp

Closes #0039

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-30 16:41:09 +02:00

32 lines
675 B
TOML

[project]
name = "fn-registry-python"
version = "0.1.0"
description = "Funciones Python del fn-registry: Metabase API, ML, utilidades"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"cryptography>=46.0.6",
"fpdf2>=2.8.7",
"google-cloud-bigquery>=3.25",
"google-cloud-bigquery-datatransfer>=3.22.0",
"google-cloud-bigquery-storage>=2.27",
"google-cloud-storage>=3.10.1",
"httpx",
"openpyxl>=3.1.5",
"pypdf>=6.10.0",
"python-docx>=1.2.0",
"pyyaml>=6.0.3",
"xlrd>=2.0.2",
]
[project.optional-dependencies]
nlp = [
"gliner>=0.2.13",
"glirel>=1.0.0",
]
[dependency-groups]
dev = [
"pytest>=9.0.2",
]