Skip to content
Snippets Groups Projects
Commit f5ce2319 authored by Lucas Schons's avatar Lucas Schons
Browse files

Merge branch '20-uberarbeitung-slides' into 'master'

adds version1.1 of slides with better formatting.

Closes #20

See merge request !18
parents 39ca4c52 4249583c
No related branches found
No related tags found
1 merge request!18adds version1.1 of slides with better formatting.
...@@ -12,11 +12,7 @@ ...@@ -12,11 +12,7 @@
--- ---
## Zielsetzung ### Zielsetzung
---
### Rasa Chatbot
RASA ist ein Framework für die Nutzung von Chatbots. Das System muss mit Facts befüllt RASA ist ein Framework für die Nutzung von Chatbots. Das System muss mit Facts befüllt
werden, um Antworten generieren zu können. werden, um Antworten generieren zu können.
...@@ -38,11 +34,11 @@ Dies soll anhand der Wikipedia-Einträge von Physikern erprobt werden. ...@@ -38,11 +34,11 @@ Dies soll anhand der Wikipedia-Einträge von Physikern erprobt werden.
--- ---
## Daten ### Daten
* Knapp 1000 Wikipedia Artikel * Knapp 1000 Wikipedia Artikel
* Über Wikipedia API * Über Wikipedia API
* HTML * HTML-Formatierung
* Ca. 550 Wörter/Artikel * Ca. 550 Wörter/Artikel
* Großteil um 400 Wörter * Großteil um 400 Wörter
...@@ -54,14 +50,6 @@ Dies soll anhand der Wikipedia-Einträge von Physikern erprobt werden. ...@@ -54,14 +50,6 @@ Dies soll anhand der Wikipedia-Einträge von Physikern erprobt werden.
## Funktionsweise Rasa-Bots ## Funktionsweise Rasa-Bots
* `nlu.md` - _Intents_
* `stories.md` - _Gesprächsverlauf_
* `domain.yml` - _Entitäten, Actions, Slots_
* `nlu_config.yml` - _Pipeline_
* `actions.py` - _findBirthplace()_
---
``` ```
rasa rasa
├── actions.py - Custom Actions ├── actions.py - Custom Actions
...@@ -101,10 +89,12 @@ class ActionSearchIsAlive(Action): ...@@ -101,10 +89,12 @@ class ActionSearchIsAlive(Action):
```bash ```bash
"is Albert Einstein still alive" "is Albert Einstein still alive"
2018-12-12 14:39:38 DEBUG rasa_core.processor - Received user message 2018-12-12 14:39:38 DEBUG rasa_core.processor -
'is Albert Einstein still alive' with intent '{'name': 'is_alive', 'confidence': Received user message 'is Albert Einstein still alive'
0.9826370477676392}' and entities '[{'start': 3, 'end': 18, 'value': with intent '{'name': 'is_alive', 'confidence':
'Albert Einstein', 'entity': 'Physicist', 'confidence': 0.9928692094590056, 0.9826370477676392}' and entities '[{'start':
3, 'end': 18, 'value': 'Albert Einstein',
'entity': 'Physicist', 'confidence': 0.9928692094590056,
'extractor': 'ner_crf'}]' 'extractor': 'ner_crf'}]'
``` ```
...@@ -113,11 +103,11 @@ class ActionSearchIsAlive(Action): ...@@ -113,11 +103,11 @@ class ActionSearchIsAlive(Action):
## Antworten des Bots ## Antworten des Bots
```bash ```bash
2018-12-12 18:54:23 DEBUG rasa_core.processor - Predicted next action 2018-12-12 18:54:23 DEBUG rasa_core.processor -
'action_search_is_alive' with prob 1.00. Predicted next action 'action_search_is_alive'
2018-12-12 18:54:23 DEBUG rasa_core.processor - 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)']' 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." "The Life status of Albert Einstein is False."
``` ```
...@@ -128,8 +118,8 @@ ended with events '['SlotSet(key: is_alive, value: False)']' ...@@ -128,8 +118,8 @@ ended with events '['SlotSet(key: is_alive, value: False)']'
* Information Extraction * Information Extraction
* Name-Entity-Recognition für "einfache" Intents: Orte, Datum etc. * Name-Entity-Recognition für "einfache" Intents: Orte, Datum etc.
* word2vec oder Bootstrapping Relationship Extractors, um die "schwierigeren" * word2vec oder Bootstrapping Relationship Extractors für die "schwierigeren"
Intents: Forschungsgebiet bzw. verheiratetMIT, kindVON etc. Intents: 'Forschungsgebiet' bzw. 'verheiratetMit', 'kindVon' etc.
* RASA trainieren * RASA trainieren
* APIs um die einzelnen Teile zusammen zubringen * APIs um die einzelnen Teile zusammen zu bringen
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment