azurechatbotazure-language-understandingtext-analytics-api

Can we use LUIS and Text Analytics API together


i need to develop a chat bot on azure for user interaction i have used LUIS and now want the bot to perform analyze the chat and suggest user the necessary changes. So, should i use text analytic API for it and does LUIS and text analytic API can be used together?


Solution

  • Text analytics can determine sentiments, extract key phrases and detect the language used. If you want to find the intent of the user or extract entities from a text, you can use LUIS.

    For "The hotel is the worst ever" a sentiment analysis can tell that the sentiment is negative. For the same sentence key phrase extraction extracts the key words/phrases: "hotel, worst", without any interpretation of the meaning or context.

    For "Turn on the yellow light", LUIS can be trained to extract intent (Operate Light) and entities (Action: turn on, Object: Yellow Light) with a meaning and a context.

    Text Analytics and LUIS expose separate APIs that just takes texts as input, so they can be used independently of each other. They have no integrations built in between them, so that's up to the consumer to implement.