Now, I do not get the Sanic warning (see my first post) anymore. That’s good!
However, if I do rasa train it says:
UserWarning: Number of features (1) for attribute 'text_dense_features' does not match number of
tokens (12). Set 'return_sequence' to true in the corresponding featurizer in order to make use of the features in 'CRFEntityExtractor'.
f"Number of features ({len(features)}) for attribute "
I am not sure if this is sth. I have to worry about. The problem is, the after training the model and running terminal 2, terminal 3 and terminal 4 commands (see first post) the interface of my chatbot remains empty. I do not get any critical error message, but it looks like my model is empty.
That is strange. Maybe it is related to the warning above?
After rasa train and runing terminal 1-4 I have my bot running and talking to me.
But I do not want to use these configurations for production, since they are too old.
The new configuration (see grey box in my previous post) show no critical error warning. Only the one I mentioned in my previous post above. You say that it seems like an error with the pipeline CRFEntityExtractor.
Taking the old (working) model and run it with the new configurations doesn’t start the bot properly --> Therefore I think, the problem is not the model itself, but maybe the pipeline that runs the model.
Here is my config.yml file:
language: "de_core_news_sm"
pipeline: pretrained_embeddings_spacy # We started with this one! Used to be called as spacy_sklearn.
policies:
- name: "KerasPolicy"
epochs: 300
max_history: 0
- name: "MemoizationPolicy"
max_history: 0
- name: "FormPolicy" # To use forms, you also need to include the FormPolicy in your policy configuration file.
- name: "MappingPolicy"
- name: "FallbackPolicy"
# min confidence needed to accept an NLU prediction
nlu_threshold: 0.3
# min confidence needed to accept an action prediction from Rasa Core
core_threshold: 0.3
# name of the action to be called if the confidence of intent / action
# is below the threshold
fallback_action_name: 'action_default_fallback'
It doesen’t work I installed all packages as described in the grey box. I did rasa train . No error messages when I run terminal 1 -terminal 4. Everythink looks fine. However, I have no output. The chatbot does not realy start.
This is what Chrome browser says after starting the bot and pressing ctrl+shift+i:
Yes, there seems to be a problem with the cookie/access settings in the browser which does not allow rasa to run properly. I’m sorry to say that I cannot help you in solving the browser error. You can search for it and after it is solved, you can get back to me, if ther is any problem other than this
Also, I have not worked with livereload and therefore have no knowledge of it.