Code Monkey home page Code Monkey logo

Comments (13)

bacardi55 avatar bacardi55 commented on May 23, 2024 1

Hi,
Thanks for the feedback!
I've updated my repo with readme files for the 3 neurons and removed the hardcoded french text in the googlecalendar neuron :).

For the tests, I'll need more time as I need to learn how to write python unit test (as not all neurons have tests atm, I'll need to look deeper into this to understand how it works^^)

I'll move them to separate repos if you prefer.

from kalliope.

Sispheor avatar Sispheor commented on May 23, 2024

from kalliope.

LaMonF avatar LaMonF commented on May 23, 2024

Hi @bacardi55 ,

Thanks for your review !

Yes we don't manage the multiple trigger to handle different brains.
Actually, It is not in our scope in a short term.
But you are right we need to investigate this in the futur !
I keep the issue as a reminder.

Also, don't hesitate to share your neurons with the community, we can reference them :)

from kalliope.

bacardi55 avatar bacardi55 commented on May 23, 2024

Hi @LaMonF
My kalliope neurons are here:
https://github.com/bacardi55/kalliope_config/tree/master/neurons

Not sure it's worth sharing though, as these are my first lines of python i'm not sure of the quality (and no tests coverage as well) but at least they do the job :)

Thanks for the awesome works btw :)

from kalliope.

Sispheor avatar Sispheor commented on May 23, 2024

If you add a clean doc and unit tests you can PR us. We will take a look.
I can see some hard coded stuff in French that need to be removed but the rest seems not bad at all.
Maybe replacing the old http lib by "requests" can be a good enhancement too.

from kalliope.

LaMonF avatar LaMonF commented on May 23, 2024

Ok your can improve your neurons as @Sispheor suggests.

Then, you can follow the contributing doc for neuron to provide a complete doc and tests of your neurons.

Also, the idea is to provide each neuron in a different repo, so anyone from the community can easily clone it, and use it in their brain :)

When it is done, we will reference them in the neuron list directly to your repo.

from kalliope.

Sispheor avatar Sispheor commented on May 23, 2024

About this issue, even a Rpi 3 seems laggy with only one instance of Snowboy. I can't imagine if we run multiple one.

from kalliope.

andweber avatar andweber commented on May 23, 2024

I've checked this a little on my Rpi3 - I didn't have the impression that snowboy is the reason for slowing down and as far as I understood one instance of Snowboy can handle more than one trigger word.

from kalliope.

Sispheor avatar Sispheor commented on May 23, 2024

Indeed snowboy can handle multiple models.
It will be a big refactor to handle multiple brains for each user but not impossible technically.

from kalliope.

ngoales avatar ngoales commented on May 23, 2024

Hi Sispheor,

Seriously, only because my post was in French ?
It's discrimination :o)

OK, I would make an effort next time.

from kalliope.

Sispheor avatar Sispheor commented on May 23, 2024

Sorry but yes. You are on Github. It's how it works. Developers come from around the world and they don't speak French.
But you are free to talk in French in the Gitter chat.

from kalliope.

ngoales avatar ngoales commented on May 23, 2024

OK - A little intellectual laziness ...

So, I have coded the one user - one trigger management.

In my solution, it is not necessary to refactor the code, just add a few code lines and some classes in core.

I would be delighted to discuss with you on the subject

from kalliope.

Sispheor avatar Sispheor commented on May 23, 2024

You can submit a pull request if you want (in dev branch). But we have in mind the refactoring of the trigger part anyway to use Snowboy as python dependency. See #278

from kalliope.

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.