diff --git a/OS/01/core/__init__.py b/OS/01/_archive/core/__init__.py similarity index 100% rename from OS/01/core/__init__.py rename to OS/01/_archive/core/__init__.py diff --git a/OS/01/_archive/core/__pycache__/core.cpython-310.pyc b/OS/01/_archive/core/__pycache__/core.cpython-310.pyc new file mode 100644 index 0000000..08501b6 Binary files /dev/null and b/OS/01/_archive/core/__pycache__/core.cpython-310.pyc differ diff --git a/OS/01/core/core.py b/OS/01/_archive/core/core.py similarity index 100% rename from OS/01/core/core.py rename to OS/01/_archive/core/core.py diff --git a/OS/01/core/i_endpoint.py b/OS/01/_archive/core/i_endpoint.py similarity index 100% rename from OS/01/core/i_endpoint.py rename to OS/01/_archive/core/i_endpoint.py diff --git a/OS/01/core/kernel_watch.py b/OS/01/_archive/core/kernel_watch.py similarity index 100% rename from OS/01/core/kernel_watch.py rename to OS/01/_archive/core/kernel_watch.py diff --git a/OS/01/core/start_core.py b/OS/01/_archive/core/start_core.py similarity index 94% rename from OS/01/core/start_core.py rename to OS/01/_archive/core/start_core.py index aed523f..845f6d4 100644 --- a/OS/01/core/start_core.py +++ b/OS/01/_archive/core/start_core.py @@ -72,7 +72,10 @@ interpreter.id = 206 # Used to identify itself to other interpreters. This shoul ### RESET conversations/user.json -with open('interpreter/conversations/user.json', 'w') as file: + +script_dir = os.path.dirname(os.path.abspath(__file__)) +user_json_path = os.path.join(script_dir, 'conversations', 'user.json') +with open(user_json_path, 'w') as file: json.dump([], file) diff --git a/OS/01/interface/__init__.py b/OS/01/_archive/interface/__init__.py similarity index 100% rename from OS/01/interface/__init__.py rename to OS/01/_archive/interface/__init__.py diff --git a/OS/01/interface/candidate_animation.html b/OS/01/_archive/interface/candidate_animation.html similarity index 100% rename from OS/01/interface/candidate_animation.html rename to OS/01/_archive/interface/candidate_animation.html diff --git a/OS/01/interface/display.html b/OS/01/_archive/interface/display.html similarity index 100% rename from OS/01/interface/display.html rename to OS/01/_archive/interface/display.html diff --git a/OS/01/interface/interface.py b/OS/01/_archive/interface/interface.py similarity index 100% rename from OS/01/interface/interface.py rename to OS/01/_archive/interface/interface.py diff --git a/OS/01/core/conversations/another-interpreter.json b/OS/01/assistant/assistant.py similarity index 100% rename from OS/01/core/conversations/another-interpreter.json rename to OS/01/assistant/assistant.py diff --git a/OS/01/core/llm/models/mistral.llamafile b/OS/01/assistant/conversations/another-interpreter.json similarity index 100% rename from OS/01/core/llm/models/mistral.llamafile rename to OS/01/assistant/conversations/another-interpreter.json diff --git a/OS/01/core/conversations/user.json b/OS/01/assistant/conversations/user.json similarity index 100% rename from OS/01/core/conversations/user.json rename to OS/01/assistant/conversations/user.json diff --git a/OS/01/core/llm/models/moonbeam.llamafile b/OS/01/assistant/llm/models/mistral.llamafile similarity index 100% rename from OS/01/core/llm/models/moonbeam.llamafile rename to OS/01/assistant/llm/models/mistral.llamafile diff --git a/OS/01/interface/local_audio/start_rhasspy.sh b/OS/01/assistant/llm/models/moonbeam.llamafile similarity index 100% rename from OS/01/interface/local_audio/start_rhasspy.sh rename to OS/01/assistant/llm/models/moonbeam.llamafile diff --git a/OS/01/core/llm/start.py b/OS/01/assistant/llm/start.py similarity index 100% rename from OS/01/core/llm/start.py rename to OS/01/assistant/llm/start.py diff --git a/OS/01/core/tools/schedule.py b/OS/01/assistant/skills/schedule.py similarity index 100% rename from OS/01/core/tools/schedule.py rename to OS/01/assistant/skills/schedule.py diff --git a/OS/01/interface/local_audio/start_whisper.sh b/OS/01/assistant/stt.py similarity index 100% rename from OS/01/interface/local_audio/start_whisper.sh rename to OS/01/assistant/stt.py diff --git a/OS/01/assistant/tts.py b/OS/01/assistant/tts.py new file mode 100644 index 0000000..e69de29 diff --git a/OS/01/computer/kernel_watcher.py b/OS/01/computer/kernel_watcher.py new file mode 100644 index 0000000..e69de29 diff --git a/OS/01/computer/run.py b/OS/01/computer/run.py new file mode 100644 index 0000000..e69de29 diff --git a/OS/01/requirements.txt b/OS/01/requirements.txt index 4a7cc7b..daef207 100644 --- a/OS/01/requirements.txt +++ b/OS/01/requirements.txt @@ -1,4 +1,5 @@ -pip install git+https://github.com/KillianLucas/open-interpreter.git -pip install redis -pip install fastapi -pip install uvicorn +git+https://github.com/KillianLucas/open-interpreter.git +redis +fastapi +uvicorn +RPi.GPIO \ No newline at end of file diff --git a/OS/01/user/user.py b/OS/01/user/user.py new file mode 100644 index 0000000..e69de29