Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
| wiki:software:beuthbot:deconcentrator-js [22.07.2020 19:10] Lukas Danckwerth | wiki:software:beuthbot:deconcentrator-js [22.07.2020 19:20] (aktuell) Lukas Danckwerth [Requirements Analysis] | ||
|---|---|---|---|
| Zeile 58: | Zeile 58: | ||
| === Structure === | === Structure === | ||
| - | | Location | + | ^ Location | 
| - | | -------------------- | ----------------------------------------------------- | | + | |
| | `.documentation/ | | `.documentation/ | ||
| | `model/ | | `model/ | ||
| Zeile 187: | Zeile 186: | ||
| </ | </ | ||
| - | ### Response Schema - `Answer` | + | === Response Schema - `Answer` | 
| The response for a successfully processed request to the deconcentrator contains the following information. | The response for a successfully processed request to the deconcentrator contains the following information. | ||
| < | < | ||
| Zeile 231: | Zeile 230: | ||
| == Class Diagramm == | == Class Diagramm == | ||
| - | ![alternative | + | < | 
| + | @startuml | ||
| + | |||
| + | class Answer { | ||
| + |  | ||
| + | intent: Intent | ||
| + | entities: Array< | ||
| + | error: String | ||
| + | } | ||
| + | |||
| + | class Intent { | ||
| + | name: String | ||
| + | confidence: Float | ||
| + | } | ||
| + | |||
| + | class Entity { | ||
| + | start: Int | ||
| + | end: Int | ||
| + | text: String | ||
| + | value: String | ||
| + | confidence: Float | ||
| + | additional_info: | ||
| + | entity: String | ||
| + | } | ||
| + | |||
| + | class AdditionalInfo { | ||
| + | value: String | ||
| + | grain: String | ||
| + | type: String | ||
| + | values: Dictionary< | ||
| + | } | ||
| + | |||
| + | Answer *--- Intent | ||
| + | Answer *--- Entity | ||
| + | Entity *--- AdditionalInfo | ||
| + | |||
| + | @enduml | ||
| + | </uml> | ||
| ==== Implemented and connected NLU processors ==== | ==== Implemented and connected NLU processors ==== | ||
| - | | Provider | + | ^ Provider | 
| - | | -------- |---------------- | -------------- | | + | | [[https:// | 
| - | | [RASA](https:// | + | |
| === More NLU processors candidates === | === More NLU processors candidates === | ||
| - | - [Microsoft LUIS](https:// | + | * [[https:// | 
| - | - [Google Cloud NLU](https:// | + | * [[https:// | 
| - | - [IBM Watson | + | * [[https:// | 
| ==== .env ==== | ==== .env ==== | ||
| Zeile 260: | Zeile 295: | ||
| ==== Requirements Analysis ==== | ==== Requirements Analysis ==== | ||
| - | * [x] `/DCF100/` The deconcentrator responds to incoming POST requests by delegating the message to a collection of NLU processor which try to interpretate the given message | + | * [x] '' | 
| - | * [x] `/DCF101/` The deconcentrator accepts incoming messages as defined via the Request Schema | + | * [x] '' | 
| - | * [x] `/DCF102/` The deconcentrator sends answers as defined via the Response Schema | + | * [x] '' | 
| - | * [x] `/DCF103/` The deconcentrator answers with proper messages for occuring errors | + | * [x] '' | 
| - | * [x] `/DCF104/` New NLU processors muss be easy to integrate | + | * [x] '' | 
| - | * [x] `/DCF105/` The deconcentrator has a default value for the minimum confidence score | + | * [x] '' | 
| - | * [x] `/DCF106/` The deconcentrator has a default value for the list of processors | + | * [x] '' | 
| - | * [x] `/DCF107/` The minimum confidence score can be set globally within the Dockerfile | + | * [x] '' | 
| - | * [ ] `/DCF108/` The list of processors to be used can be set globally within the Dockerfile | + | * [ ] '' |