Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
wiki:software:beuthbot:registry [23.01.2020 13:39] Timo Bruns [Table Of Content] |
wiki:software:beuthbot:registry [23.01.2020 15:32] (aktuell) Timo Bruns |
||
---|---|---|---|
Zeile 7: | Zeile 7: | ||
- [[wiki: | - [[wiki: | ||
- [[wiki: | - [[wiki: | ||
+ | - [[wiki: | ||
+ | - [[wiki: | ||
+ | - [[wiki: | ||
- [[wiki: | - [[wiki: | ||
- [[wiki: | - [[wiki: | ||
Zeile 21: | Zeile 24: | ||
=== Prerequisites === | === Prerequisites === | ||
+ | - [[https:// | ||
+ | - [[https:// | ||
+ | - [[https:// | ||
+ | === Cloning === | ||
- | === Set Up === | + | Get the source code by cloning its repository via https: [[https:// |
+ | === Installing === | ||
- | === References === | + | After cloning the repository, you will need to make sure that you have node and npm installed on your working system. To check if you already have node installed, try |
+ | '' | ||
+ | Same for checking if npm is installed, just with npm instead of the node command | ||
- | ==== Overview ==== | + | '' |
+ | If you don't have node or npm installed, download the Softare via the links provided in [[wiki: | ||
- | ==== Structure ==== | + | After that install all necessesary dependencies |
- | ==== Functionalities ==== | + | '' |
- | === Variables === | + | Now you can start the local development server to play around with the API and make your calls |
+ | '' | ||
+ | This will fire up a development server that listens on port 3000. | ||
+ | |||
+ | |||
+ | |||
+ | ==== Overview ==== | ||
+ | The registry was built as a regular machine for the chatbot. Here it is decided which service is responsible for delivering the answer to the user. The decision is made on the Intent of the NLU unit. | ||
+ | ==== Structure ==== | ||
+ | The registry consists of two files of a JavaScript file which reflects the service. And a Json file which contains the configuration of the available services. Here each intent is assigned a corresponding service interface. | ||
+ | ==== Functionalities ==== | ||
+ | |||
+ | The registry forwards the incoming requests as a request to the various services and waits for their response before forwarding them to the requester. | ||
- | === Server === | ||
==== Further Development ==== | ==== Further Development ==== | ||
+ | To be able to offer further services the corresponding intent only needs to be included in the json file with an interface. Later it would be possible to extend this service with a better self-learning rule engine. | ||
==== Further Reading ==== | ==== Further Reading ==== | ||
+ | -[[https:// | ||
Zeile 74: | Zeile 98: | ||
See also the list of [[https:// | See also the list of [[https:// | ||
+ | <WRAP pagebreak></ |