Skip to content

Commit

Permalink
fix: drop age for now, since spacy is broken(?).
Browse files Browse the repository at this point in the history
  • Loading branch information
jws-1 committed Nov 21, 2023
1 parent fb1a093 commit 30640ee
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 22 deletions.
35 changes: 21 additions & 14 deletions common/speech/lasr_rasa/assistants/receptionist/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,27 @@ assistant_id: receptionist
language: en

pipeline:
- name: SpacyNLP
model: "en_core_web_md"
- name: SpacyTokenizer
- name: SpacyEntityExtractor
dimensions: ["CARDINAL"]
- name: SpacyFeaturizer
pooling: mean
- name: CountVectorsFeaturizer
analyzer: "char_wb"
min_ngram: 1
max_ngram: 4
- name: DIETClassifier
epochs: 100
- name: EntitySynonymMapper
# # No configuration for the NLU pipeline was provided. The following default pipeline was used to train your model.
# # If you'd like to customize it, uncomment and adjust the pipeline.
# # See https://rasa.com/docs/rasa/tuning-your-model for more information.
# - name: WhitespaceTokenizer
# - name: RegexFeaturizer
# - name: LexicalSyntacticFeaturizer
# - name: CountVectorsFeaturizer
# - name: CountVectorsFeaturizer
# analyzer: char_wb
# min_ngram: 1
# max_ngram: 4
# - name: DIETClassifier
# epochs: 100
# constrain_similarities: true
# - name: EntitySynonymMapper
# - name: ResponseSelector
# epochs: 100
# constrain_similarities: true
# - name: FallbackClassifier
# threshold: 0.3
# ambiguity_threshold: 0.1


# Configuration for Rasa Core.
Expand Down
8 changes: 1 addition & 7 deletions common/speech/lasr_rasa/assistants/receptionist/data/nlu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,4 @@ nlu:
- My name is [Adel](name)
- It's [Jane](name)
- I am [Paris](name)
- I'm [Robin](name)
- intent: age
examples: |
- I am 18 years old
- 23
- I am 21
- I'm [Robin](name)
1 change: 0 additions & 1 deletion common/speech/lasr_rasa/assistants/receptionist/domain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ version: "3.1"
intents:
- fav_drink
- name
- age
entities:
- drink
- name
Expand Down

0 comments on commit 30640ee

Please sign in to comment.