Skip to main content

delentia-os

Python SDK for AI Engineers & Data Scientists (Python 3.10+)

v2.2.6

1,250 downloads/mo

1. การติดตั้งแพ็กเกจ

# Install via pip

pip install delentia-os

2. ตัวอย่างการตั้งค่าใช้งาน

เริ่มต้นลูปการประเมิน Intent และรันลอจิกตัวกรอง FDIA บนคอมพิวเตอร์ของคุณ:

from delentia_os.core.loop import JITNALoop
from delentia_os.core.fdia import FDIAScorer

# Initialize scoring engine
scorer = FDIAScorer()

# Run intent loop
with JITNALoop(config="rct_config.yaml") as loop:
    # Process intent
    response = loop.process(
        intent="Trigger backup container and sync keys",
        context={"actor": "admin"}
    )
    
    # Calculate score F = D^I * A
    score = scorer.score(intent=loop.intent, response=response)
    print(f"FDIA F-Score: {score.F:.3f} (Passed: {score.F >= 0.87})")
อ่านสเปกโปรโตคอลหลัก: JITNA v3 / RCT-7
คลังโค้ดต้นทาง: Delentia-OS Repo