QlikNLP - qlik-bots/QlikBotNet GitHub Wiki

This is the NLP namespace, it connects to Google dialogflow Or MS LUIS for NLP interpretation.

QlikNLP namespace

GoogleNLP.cs

GoogleNLP(string ClientToken, string Language = "Spanish")

Constructor.

Predict(string TextToPredict)

Sends text message to Google Dialogflow and gets interpretation.

MicrosoftLuisNLP.cs

MicrosoftLuisNLP(string LuisURL, string AppID, string LuisKey)

Constructor.

Predict(string TextToPredict)

Sends text message to Luis and gets interpretation.

QueryLuis(string message)

Sends text message to Luis and gets a list of LUISAnalyticAssistant object. Called by predict. LUIS NLP is relatively more complicated then google NLP.

public class LUISAnalyticAssistant

LUIS analytics helper object. Contains query, topScoringIntent, list of intents, list of entities and dialog object.

public class Value

Used by parameter

public class Parameter

Used by action

public class Action

Used by intent and topScoring Intent.

public class Intent

Used by LUISAnalyticAssistant.

public class TopScoringIntent

Used by LUISAnalyticAssistant.

public class Entity

Used by LUISAnalyticAssistant.

public class Dialog

Used by LUISAnalyticAssistant.

NLPUtil.cs