Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
wiki:software:beuthbot:gateway [13.12.2019 11:25] Timo Bruns [Functionalities] |
wiki:software:beuthbot:gateway [24.01.2020 15:18] (aktuell) Tolga Karaoglu [Overview] |
||
---|---|---|---|
Zeile 40: | Zeile 40: | ||
[// | [// | ||
+ | |||
+ | |||
=== Telegram Bot === | === Telegram Bot === | ||
Zeile 59: | Zeile 61: | ||
During the implementation of the **gateway** we used [[https:// | During the implementation of the **gateway** we used [[https:// | ||
+ | |||
+ | <WRAP pagebreak></ | ||
==== Overview ==== | ==== Overview ==== | ||
Zeile 100: | Zeile 104: | ||
</ | </ | ||
+ | This class diagram shows the structure around the gateway. Here it is important that there is a StandardizationLayer beforehand, which standsardize the incoming messages. The gateway then directs the message to an NLU service where we get the evaluated object back and compare the scores. The best evaluated message is then forwarded to the registry. | ||
==== Functionalities ==== | ==== Functionalities ==== | ||
=== Variables === | === Variables === | ||
+ | |||
+ | The defined variables are based on '' | ||
<code javascript> | <code javascript> | ||
Zeile 112: | Zeile 119: | ||
=== API-Call === | === API-Call === | ||
+ | |||
+ | Each time our bot is mesaged in the chat, the message will be passed on to the gateway. This is mapped via '' | ||
<code javascript> | <code javascript> | ||
Zeile 137: | Zeile 146: | ||
=== HTTP-POST === | === HTTP-POST === | ||
- | This section of code shows a request to the Azure service and generates a response which is sent directly to the bot. This is so shaded | + | This section of code shows a request to the Azure service and generates a response which is sent directly to the bot. The code is shaded |
<code javascript> | <code javascript> | ||
Zeile 161: | Zeile 170: | ||
=== Server === | === Server === | ||
+ | |||
+ | The server is listening on port '' | ||
<code javascript> | <code javascript> | ||
Zeile 191: | Zeile 202: | ||
==== Versioning ==== | ==== Versioning ==== | ||
- | We use [[https://git.ziemers.de/|GitLab]] for versioning. | + | We use [[https://github.com/|GitHub]] for versioning. |
==== Authors ==== | ==== Authors ==== | ||
- | - **Christopher Lehmann** - // | + | - **Christopher Lehmann** - // |
\\ | \\ | ||
- | - **Timo Bruns** - // | + | - **Timo Bruns** - // |
+ | |||
+ | See also the list of [[https:// | ||
+ | <WRAP pagebreak></ |