diff --git a/01OS/.env.example b/01OS/.env.example index f05028c..fa20ac9 100644 --- a/01OS/.env.example +++ b/01OS/.env.example @@ -5,6 +5,7 @@ # else we use whisper.cpp and piper local models ALL_LOCAL=False WHISPER_MODEL_NAME="ggml-tiny.en.bin" +TEACH_MODE=False # Uncomment to set your OpenAI API key # OPENAI_API_KEY=sk-... diff --git a/01OS/01OS/server/teach.py b/01OS/01OS/server/teach.py new file mode 100644 index 0000000..524375f --- /dev/null +++ b/01OS/01OS/server/teach.py @@ -0,0 +1,9 @@ +from datetime import datetime + +class Skill: + def __init__(self, name: str): + self.skill_name = name + self.steps = [] + + def teach(self, code: str): + self.steps.append(code) \ No newline at end of file