Skip to content

OpenASR/idear-lambda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS Lex fulfillment service for idear

Building

./gradlew shadowJar

Deploy

./gradlew migrateFunction 

Programming Model

The LexFulfillment Lambda function responds to Lex in accordance with the Lex Response Format.

The message field is used as intended - plays an audible prompt to the user by TTS.

Unfortunately, responseCard is not available to speech requests, so sessionAttributes are used to send commands back to the IDE:

  • invokeAction: invokes the named IntelliJ Action - built-in or custom actions are both supported

  • pressKeystroke: a comma-delimited list of integer values may be dispatched to the IDE

  • Verbosity: Lex insists on responses having a non-empty message, but in Idear not all commands require audible feedback.

    • 'INFO' if an audible prompt is required (eg "what's the name of the class").
    • 'DEBUG' for prompts which may be useful for the visually impaired
    • 'ALL' where nobody would be interested in hearing the message

About

Lex fulfillment service for idear

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages