A small library that can send requests to the Microsoft LUIS service
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
lib
test
.credo.exs
.gitignore
.travis.yml
LICENSE
README.md
mix.exs
mix.lock

README.md

Build Status Deps Status Hex Version Join the chat at https://gitter.im/swelham/ms_luis

MsLuis

A client library for the Microsoft LUIS API

Installation

Add ms_luis to your list of dependencies in mix.exs:

def deps do
  [{:ms_luis, "~> 2.0"}]
end

Usage

Firstly setup the :ms_luis config in your applications config file

config :ms_luis, :config,
  app_key: "<your-application-key>",
  sub_key: "<your-subscription-key>"

Then you can call the MsLuis.get_intent/1 function with the text you wish to get the intent for.

MsLuis.get_intent("turn off the lights")
# {:ok, %{"topScoringIntent" => "lights_off", ...}}

TODO - API features to implement

  • Apps
  • Examples
  • Features
  • Models
  • Permissions
  • Training
  • User
  • Versions