Comments (1)
So I think one way to do it is to create a Custom Slot Type with an enumeration detecting words like "first, second, number one, number two, one, two..." and linking them to ints (1, 2, ...) then set up samples as
-
"play the {ordinal} article"
-
"play the {ordinal}"
-
"play the article {ordinal}"
We would just have to check the slot type in the intent then fetch the int value and play the right article. If it is not in the enum then the classic AMAZON.SearchQuery will catch it.
What do you think? @tamarahills
Docs : https://developer.amazon.com/docs/custom-skills/create-and-edit-custom-slot-types.html
from scout-alexa.
Related Issues (20)
- Add German and French translation strings in skill and Alexa config.
- Add metrics to the /v3/send interface HOT 1
- In scout-alexa, skip summary related tests if SUMMARY is not defined or is false HOT 1
- Title/article mismatch HOT 6
- CURRENTLY UNABLE TO REPRO: CLOSE BY 10/5 -- When telling Alexa to read a new article, it continues reading the last one that wasn't completed HOT 2
- Make Alexa list 3 titles at a time instead of 5.
- Change Alexa's response so instead of "titles" she says "articles".
- Update commands with Pocket terminologies HOT 2
- Polly's volume too low as compared to Alexa HOT 1
- When telling Alexa to read a new article, it continues reading the last one that wasn't completed HOT 1
- Modify State machine to play titles right when user enters skill HOT 1
- Add a short pause between intro and body
- Add a short pause between headers within an article and image captions.
- Add metrics for playing ordinal, playing title, and open pocket HOT 1
- Add a LinkAccountCard handling for when a new user has not linked their account. HOT 1
- Handle unsupported AudioPlayer events with friendly messages. HOT 1
- Add a metric for whether we have a cache hit or not. HOT 1
- Add support for multiple languages for Pocket Alexa Skill
- Fix error message printout on Playbackfailed.
- Investigate and define resolution for supporting Chinese in Pocket listen backend
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scout-alexa.