Ras form - how to make the bot case insensitive

Hi all,

I was trying to create form based chat following the tutorial Tutorial: Building Assistants

Whenever I reply ( fill the slot) to the bot, I have to input the reply in same case as I mentioned in the story otherwise bot does not move to next action.

Is there a way I can make it case insensitive so that bot will move to next action?

Please see my config.yml

language: en

pipeline:

- name: "WhitespaceTokenizer"

- name: "RegexFeaturizer"

- name: "CRFEntityExtractor"

- name: "EntitySynonymMapper"

- name: "CountVectorsFeaturizer"

- name: "CountVectorsFeaturizer"

analyzer: "char_wb"

min_ngram: 1

max_ngram: 4

- name: "EmbeddingIntentClassifier"

# Configuration for Rasa Core.

# https://rasa.com/docs/rasa/core/policies/

policies:

- name: MemoizationPolicy

- name: KerasPolicy

- name: MappingPolicy

- name: FormPolicy

You can add the option "case_sensitive": False to the WhitespaceTokenizer in your pipeline, e.g.

language: en

pipeline:

- name: "WhitespaceTokenizer"
  case_sensitive: False

- name: "RegexFeaturizer"

- name: "CRFEntityExtractor"

- name: "EntitySynonymMapper"

- name: "CountVectorsFeaturizer"

- name: "CountVectorsFeaturizer"

analyzer: "char_wb"

min_ngram: 1

max_ngram: 4

- name: "EmbeddingIntentClassifier"
1 Like