wiki.ziemers.de

ziemer's informatik Wiki

Benutzer-Werkzeuge

Webseiten-Werkzeuge


wiki:software:beuthbot:registry

Dies ist eine alte Version des Dokuments!


Registry

The registry is part of the BeuthBot microservice system.Here the evaluated messages arrive and it is decided which service should be used. The reply from the service is forwarded to the gateway.

Table Of Content

Getting Started

Prerequisites

Cloning

Get the source code by cloning its repository via https: Registry

Installing

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

node –version

Same for checking if npm is installed, just with npm instead of the node command

npm –version

If you don't have node or npm installed, download the Softare via the links provided in Prerequisites or search for them via your preferred search engine.

After that install all necessesary dependencies

npm install

Now you can start the local development server to play around with the API and make your calls

npm run dev

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.

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

Built With

Versioning

We use GitHub for versioning.

Authors

Timo Bruns - Initial work - GitHub

Christopher Lehmann - Initial work - GitHub

See also the list of contributors who participated in this project.

wiki/software/beuthbot/registry.1579788433.txt.gz · Zuletzt geändert: 23.01.2020 15:07 von Timo Bruns