I have implemented lookup table with names of employees…
but the problem is the names needs to be same as in lookup table
for ex: when i type in chatbot what is sohail employee id,it doesnt recognize as in lookup table it is Sohail
I have added case_sensitive=False also in my config file
attaching my config.yaml and nlu.yml
config.yml
pipeline:
# # 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
case_sensitive: False
- name: RegexFeaturizer
case_sensitive: False
- 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
- name: RegexEntityExtractor
case_sensitive: False
use_lookup_tables: True
use_regexes: True
nlu.yml
- intent: find_employee_id
examples: |
-What is the employee ID of [Pavankumar P](person)?
-Can you tell me the employee ID of [ramesh](person)?
-Do you know the employee ID of [M Sai Teja Reddy](person)?
- lookup: person
examples: |
- people.yml
lookup table in people.yml
version: "3.1"
nlu:
- lookup: person
examples: |
- Pavankumar P
- ramesh
- M Sai Teja Reddy
- Sohail
- Aparna S
- Basheer A
how do i make the chatbot case insensitive for names i type in chatbot