stoiveyp / alexa.net.annotations Goto Github PK
View Code? Open in Web Editor NEWLibrary to help make writing your first Alexa skill smaller and easier
License: MIT License
Library to help make writing your first Alexa skill smaller and easier
License: MIT License
Interceptor attribute should generate an interceptor in the same way the handler code does
Instead of the request type, a handler method should be allowed to ask for the information object passed directly into the handler, if it's required (for example - to gain access to the items dictionary
Current generator relies on SkillRequest - APLSkillRequest is required if you want to enable visuals properly (pay attention to device information)
SkillRequest should be the default - but a sub-type should be possible as an attribute on the AlexaSkill attribute, and if implemented - this should affect the method analyzers.
Attribute attached to a method should run an analyzer to ensure the method signature is valid
AlexaSkillPipeline takes an optional context argument that is available to handlers
This should be available as a boolean option on the AlexaSklill generator attribute
For an intent attribute method - if type isn't request based, assume slot value and do lookup to directly pass in value via helper method
If generated files are based on a class that uses a file level namespace - then this needs to be found and applied appropriately to ensure the partial class works correctly.
Currently only the isolated type names are checked when performing argument mapping and conversion.
This is assuming usings are being added by the user - limiting code generation. Ideally this should check type usage to include full namespace referencing, partial referencing and no referencing.
Note: Check to see if this is simplified by Semantic model?
When a handler method asks for the typed skill, it can also add an argument of type SkillRequest to the signature, and the handler will add it in as appropriate
Interceptor methods should be able to filter execution based on request type
e.g. The method has an IntentRequest parameter - so the generated class has an if statement that executes the method only if it's that kind of request, allowing intent logging
Extend interceptor ArgumentFactory methods to perform these checks and generate the necessary if statements.
Implement Condition property in Interceptor argument detail returned by ArgumentFactory
Examples of what each attribute does and how it works
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.