Skip to content

microsoftly/luis-response-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Luis Response Builder CircleCI

Simple Luis.ai type references and Response builders

Note that this is still a work in progress and PRs are very welcome! Currently, the only prebuilt entities that is well defined are DateTimeV2 and Money

LuisResponseBuilder

follows a method chaining pattern, e.g.

    new LuisResponseBuilder('I want to return my purchase')
        .addIntent('returns', 0.93)
        .addIntent('purchase', .3)
        .addIntent('none': .01)
        .build()

constructor(query)

addIntent(intent, score)

addPrebuiltEntity(prebuiltEntity)

addCustomEntity(customEntity)

build()

returns an full luis.ai response object

About

luis.ai response and entity builder. Useful for tests and quick reference

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published