Commit Graph

53 Commits

Author SHA1 Message Date
Mathieu B
d1ddb1664c Improved spotify intent and added result (json) response in RESTAPI 2021-07-30 14:10:35 +02:00
Mathieu B
1695cd2903 Removed old intent process for RESTAPI and started working on wikipedia skill 2021-07-30 12:54:25 +02:00
Mathieu B
6e28b7076e (IMPORTANT) Removed old AI training model and old intents 2021-07-30 12:37:16 +02:00
Mathieu B
06f8d60d26 Fixed issue where self was None on skill handle 2021-07-30 12:31:59 +02:00
Mathieu B
572e89794a Added create_skill to spotify skill and wikipedia 2021-07-30 12:28:42 +02:00
Mathieu B
9be10ee6c5 Added "what's the current song" for spotify skill 2021-07-30 12:27:42 +02:00
Mathieu B
aa9979e5e0 Added "what's the current song" for spotify skill 2021-07-30 10:14:18 +02:00
Mathieu B
bcc44f9fbd Disabled all tests recognise in main.py 2021-07-29 23:29:53 +02:00
Mathieu B
42a3323a6b Pause music handler and finished play_a_song handler, both work fine. 2021-07-29 23:29:42 +02:00
Mathieu B
d216760cec Fixed grammar and debug lines 2021-07-29 23:29:02 +02:00
Mathieu B
d04da4da84 Added pause music intent 2021-07-29 23:28:41 +02:00
Mathieu B
63b064e577 Removed model entry starting with "Mets {song}" (causes issues with others) 2021-07-29 23:28:15 +02:00
Mathieu B
9bf3e090bb Fully working spotify song query (added spotipy) 2021-07-29 23:04:31 +02:00
Mathieu B
6c92269d35 Added spotify client id and secret in config/secrets 2021-07-29 23:03:48 +02:00
Mathieu B
81e7f4efc3 Updated spotify play_a_song model 2021-07-29 23:03:25 +02:00
Mathieu B
46c5b86f7c Added lingua-franca 2021-07-29 23:03:01 +02:00
Mathieu B
568f6a3fce Added data sent to the handlers (+fix utterance list/str) 2021-07-29 23:02:43 +02:00
Mathieu B
d7163ac7de Complete padatious support for skills and clearer separation between adapt and padatious in various class like intent_manager.py or Skill.class 2021-07-29 20:16:22 +02:00
Mathieu B
fe76f2bad3 Trying to move spotify skill to padatious and looks promising (test.py) 2021-07-29 14:57:55 +02:00
Mathieu B
892e1c8cfe Added padatious to readme and requirements + re-added handle to intent manager. 2021-07-29 14:08:36 +02:00
Mathieu B
837b87a41d Added spotify skill (not really working atm... issue with regexs) 2021-07-29 12:35:07 +02:00
Mathieu B
a3e1da051b Replace old joke skill by new one and a few tests in main.py 2021-07-28 23:15:27 +02:00
Mathieu B
5d7ff0c15c Fixed domain using fixed string instead of parameter domain 2021-07-28 23:13:53 +02:00
Mathieu B
5513268a97 Added speak method in skill (not usable for now) + fix properties crash 2021-07-28 23:13:08 +02:00
Mathieu B
cb4e5ee7d8 Added intent name in log 2021-07-28 21:44:48 +02:00
Mathieu B
1d775135c2 Shortened the init of a skill 2021-07-28 20:35:20 +02:00
Mathieu B
dc42b827fb Complete handling of intent with @intent_manager on top of method (woohoo) 2021-07-28 19:31:47 +02:00
Mathieu B
3372594987 Added register_intent in Skill class and grammar 2021-07-28 18:05:34 +02:00
Mathieu B
1e9f9cd0ba Fixed the skill system (I don't know how, luck probably) 2021-07-28 17:56:05 +02:00
Mathieu B
36a17ff425 Whole new skill system (starting wikipedia skill) BUT DOESN'T WORK SEE TODO 2021-07-27 23:10:01 +02:00
Mathieu B
6f75239397 spacy starting warning log 2021-07-27 18:07:51 +02:00
Mathieu B
dc23d6a80a Optimised spacy first loading 2021-07-27 18:07:04 +02:00
Mathieu B
d9cf5e56de Added auto spacy model based on language 2021-07-27 17:55:20 +02:00
Mathieu B
ab86509e61 Moved everything to jarvis/... and added spacy for stopwords 2021-07-27 17:44:51 +02:00
Mathieu B
3bf6737f45 Added NLP Utils to remove stopwords for example 2021-07-27 17:00:06 +02:00
Mathieu B
17acd5e05d Removed useless init.py and moved the jokes api token in the secrets 2021-07-27 16:38:51 +02:00
Mathieu B
ca91994975 removed test print 2021-07-27 16:28:28 +02:00
Mathieu B
2990a9e464 Added get_language instead of config.get("LANGUGE") 2021-07-27 16:27:55 +02:00
Mathieu B
775e0fbfdf Fixed error on train after renaming to skills 2021-07-27 12:39:39 +02:00
Mathieu B
7f7feb27e9 Renamed intents for skills 2021-07-27 12:37:09 +02:00
Mathieu B
53da5409b4 Added jokes 2021-07-26 22:46:47 +02:00
Mathieu B
db13666d57 Added support for "what day are we" 2021-07-26 22:07:51 +02:00
Mathieu B
cae27505fc Stop process if tag is 'dont_understand' and process the intent dynamically from the path 2021-07-26 21:50:14 +02:00
Mathieu B
7926df3740 Retrained model 2021-07-26 21:49:21 +02:00
Mathieu B
b0cb9b7875 Implemented all (most) of the NLTK supported languages from the config 2021-07-26 21:49:03 +02:00
Mathieu B
1e7f1529d2 Support for 12hour format from config file for what_time_is_it intent 2021-07-26 21:48:23 +02:00
Mathieu B
37678cb247 Implemented language in config and 12hours-format aswell 2021-07-26 21:48:04 +02:00
Mathieu B
708ea65163 Add "import method from string" in new utils file 2021-07-26 20:55:36 +02:00
Mathieu B
be01ac4b27 add get_path from intent tag 2021-07-26 20:55:02 +02:00
Mathieu B
f082471107 Sentence processing can now be used with the REST API 2021-07-26 19:52:20 +02:00