pycontribs / django-alexa

Amazon Alexa Skills Kit integration for Django -- ARCHIVED contact @ssbarnea if you can resurrect it.
https://github.com/pycontribs/django-alexa/issues/37
MIT License
69 stars 51 forks source link

Feature Requests #34

Open taberhsmith opened 6 years ago

taberhsmith commented 6 years ago

Hi,

I converted from the alexa javascript skills API to this package. I'm pretty happy so far in that it is running nicely on my django service.

In the process of converting my code, I'm wondering if there is a good solution to support states. I'm currently using a session attribute to set the state, but it would great if there were a more elegant way to have different menus in different states (rather than one main alexa.py checking the state).

Also, I'm wondering if anyone has looked at the structure of the dialog interface to alexa to see if it would be possible to support this? This is particularly useful for single word responses. My skills are getting confused between single word answers to slots from one skill versus another (alexa is calling one intent when it should be calling another).

Thanks, T

taberhsmith commented 6 years ago

I've implemented the dialog mode in the django-alexa. Let me know if anyone is interested and I can check in a branch - I'm sure there is a better way to implement it, but others might be able to improve on it.

Amar-Chaudhari commented 6 years ago

@taberhsmith Could you please share your code?
I am also interested in using dialog mode for the same reason as yours.