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:27] Timo Bruns [Microsoft Azure] |
wiki:software:beuthbot:azure [23.01.2020 15:32] (aktuell) Timo Bruns |
||
---|---|---|---|
Zeile 14: | Zeile 14: | ||
==== Student Account ==== | ==== Student Account ==== | ||
The Student Account is an free to use Account from Microsoft Azure. Here we get some limittet free acess to different services of the azure programm. | The Student Account is an free to use Account from Microsoft Azure. Here we get some limittet free acess to different services of the azure programm. | ||
- | Details you can find under [[https:// | + | Details you can find under: [[https:// |
Because we have problems when creating the account, we have designed a following short manual: | Because we have problems when creating the account, we have designed a following short manual: | ||
Zeile 20: | Zeile 20: | ||
- click on " | - click on " | ||
- login with an privat microsoft account(no University Mail!) | - login with an privat microsoft account(no University Mail!) | ||
- | - after Login you musst verifit | + | - after login you must verify |
- | - at last you musst ident you by name, mail adress an phone number here you get an activation code what you musst tipp in | + | - at last you must ident you by name, mail address and phone number here you get an activation code what you must |
- | The important knowledge what we get from this registration is that we need privat | + | |
+ | The important knowledge what we get from this registration is that we need private | ||
==== Cognitive Services Text Analytics ==== | ==== Cognitive Services Text Analytics ==== | ||
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></ |