fossasia / susi_linux

Hardware for SUSI AI https://susi.ai
Apache License 2.0
1.61k stars 148 forks source link

Audio #512

Closed alok760 closed 5 years ago

alok760 commented 5 years ago

Fixes #511

Checklist

Test Passing

Short description of what this resolves:

Adding play and previous methods so that the new features work with the vlcplayer

norbusan commented 5 years ago

HI @alok760 yeah, indeed, that is needed, probably. But we do not have support from the server for the next utterance:

pi@raspberrypi:~/SUSI.AI/susi_linux $ python3
Python 3.5.3 (default, Sep 27 2018, 17:25:39) 
[GCC 6.3.0 20170516] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import susi_python as susi
connected to local server
>>> susi.ask('next')
[<susi_python.models.AnswerAction object at 0x75bae330>]
{'answer': 'A good network can take you to the next level..'}

so that is not really working for now. We need to think about the utterances and intents @Orbiter recently posted on the gitter channel.

norbusan commented 5 years ago

Merged, thanks