-
Notifications
You must be signed in to change notification settings - Fork 343
Show List #92
Comments
Siri is capable of displaying 2 types of lists. 1. option lists (like it shows when it wants you t select a phone number for a contact) and 2. location lists (like when doing a restaurant search). We currently dont have API's exposed for either of these but we do plan to add them |
Is there any way you can send me a beta copy of them? |
All code we write is public on github. The dev branch will always represent the latest code. As of now, nobody has started work on selection lists. |
I just got it working on my computer. Could I contribute to the repo. |
we would like to add it as part of the "ask" method like: ask "Which one?", options: ["Option 1", "Option 2"] Would love to see your code, and if you have implemented it like the above, would love a pull request |
sbaumgarten, your object list is perfect. However I find it hard to understand how to retrieve the value selected. Could you help me with an example that would be perfect. |
In the planned implementation it will be retrieved like so: chosenOption = ask "Which one?", options: ["Option 1", "Option 2"] |
@netpro2k I'm currently looking at the cora source to try and figure out how I would add it to the ask method. @davaxi and @netpro2k Currently I got it to work by adding the following code to siri_objects.rb:
In the plugin I did
|
The code that goes into cora would obviously not deal with the concept of siri option lists, but rather just restrict what options are valid for the ask block. Then in SiriProxy's plugin ask would be overridden to handle displaying of the disambiguation list, but use cora's concept of restricting ask. |
I try to make a plugin :) |
Hey,
How can I show a list, like when you ask it what good restaurants are near you. I've tried to figure it out by logging all the data Guzzoni sends but I haven't found much.
Thanks
The text was updated successfully, but these errors were encountered: