An unofficial client for the LUIS NLP service. https://github.com/micxjo/hs-luis-client
|Latest on Hackage:||0.0.2|
This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.
An unofficial Haskell client for Microsoft's LUIS natural language processing API.
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"