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

Merge branch '34-enhancing-rasa-documentation-naming' into 'master'

Resolve "Enhancing Rasa (Documentation)"

Closes #34

See merge request !36
parents a45c02eb 56ada64f
No related branches found
No related tags found
1 merge request!36Resolve "Enhancing Rasa (Documentation)"
from rasa_core_sdk import Action
from rasa_core_sdk.events import SlotSet
"""
Custom Actions to get Information about
Schema for Actions
class ActionSearchInfo(Action):
Starts Search Action for an Information, depending on
found intent (Intent 'birthplace' -> 'ActionSearchBirthplace')
- Obtains slot value of recognized physicist entity
- Iterates over 'data.tsv' to find demanded info for given physicist
- Stores value of info in its slot
class ActionUtterInfo(Action):
Starts Utterance Action for an Information
- Obtains slot value for recognized physiscist entity and info value
from Search-Action
- Prints Bot utterance containing the above to the console
"""
#
# Birthplace
#
......
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