Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Wiki Rasa
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tm-chatbot
Wiki Rasa
Commits
964ec2c8
Commit
964ec2c8
authored
6 years ago
by
Lucas Schons
Browse files
Options
Downloads
Plain Diff
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
!36
Resolve "Enhancing Rasa (Documentation)"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
rasa/actions.py
+22
-0
22 additions, 0 deletions
rasa/actions.py
with
22 additions
and
0 deletions
rasa/actions.py
+
22
−
0
View file @
964ec2c8
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
#
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment