Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/swelham/ms_luis
A small library that can send requests to the Microsoft LUIS service
https://github.com/swelham/ms_luis
elixir luis microsoft
Last synced: 30 days ago
JSON representation
A small library that can send requests to the Microsoft LUIS service
- Host: GitHub
- URL: https://github.com/swelham/ms_luis
- Owner: swelham
- License: mit
- Created: 2017-04-08T14:53:35.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-10-13T20:24:13.000Z (about 7 years ago)
- Last Synced: 2024-10-05T08:09:52.664Z (about 1 month ago)
- Topics: elixir, luis, microsoft
- Language: Elixir
- Size: 45.9 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/swelham/ms_luis.svg?branch=master)](https://travis-ci.org/swelham/ms_luis) [![Deps Status](https://beta.hexfaktor.org/badge/all/github/swelham/ms_luis.svg?branch=master)](https://beta.hexfaktor.org/github/swelham/ms_luis) [![Hex Version](https://img.shields.io/hexpm/v/ms_luis.svg)](https://hex.pm/packages/ms_luis) [![Join the chat at https://gitter.im/swelham/ms_luis](https://badges.gitter.im/swelham/ms_luis.svg)](https://gitter.im/swelham/ms_luis?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
# MsLuis
A client library for the Microsoft LUIS API
## Installation
Add `ms_luis` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[{:ms_luis, "~> 2.0"}]
end
```## Usage
Firstly setup the `:ms_luis` config in your applications config file
```elixir
config :ms_luis, :config,
app_key: "",
sub_key: ""
```Then you can call the `MsLuis.get_intent/1` function with the text you wish to get the intent for.
```elixir
MsLuis.get_intent("turn off the lights")
# {:ok, %{"topScoringIntent" => "lights_off", ...}}
```## TODO - API features to implement
* [x] Apps
* [x] Examples
* [ ] Features
* [ ] Models
* [ ] Permissions
* [x] Training
* [ ] User
* [ ] Versions