Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
wiki:software:beuthbot:software-architecture [10.12.2019 19:19] Christopher Lehmann |
wiki:software:beuthbot:software-architecture [23.01.2020 15:30] (aktuell) Timo Bruns [Software Architecture] |
||
---|---|---|---|
Zeile 22: | Zeile 22: | ||
> Bot <=> Gateway <=> Registry <=> Service | > Bot <=> Gateway <=> Registry <=> Service | ||
- | Following diagram shows that in more detail. | + | Following diagram shows that in more detail: |
- |  | ||
+ | </ | ||
=== Bot === | === Bot === | ||
Zeile 44: | Zeile 97: | ||
The //Bot// notifies the //Gateway// with the message it got from the user. | The //Bot// notifies the //Gateway// with the message it got from the user. | ||
- | The //Gateway// then uses NLP (Natural Language Processing) // | + | The //Gateway// then uses NLP (Natural Language Processing) // |
=== Registry === | === Registry === | ||
Zeile 64: | Zeile 117: | ||
Following class diagram further illustrates that: | Following class diagram further illustrates that: | ||
- | : Response | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | class Message { | ||
+ | id: unique | ||
+ | evaluated: Meaning | ||
+ | evaluate() | ||
+ | } | ||
+ | |||
+ | Request *-- Message | ||
+ | |||
+ | Response -- Request | ||
+ | |||
+ | |||
+ | class Response { | ||
+ | request: Request | ||
+ | answer | ||
+ | history: Trace | ||
+ | } | ||
+ | |||
+ | class TextMessage { | ||
+ | content | ||
+ | } | ||
+ | |||
+ | class AudioMessage { | ||
+ | url | ||
+ | } | ||
+ | Message <|-- AudioMessage | ||
+ | Message <|-- TextMessage | ||
+ | </ | ||
+ | <WRAP pagebreak></ |