fix duckling, domain stuff
This commit is contained in:
parent
6f279a2267
commit
7029a99470
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,4 +1,5 @@
|
||||
venv/
|
||||
.vscode
|
||||
models/
|
||||
.rasa/
|
||||
.rasa/
|
||||
writeup.txt
|
@ -17,4 +17,10 @@ Rasa setup and command list
|
||||
===========================
|
||||
|
||||
- ``rasa init`` to create a new project
|
||||
- ``rasa train`` to train your model
|
||||
- ``rasa train`` to train your model
|
||||
|
||||
Entity Extraction
|
||||
=================
|
||||
|
||||
- Using duckling the easy way ``docker run -p 8000:8000 rasa/duckling``
|
||||
- docs https://duckling.wit.ai/#getting-started
|
@ -15,7 +15,7 @@ pipeline:
|
||||
- name: DucklingEntityExtractor
|
||||
url: http://localhost:8000
|
||||
dimensions:
|
||||
- email
|
||||
- ["email"]
|
||||
- name: EntitySynonymMapper
|
||||
- name: ResponseSelector
|
||||
epochs: 100
|
||||
|
19
domain.yml
19
domain.yml
@ -14,17 +14,24 @@ intents:
|
||||
- bye
|
||||
- affirm
|
||||
- deny
|
||||
- bot_challange
|
||||
- out_of_scope
|
||||
slots:
|
||||
email:
|
||||
type: any
|
||||
influence_conversation: false
|
||||
mappings:
|
||||
- type: custom
|
||||
first_name:
|
||||
type: text
|
||||
influence_conversation: false
|
||||
mappings:
|
||||
- type: custom
|
||||
last_name:
|
||||
type: text
|
||||
influence_conversation: false
|
||||
mappings:
|
||||
- type: custom
|
||||
responses:
|
||||
utter_bye:
|
||||
- text: |
|
||||
@ -57,9 +64,9 @@ actions:
|
||||
forms:
|
||||
signup_form:
|
||||
required_slots:
|
||||
email:
|
||||
- type: from_slot
|
||||
first_name:
|
||||
- type: from_slot
|
||||
last_name:
|
||||
- type: from_slot
|
||||
- email
|
||||
# - type: from_slot
|
||||
- first_name
|
||||
# - type: from_slot
|
||||
- last_name
|
||||
# - type: from_slot
|
Loading…
Reference in New Issue
Block a user