I tried latest versions of Rasa and Rasa X, and i got this error when running RasaX
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such column: True
[SQL: CREATE INDEX message_log_in_training_data_idx ON message_log (in_training_data) WHERE in_training_data is True]
(Background on this error at: https://sqlalche.me/e/14/e3q8)
Then after using particular versions of these dependencies I was able to start RASA X in browser (when there are no synonyms in nlu,yml)
@athulvingt please experiment whilst using rasa open source, if its working on rasa open source then we need to investigate the issue and if its not working even on rasa open source then still we need to understand the root cause of error. rasa shell --debug Thanks.
it works fine on rasa open source. I always train the model in Rasa open source and before, as of now I am using Rasa X to share the assistant with testers. Everytime after training a model, I will comment the synonyms section before starting rasaX and then share it to the testers.
version: "2.0"
language: en_core_web_md
pipeline:
- name: WhitespaceTokenizer
- name: RegexFeaturizer
- name: LexicalSyntacticFeaturizer
- name: CountVectorsFeaturizer
- name: CountVectorsFeaturizer
analyzer: "char_wb"
min_ngram: 1
max_ngram: 4
- name: DIETClassifier
epochs: 100
- name: RegexEntityExtractor
- name: EntitySynonymMapper
- name: ResponseSelector
epochs: 100
retrieval_intent: faq
- name: ResponseSelector
epochs: 100
retrieval_intent: chitchat
- name: FallbackClassifier
threshold: 0.7
- name: DucklingEntityExtractor
url: http://duckling.rasa.com:8000
dimensions:
- amount-of-money
- time
- number
- phone-number
- duration
- name: SpacyNLP
model: "en_core_web_md"
case_sensitive: false
- name: "SpacyEntityExtractor"
# Note: It is not possible to use the SpacyTokenizer + SpacyFeaturizer in
# combination with the WhitespaceTokenizer, and as a result the
# PERSON extraction by Spacy is not very robust.
# Because of this, the nlu training data is annotated as well, and the
# DIETClassifier will also extract PERSON entities .
dimensions: ["PERSON"]
policies:
- name: AugmentedMemoizationPolicy
- name: TEDPolicy
epochs: 40
- name: RulePolicy
core_fallback_threshold: 0.4
core_fallback_action_name: "action_default_fallback"
enable_fallback_prediction: True
my nlu.yml file is bit long, it might make this page messy. What i meant is that the below synonym doesn’t works because “check in” is the value and example as well, if I remove “check in” from synonym it works.
synonym: check in
examples: |
checkin
chekin in
I tired adding synonyms in Rasa X, there also if I add an example that is same as value, it wont be shown after I save it, thats how i figured it.
@athulvingt What do you mean by duplicates means you using only single examples like core, dialogue management ; doesn’t matter if its case sensitive right?
all synonyms are mapped into a single word, in the above example, Core, Core, core, dialogue management, etc are mapped into “core”, If you look carefully the third word ‘core’ is same as the word it has to be mapped, that was making the problem in my case
Remove the third entry from the examples , It should work