jarvis/backend/main.py

30 lines
689 B
Python
Raw Normal View History

from skills.alarms import Alarms
from skills.cal import Cal
from skills.gmail import Gmail
from skills.gpt import GPT
from skills.reminders import Reminders
from skills.timers import Timers
from skills.todos import Todos
from skills.weather import Weather
from skills.wolfram import Wolfram
2023-06-22 17:14:13 +00:00
from NLP import NLP
import sys
print(sys.version)
skills = [GPT(), Alarms(), Cal(), Gmail(), Reminders(), Timers(), Todos(), Weather(), Wolfram()]
2023-06-22 17:14:13 +00:00
skill_names = [skill.trigger_phrase for skill in skills]
2023-06-22 17:14:13 +00:00
print("test")
if __name__ == "__main__":
2023-06-22 17:14:13 +00:00
# print("Skill Trigger Phrases: ")
print(f"Active Skills: {skill_names}")
nlp = NLP()
# for skill in skills:
# print(skill.trigger_phrase)