Test new skill that Mycroft teach. LearningSkill

When requesting assistance with testing out your Skill, be sure to provide the following information:

How to install LearningSkil

configured in Skill Settings.

  • you can choose a fallback option
  • you can set a path for your private questions
  • you can set a path for your puplic questions for mycroft upload (not jet)

How to test LearningSkill

Specify the steps the user should take to test the Skill, such as;

  • Configure the Skill Settings in home.mycroft.ai
  • Speak Intent phrase like:
    • Do you want to learn something
    • Do you already know this
    • There you can learn something
    • I show you something
  • Mycroft should ask something
    • it asks for a category, the question, keywords, and answers
    • after 4 steps, it should create 2 files under .mycroft/skillls/LearningSkill
    • At the end, a summary is issued

Indicate clearly what constitutes a pass criterion for the Skill, and what constitutes a fail criterion.

Where feedback on LearningSkill should be directed a

Be clear about how feedback on the Skill should be provided, such as through Issues on GitHub, via email or via Mycroft Chat.

Hi @gras64 - thank you for this Skill!

Are you able to include more information about how to test the Skill?
What sort of feedback are you looking for?

I currently have programming problems. Come slowly. Currently only the query of the data works.

So would you like us to assist with the programming issues?

Hi
I have released a new update. This will allow you to immediately respond to an unanswered request. Just say ā€œI explain it to youā€ or ā€œ{category} is probably not your strengthā€. have fun while testing.

1 Like

Hi
I have an new great update. after wrong recognition you can say ā€œuse the alarm skillā€ and have the possibility to extend existing intents and save them to /.mycroft/skills/learning/skills. I would like to set up an integration of intents into existing skills. currently only intents are processed and no voc. variable questions are asked and existing intents are matched.

Iā€™m still looking for a great way to send the intents to the developers. I would like poodle the most because I do not want to work with git

Thnx for this awesome skill!

I am wondering tho, how can I add categories?

Your github says this:

Add a new category

if you want to add a new category. you just have to add a category under mycroft ai. Mycroft will then ask you for the name in your language.

Please elaborate on what you mean by ā€˜under mycroft aiā€™ā€¦ :wink:

-I tried adding them in the ā€˜fallbackā€™-section of the Learning Skill settings, but that didnā€™t do anything
-I kindah would have expected Picroft to ask to create a new category if it couldnā€™t find itā€¦

(and since Iā€™m a n00b) Where does it store the items ā€˜learnedā€™ if I donā€™t define a path in the settings? (and is there a way to backup this?)

ist actual under developing!!!
my ability to learn is just massive in the possibilities. if it still works then you have to create the categories under home.mycroft ā€œhumor,fallback,christmas,ā€¦ā€. if the skill does not find a vocab file on the system there is the question ā€œI recognized a new category {{cat}}, what would you like to call it?ā€. a vocab file is then created from it under .mycroft/skills/learning.

maybe Iā€™ll set up add category by language today.

1 Like

Yes, I understand :wink:

Today all of a sudden the categories from the ā€˜fallbackā€™ -field in skills settings on the account page here, mycroft.ai were available!! So that works!

  • I experimented a bit today, totally awesome!!
  • Would be nice if we could adjust answers if Mycroft didnā€™t really understand what we saidā€¦ *not sure how to implement thisā€¦

Keep up the great work!!

that goes with the skill already look at my examples on github. I only have problems expanding vocs because they depend on skill programm. but Iā€™m working on it.

Ok, cool!

Is there a way to prioritize which ā€˜skillā€™ answers a question? *it worked in the past, no clue why I now get different answers

I taught Mycroft which is the best and which is the worst car brand in the worldā€¦ *sorry Iā€™m simple like that ;D

Now she answers not what I taught her ( I taught her the actual brands):

best: I have a Pokemon skill which can help you with thatā€¦
worst: I donā€™t like to talk negativeā€¦

feedback is also important to me. The files are stored under .mycroft / skills / learningskill. Maybe the problem is obvious. I could also change the priority of the fallback

1 Like

Great to hear! *hope Iā€™m not too much trouble :wink:

The files in .mycroft / skills / learningskill look perfect to me! (opened them with Notepad++)

It seems that other skills/fallbacks/functions get priority over what I taught Mycroft using your awesome Learning skillā€¦ *I donā€™t know if something has been updated in the Skills-setup of Mycroft that has messed with the priorities? Since I do remember to have heard a correct reply beforeā€¦

you can change Line 56 ā€œself.register_fallback(self.handle_fallback, 6)ā€.
List off fallback:

1-4 RESERVED Unused for now, slot for pre-Padatious if needed
5 MYCROFT Padatious near match (conf > 0.8)
6-88 USER General
89 MYCROFT Padatious loose match (conf > 0.5)
90-99 USER Uncaught intents
100+ MYCROFT Fallback Unknown or other future use

Thnx for that! In what file can I change that?

in the https://github.com/gras64/learning-skill/blob/master/init.py File and I have update the skill with new futures 5 days ago. look at readme.

Ok, great! Iā€™ll look into it!

Btw, I think something is wrong, thatā€™s probably why it no longer worked (might not have been priorities, have tried another value but still fails). Then today I found out all my added categories are gone. I did now add them at mycroft.ai, but they still have not made it backā€¦might that be why itā€™s broken? (the things I had Mycroft learn were in the custom ā€˜carsā€™-category)

yes that is so. the fallback function searches only for the categories. you can also force them in /opt/mycroft/skills/learning/settings.json

Thnx! I checked, the categories seem to have transferred over night, and I have tried with various priorities. It just doesnā€™t seem to work anymoreā€¦ (I still can teach it new things tho)

the fallback function works for me. you can send me the data you have created in the skill folder so that I can find the error in myself. and I would like your settings.json too