jarvis-server-v2/jarvis/start.py

20 lines
423 B
Python
Raw Normal View History

2022-11-29 21:40:20 +01:00
import api
import lingua_franca
from jarvis.skills.cocktails import CocktailSkill
from jarvis.skills.intent_services import intent_manager
2022-11-29 21:40:20 +01:00
if __name__ == '__main__':
# Load lingua franca in the memory
lingua_franca.load_language(lang="fr")
# Register each skills
CocktailSkill().register()
# Load the skills
intent_manager.load_all_skills()
# Start the api endpoint
2022-11-29 21:40:20 +01:00
api.start_server()