init: company-haness 설계
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env python3
|
||||
"""CLI wrapper for deterministic intake classification."""
|
||||
import json
|
||||
import os
|
||||
import sys
|
||||
|
||||
HERE = os.path.dirname(os.path.abspath(__file__))
|
||||
sys.path.insert(0, HERE)
|
||||
from orgos.planning.intake_classifier import classify_request # noqa: E402
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
text = " ".join(sys.argv[1:]).strip() or sys.stdin.read().strip()
|
||||
print(json.dumps(classify_request(text), ensure_ascii=False, indent=2))
|
||||
Reference in New Issue
Block a user