any2human / app /pipeline /generative.py
idnameraj's picture
Upload 142 files
8f6d79d verified
Raw
History Blame Contribute Delete
680 Bytes
"""Legacy generative LM rewrite — NOT used by the structural engine.
Functions remain as stubs so optional imports and old scripts do not crash.
"""
from __future__ import annotations
from typing import Any
def generative_package_present() -> bool:
return False
def generative_available() -> bool:
return False
def backend_name() -> str | None:
return None
def backend_kind() -> str:
return "none"
def rewrite_unit(*_args: Any, **_kwargs: Any) -> str | None:
return None
def generative_paraphrase(*_args: Any, **_kwargs: Any) -> str | None:
return None
def warm_generative() -> bool:
return False