- NatirisMaster.py aktualisiert - NaturalLanguageEngine optimiert - PsychologyEngine & Arousal-Engine - WebUI (FastAPI) mit Chat-API - Bridges: ComfyUI, Ollama, Vision - Admin-Auth System - .gitignore hinzugefügt (checkpoints, logs, generated)
2.2 KiB
Executable File
2.2 KiB
Executable File
Natiris Admin Befehle
Port für Webchat: 8080
Status abrufen:
cat ~/natiris/core/core_state.json
cat ~/natiris/core/natiris_full_state.json
cat ~/natiris/core/expression_bias.json
lsof -i:8080
Webchat neu starten:
pkill -f "streamlit run.*webui_chat.py"
nohup streamlit run ~/natiris/core/webui_chat.py --server.port 8080 --server.headless true > ~/natiris/test_logs/webui_8080.log 2>&1 &
sleep 2
lsof -i:8080 -t > ~/natiris/core/webui_port_8080.pid
Core-Module ausführen:
cd ~/natiris/core && python3 LogicValidator.py
cd ~/natiris/core && python3 OrchestratorAll.py
PsychologyEngine testen:
cd ~/natiris/core && python3 PsychologyEngine.py
Trust-Level testen (ohne Webchat):
cd ~/natiris/core && python3 -c "
state = {'loneliness': 1, 'mood': 7, 'anxiety': 0, 'arousal_level': 2, 'trust': 1.0, 'bonded_to': 'user_primary', 'has_pets': True}
exec(open('PsychologyEngine.py').read().replace('def main():', 'def test_main():').replace('if __name__ == \"__main__\":', 'if False:'))
resp = generate_response('Guten Morgen', state)
print(resp)
"
Logs anzeigen:
tail -f ~/natiris/test_logs/webui_8080.log
cat ~/natiris/core/psychology_response.json
Persona anpassen:
nano ~/natiris/data/persona.txt
Core State resetten (nur für debugging):
echo '{"loneliness": 1, "mood": 7, "anxiety": 0, "arousal_level": 2, "trust": 9.8, "bonded_to": "user_primary", "has_pets": true, "current_age": 22, "bond_started_at": "now"}' > ~/natiris/core/core_state.json
Expression Modul manuell ausführen:
cd ~/natiris/core && python3 ExpressionEngine.py
InnerLifeWorker manuell ausführen:
cd ~/natiris/core && python3 InnerLifeWorker.py
Bond Engine manuell ausführen:
cd ~/natiris/core && python3 BondEngine.py
Maturity Engine manuell ausführen:
cd ~/natiris/core && python3 MaturityEngine.py
Emotion Engine manuell ausführen:
cd ~/natiris/core && python3 EmotionEngine.py
Ollama health check:
curl -s http://localhost:11434/api/tags
ComfyUI health check:
curl -s http://10.90.20.153:42006/