Coder Social home page Coder Social logo

Comments (9)

stratus-ss avatar stratus-ss commented on May 25, 2024

The Grocery List exists and works with the word 'the'
console output from a successful add:

 add stuff to the grocery list                                                     
 >> Adding stuff to your list                                                              

15:06:59.291 | INFO     | 116927 | __main__:handle_wakeword:67 | Wakeword Detected: hey jarvis
 15:06:59.661 | INFO     | 116927 | __main__:handle_record_begin:37 | Begin Recording...
 15:07:01.896 | INFO     | 116927 | __main__:handle_record_end:45 | End Recording...
~~~~| INFO     | 116927 | __main__:handle_utterance:72 | Utterance: ['add stuff to the grocery list']
 15:07:03.732 | INFO     | 116919 | OurGroceriesSkill | List is 14819 minutes old
Updating groceries list as it is older than 10 minutes
 15:07:03.974 | INFO     | 116919 | OurGroceriesSkill | List is 2 minutes old
categories list under 10 minutes old... skipping refresh
 15:07:04.247 | INFO     | 116919 | OurGroceriesSkill | -----> Added item <------

audio.log
bus.log
enclosure.log
skills.log
voice.log

However, using the keyword "my" causes the same skill to fail

 add stuff to my grocery list                                                                       
 >> Sorry the my grocery list list does not exist  

 15:07:09.411 | INFO     | 116927 | __main__:handle_wakeword:67 | Wakeword Detected: hey jarvis
 15:07:09.779 | INFO     | 116927 | __main__:handle_record_begin:37 | Begin Recording...
 15:07:14.021 | INFO     | 116927 | __main__:handle_record_end:45 | End Recording...
~~~~ | INFO     | 116927 | __main__:handle_utterance:72 | Utterance: ['add stuff to my grocery list']

from adapt.

clusterfudge avatar clusterfudge commented on May 25, 2024

Can you include logs with at the DEBUG level? I'm not seeing the events from the intent parser.

from adapt.

stratus-ss avatar stratus-ss commented on May 25, 2024

how do I enable debug?

The only thing I found was self.log.debug(). Do I need a bunch of these statements? if so, where would you like these included?

from adapt.

clusterfudge avatar clusterfudge commented on May 25, 2024

You should be able to configure via a mycroft.conf file like so:
https://github.com/MycroftAI/mycroft-core/blob/dev/mycroft/configuration/mycroft.conf#L253

from adapt.

stratus-ss avatar stratus-ss commented on May 25, 2024

These are the logs while testing the "the" keyword after setting Debug as suggested

the_keyword_voice.log
the_keyword_skills.log
the_keyword_enclosure.log
the_keyword_bus.log
the_keyword_audio.log

from adapt.

stratus-ss avatar stratus-ss commented on May 25, 2024

these are the logs from the two tests
with the trigger "add stuff to my grocery list"
voice.log
skills.log
enclosure.log
bus.log
audio.log

Here are the regex during today's tests

add (?P<Food>.*) (to my) (?P<ShoppingList>.*) list
add (?P<Food>.*) (to the) (?P<ShoppingList>.*) list

from adapt.

clusterfudge avatar clusterfudge commented on May 25, 2024

Unfortunately, the log lines I was expecting are not present; it appears that almost all DEBUG logs have been removed from mycroft-core, which makes this a bit more difficult to diagnose with tinkering. Also, just to confirm, you restarted each of the processes after changing the configuration? I believe this config change requires a restart.

Adapt emits a couple of events that will be helpful, that show the intermediate state of the parser. Hopefully, they're wired up enough that you can add logging for them somewhere.

You'll want to add an event handler for
tagged_entities to the instance of IntentDeterminationEngine held in the intent service. I'm no longer familiar enough with mycroft-core to point out where that happens, and unfortunately it does not appear that the internal emitter is bound to the message bus (which would've made this a lot easier).

from adapt.

clusterfudge avatar clusterfudge commented on May 25, 2024

hey @stratus-ss did you have any luck with this? If you're still seeing this issue, please let us know and we'll try to address it prior to 1.0.0. I suspect this is similar to what you reported #102, and I'll have the same sad answer for you.

from adapt.

clusterfudge avatar clusterfudge commented on May 25, 2024

I'm going to close this out as cannot reproduce, as we're no longer getting any notes from the reporter.

from adapt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.