MCPcopy Create free account
hub / github.com/VectifyAI/OpenKB / _classify

Function _classify

openkb/cli.py:1614–1615  ·  view source on GitHub ↗
(meta: dict)

Source from the content-addressed store, hash-verified

1612 targets = [matches[0][1]]
1613
1614 def _classify(meta: dict) -> str:
1615 return "long" if _is_long_doc(meta) else "short"
1616
1617 # --dry-run: enumerate only, no LLM calls, no writes.
1618 if dry_run:

Callers 1

recompileFunction · 0.85

Calls 1

_is_long_docFunction · 0.85

Tested by

no test coverage detected