Skip to content

ysak-y/lexus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lexus

OverView

lexus is a library to create lambda function for AWS Lex.

Install

pip install lexus

Get Start

First, you must define function called as handler bellow.

e.g.

def lambda_handler(request, context=None):
    intent_name = request['currentIntent']['name']
    globals[intent_name](request, context)

Second, define functions same name to intent in Lex.

def StartIntent(request, context):
    """
        Some code here.
    """

def NextIntent(request, context):
    """
        Some code here.
    """

then, execute function when intent is called by Lex.

Will Do

  • CLI tool to initialize template.
  • Management Sample Utterances.

Releases

No releases published

Packages

No packages published

Languages