Skip to content

An unofficial Haskell client for Microsoft's LUIS NLP service

License

Notifications You must be signed in to change notification settings

micxjo/hs-luis-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hs-luis-client

Hackage

An unofficial Haskell client for Microsoft's LUIS natural language processing API.

Examples

import Control.Lens
import NLP.LUIS

main = do
   let creds = Credentials "Your-App-Id" "Your-Subscription-Key"
   resp <- queryExc creds "show me news about greenland"

   resp ^? responseIntents . ix 0 . intentType   -- Just "FindNews"
   resp ^? responseEntities . ix 0 . entityText  -- Just "greenland"

About

An unofficial Haskell client for Microsoft's LUIS NLP service

Resources

License

Stars

Watchers

Forks

Packages

No packages published