wiki.ziemers.de

ziemer's informatik Wiki

Benutzer-Werkzeuge

Webseiten-Werkzeuge


wiki:software:beuthbot:azure

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
wiki:software:beuthbot:azure [10.12.2019 18:37]
Timo Bruns [Student Account]
wiki:software:beuthbot:azure [23.01.2020 15:32] (aktuell)
Timo Bruns
Zeile 29: Zeile 29:
 To use the ervice we create in oure Azure account an BeuthBot Projekt(resourcesgroup). In this we create an Cognitive Services Text Analytics in North Europe. Now we get an Api End Point from Microsoft where we can do "Post "request with our messages. We have four options to ask for: the language, analyze sentiment, Extract key phrases and Identify linked entities.  To use the ervice we create in oure Azure account an BeuthBot Projekt(resourcesgroup). In this we create an Cognitive Services Text Analytics in North Europe. Now we get an Api End Point from Microsoft where we can do "Post "request with our messages. We have four options to ask for: the language, analyze sentiment, Extract key phrases and Identify linked entities. 
  
-More informations about the Api you can found her [[https://docs.microsoft.com/de-de/azure/cognitive-services/text-analytics/]].+More informations about the API you can find her[[https://docs.microsoft.com/de-de/azure/cognitive-services/text-analytics/]].
  
 For the moment we use the service direktly in our gateway later we want to outsource the service in an extra NLU Request Service(Adapter for NLU). For the moment we use the service direktly in our gateway later we want to outsource the service in an extra NLU Request Service(Adapter for NLU).
  
 +A Post Request Object in JavaScript should look like the following example:
  
 +
 +<code javascript>
 +POST https://beutbot.cognitiveservices.azure.com/text/analytics/v3.0-preview.1/languages HTTP/1.1
 +
 +Host: beutbot.cognitiveservices.azure.com
 +
 +Content-Type: application/json 
 +
 +Ocp-Apim-Subscription-Key: •••••••••••••••••••••••••••••••• 
 +
 +
 +
 +  "documents": [
 +    {
 +      "id": "",
 +      "text": "" 
 +    }
 +  ] 
 +}</code>
 +
 +
 +The response body has following structure:
 +<code javascript>
 +{
 +   "documents": [
 +      {
 +         "id": "",
 +         "detectedLanguages": [
 +            {
 +               "name": "",
 +               "iso6391Name": "",
 +               "score": 
 +            }
 +         ]
 +        }
 +    ]
 + }
 +
 +</code>
 +
 +To interpret the response we have to write a parser for all operations what we ask by the API.
  
 ==== Knowledge ==== ==== Knowledge ====
 Very quickly, we realized that is it not possible to operate a chatbot with the text analytics services without paying for the service. Because the free limited acess of the service is consumed very quickly in our own tests. So, while we can show that it is possible to use a chatbot with this service, it will not be usable that way. Very quickly, we realized that is it not possible to operate a chatbot with the text analytics services without paying for the service. Because the free limited acess of the service is consumed very quickly in our own tests. So, while we can show that it is possible to use a chatbot with this service, it will not be usable that way.
 +We allready found out, that IBM has an also free NLU Service with more request than azure but there we will have the same problem but we try to implement this service also, so that we cann show that our NLU Adapter work and we have different options for services to request.
 +<WRAP pagebreak></WRAP>
wiki/software/beuthbot/azure.1575999459.txt.gz · Zuletzt geändert: 10.12.2019 18:37 von Timo Bruns