Coder Social home page Coder Social logo

Language problem about skill-joke HOT 4 OPEN

mycroftai avatar mycroftai commented on July 2, 2024
Language problem

from skill-joke.

Comments (4)

forslund avatar forslund commented on July 2, 2024 3

The skill randomized a category for that query so some sort of handling needs to be added if the language doesn't support all categories

from skill-joke.

luismanson avatar luismanson commented on July 2, 2024 1

What's the exact phrase you used for "tell me a joke"?

voice.log:2020-06-15 01:51:46.343 | INFO | 532 | __main__:handle_utterance:72 | Utterance: ['contame un chiste']
It's literally Spanish for 'tell me a joke'.
No more, no less. (trying to be precise, not rude.)

Now that you say that... I did not notice the 'chuck' word in the log. Just tried that same phrase now and worked perfect. It's weird because that's the only logged mention and as you can see, it's not in the utterance log...

Thanks for your help!

from skill-joke.

krisgesling avatar krisgesling commented on July 2, 2024

Hi Luis, thanks for flagging this.

What's the exact phrase you used for "tell me a joke"?
Just wondering why it went searching for a Chuck Norris joke in particular.

If jokes are unavailable in a language we should be handling that exception and either saying so, or taking the english version and attempting an automated translation.

from skill-joke.

luismanson avatar luismanson commented on July 2, 2024

Nevermind...
pyjokes.pyjokes.CategoryNotFoundError: No such category chuck in language es ^--- NEWEST ---^

Same phrase, 'tell me a joke'

from skill-joke.

Related Issues (4)

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.