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