Melissa-AI / Melissa-Core

A lovely virtual assistant for OS X, Windows and Linux systems.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Return written output from action modules

tanay1337 opened this issue · comments

The action modules should also return text feedback to our user interface (emitted via the web sockets) along with voice feedback, wherever relevant. A few examples being, Weather module, System status, Horoscope module, etc.

@tanay1337 Can you elaborate on how to accomplish this?

That would basically involve changes in the action modules, maybe a separate standard function. Also some corresponding changes in the brain.py file. Some changes in the main.py file as well. These would then have to be emitted to the front end using websockets. Thoughts @rachmadaniHaryono?

From what I in understand, if possible every action module will return text instead calling tts function to give the results.

I don't remember all of the action module, but all those action module mentioned in first post only return an output (and Returned through tts func) .

This will not apply to any action module which requires interaction.

This issue should be done by

  • refactor actions module
  • fix test
  • change the way action module called
  • integrate with J websocket

Feature of getting Speech and text responses simultaneously will be solved by #196
https://github.com/bhaveshAn/Melissa-Core/tree/ood-patch/melissa/actions