Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
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 " | 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 " | ||
- | More informations about the Api you can found her [[https:// | + | More informations about the API you can find her: [[https:// |
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:// | ||
+ | |||
+ | Host: beutbot.cognitiveservices.azure.com | ||
+ | |||
+ | Content-Type: | ||
+ | |||
+ | Ocp-Apim-Subscription-Key: | ||
+ | |||
+ | |||
+ | { | ||
+ | " | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | ] | ||
+ | }</ | ||
+ | |||
+ | |||
+ | The response body has following structure: | ||
+ | <code javascript> | ||
+ | { | ||
+ | " | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | ] | ||
+ | } | ||
+ | ] | ||
+ | } | ||
+ | |||
+ | </ | ||
+ | |||
+ | 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></ |