diff --git a/docs/2018-12-14-presentation.md b/docs/2018-12-14-presentation.md index 95d8a1f52762babde6dd648ee9ce326ec5140482..fa6cfcd366ff9f967175874d1efdac7d0dcd3e7c 100644 --- a/docs/2018-12-14-presentation.md +++ b/docs/2018-12-14-presentation.md @@ -12,11 +12,7 @@ --- -## Zielsetzung - ---- - -### Rasa Chatbot +### Zielsetzung RASA ist ein Framework für die Nutzung von Chatbots. Das System muss mit Facts befüllt werden, um Antworten generieren zu können. @@ -38,11 +34,11 @@ Dies soll anhand der Wikipedia-Einträge von Physikern erprobt werden. --- -## Daten +### Daten * Knapp 1000 Wikipedia Artikel * Über Wikipedia API -* HTML +* HTML-Formatierung * Ca. 550 Wörter/Artikel * Großteil um 400 Wörter @@ -54,14 +50,6 @@ Dies soll anhand der Wikipedia-Einträge von Physikern erprobt werden. ## Funktionsweise Rasa-Bots -* `nlu.md` - _Intents_ -* `stories.md` - _Gesprächsverlauf_ -* `domain.yml` - _Entitäten, Actions, Slots_ -* `nlu_config.yml` - _Pipeline_ -* `actions.py` - _findBirthplace()_ - ---- - ``` rasa ├── actions.py - Custom Actions @@ -101,10 +89,12 @@ class ActionSearchIsAlive(Action): ```bash "is Albert Einstein still alive" -2018-12-12 14:39:38 DEBUG rasa_core.processor - Received user message - 'is Albert Einstein still alive' with intent '{'name': 'is_alive', 'confidence': - 0.9826370477676392}' and entities '[{'start': 3, 'end': 18, 'value': - 'Albert Einstein', 'entity': 'Physicist', 'confidence': 0.9928692094590056, +2018-12-12 14:39:38 DEBUG rasa_core.processor - +Received user message 'is Albert Einstein still alive' + with intent '{'name': 'is_alive', 'confidence': + 0.9826370477676392}' and entities '[{'start': + 3, 'end': 18, 'value': 'Albert Einstein', + 'entity': 'Physicist', 'confidence': 0.9928692094590056, 'extractor': 'ner_crf'}]' ``` @@ -113,11 +103,11 @@ class ActionSearchIsAlive(Action): ## Antworten des Bots ```bash -2018-12-12 18:54:23 DEBUG rasa_core.processor - Predicted next action -'action_search_is_alive' with prob 1.00. -2018-12-12 18:54:23 DEBUG rasa_core.processor - Action 'action_search_is_alive' +2018-12-12 18:54:23 DEBUG rasa_core.processor - +Predicted next action 'action_search_is_alive' +with prob 1.00. 2018-12-12 18:54:23 DEBUG +rasa_core.processor - Action 'action_search_is_alive' ended with events '['SlotSet(key: is_alive, value: False)']' -2018-12-12 18:54:23 DEBUG rasa_core.processor - Bot utterance "The Life status of Albert Einstein is False." ``` @@ -128,8 +118,8 @@ ended with events '['SlotSet(key: is_alive, value: False)']' * Information Extraction * Name-Entity-Recognition für "einfache" Intents: Orte, Datum etc. - * word2vec oder Bootstrapping Relationship Extractors, um die "schwierigeren" - Intents: Forschungsgebiet bzw. verheiratetMIT, kindVON etc. + * word2vec oder Bootstrapping Relationship Extractors für die "schwierigeren" + Intents: 'Forschungsgebiet' bzw. 'verheiratetMit', 'kindVon' etc. * RASA trainieren -* APIs um die einzelnen Teile zusammen zubringen +* APIs um die einzelnen Teile zusammen zu bringen