Change the sender_id at session start

Hi everyone,

I’m building an application where a logged-in user can talk with the bot. I want the sender_id to correspond to the user’s email. One of the main reasons for using a custom id is to ensure that the user’s identity remains constant even when reaching out to the user using external events. This allows me to confidently contact the user that their identifier has not changed.

What is the best approach? I was reading many topics but I got confused with so many different specific options.

I was also not able to understand the SESSION PERSISTENCE in here. I want the front end of my application to be responsible for setting the user’s identifier.

I’m using the WebSocket channel to communicate with my bot and this chat widget

Happy holidays to everyone! :evergreen_tree: :star2: :evergreen_tree:

You’ll probably want to set the sender_id yourself or pass it in the metadata. Because this widget isn’t open source, I don’t think it will work for you. I have a post on the available chat widgets here. I would consider passing the user id as metadata with the botfront widget. This will not require you to modify the source code. You would then use action_session_start to get the metadata and identify your user.

So I decided to try the Chatbot Widget by Jitesh Gaikwad. I found it convenient that I could set the sender_id from the beginning. I want the front end to be responsible to set the sender_id from the beginning. I don’t want to map the conversation ID to the user ID.

But now when I try to send an External Notification the user doesn’t receive the message. The action server receives the request but doesn’t send it to the user.

My credential file (I’m using docker-compose with services rasa and action_server)

rest:

callback:
  url: "http://rasa:5034/bot"

rasa:
  url: "http://rasa:5002/api"

endpoint file

action_endpoint:
  url: "http://action_server:5055/webhook"

the logs:

2022-12-28 09:18:37 <frozen importlib._bootstrap>:283: DeprecationWarning: the load_module() method is deprecated and slated for removal in Python 3.12; use exec_module() instead
2022-12-28 09:18:37 2022-12-28 09:18:37 DEBUG    rasa.cli.utils  - Parameter 'credentials' not set. Using default location 'credentials.yml' instead.
2022-12-28 09:18:37 /opt/venv/lib/python3.10/site-packages/sanic_cors/extension.py:39: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
2022-12-28 09:18:37   SANIC_VERSION = LooseVersion(sanic_version)
2022-12-28 09:18:37 /opt/venv/lib/python3.10/site-packages/future/standard_library/__init__.py:65: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses
2022-12-28 09:18:37   import imp
2022-12-28 09:18:39 2022-12-28 09:18:39 DEBUG    h5py._conv  - Creating converter from 7 to 5
2022-12-28 09:18:39 2022-12-28 09:18:39 DEBUG    h5py._conv  - Creating converter from 5 to 7
2022-12-28 09:18:39 2022-12-28 09:18:39 DEBUG    h5py._conv  - Creating converter from 7 to 5
2022-12-28 09:18:39 2022-12-28 09:18:39 DEBUG    h5py._conv  - Creating converter from 5 to 7
2022-12-28 09:18:40 /opt/venv/lib/python3.10/site-packages/keras_preprocessing/image/utils.py:23: DeprecationWarning: NEAREST is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.NEAREST or Dither.NONE instead.
2022-12-28 09:18:40   'nearest': pil_image.NEAREST,
2022-12-28 09:18:40 /opt/venv/lib/python3.10/site-packages/keras_preprocessing/image/utils.py:24: DeprecationWarning: BILINEAR is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BILINEAR instead.
2022-12-28 09:18:40   'bilinear': pil_image.BILINEAR,
2022-12-28 09:18:40 /opt/venv/lib/python3.10/site-packages/keras_preprocessing/image/utils.py:25: DeprecationWarning: BICUBIC is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BICUBIC instead.
2022-12-28 09:18:40   'bicubic': pil_image.BICUBIC,
2022-12-28 09:18:40 /opt/venv/lib/python3.10/site-packages/keras_preprocessing/image/utils.py:28: DeprecationWarning: HAMMING is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.HAMMING instead.
2022-12-28 09:18:40   if hasattr(pil_image, 'HAMMING'):
2022-12-28 09:18:40 /opt/venv/lib/python3.10/site-packages/keras_preprocessing/image/utils.py:30: DeprecationWarning: BOX is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BOX instead.
2022-12-28 09:18:40   if hasattr(pil_image, 'BOX'):
2022-12-28 09:18:40 /opt/venv/lib/python3.10/site-packages/keras_preprocessing/image/utils.py:33: DeprecationWarning: LANCZOS is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.LANCZOS instead.
2022-12-28 09:18:40   if hasattr(pil_image, 'LANCZOS'):
2022-12-28 09:18:41 <frozen importlib._bootstrap>:283: DeprecationWarning: the load_module() method is deprecated and slated for removal in Python 3.12; use exec_module() instead
2022-12-28 09:18:41 2022-12-28 09:18:41 DEBUG    rasa.core.utils  - Available web server routes: 
2022-12-28 09:18:41 /conversations/<conversation_id:path>/messages     POST                           add_message
2022-12-28 09:18:41 /conversations/<conversation_id:path>/tracker/events POST                           append_events
2022-12-28 09:18:41 /webhooks/callback                                 GET                            callback_webhook.health
2022-12-28 09:18:41 /webhooks/callback/webhook                         POST                           callback_webhook.webhook
2022-12-28 09:18:41 /webhooks/rasa                                     GET                            custom_webhook_RasaChatInput.health
2022-12-28 09:18:41 /webhooks/rasa/webhook                             POST                           custom_webhook_RasaChatInput.receive
2022-12-28 09:18:41 /webhooks/rest                                     GET                            custom_webhook_RestInput.health
2022-12-28 09:18:41 /webhooks/rest/webhook                             POST                           custom_webhook_RestInput.receive
2022-12-28 09:18:41 /model/test/intents                                POST                           evaluate_intents
2022-12-28 09:18:41 /model/test/stories                                POST                           evaluate_stories
2022-12-28 09:18:41 /conversations/<conversation_id:path>/execute      POST                           execute_action
2022-12-28 09:18:41 /domain                                            GET                            get_domain
2022-12-28 09:18:41 /                                                  GET                            hello
2022-12-28 09:18:41 /model                                             PUT                            load_model
2022-12-28 09:18:41 /model/parse                                       POST                           parse
2022-12-28 09:18:41 /conversations/<conversation_id:path>/predict      POST                           predict
2022-12-28 09:18:41 /conversations/<conversation_id:path>/tracker/events PUT                            replace_events
2022-12-28 09:18:41 /conversations/<conversation_id:path>/story        GET                            retrieve_story
2022-12-28 09:18:41 /conversations/<conversation_id:path>/tracker      GET                            retrieve_tracker
2022-12-28 09:18:41 /status                                            GET                            status
2022-12-28 09:18:41 /model/predict                                     POST                           tracker_predict
2022-12-28 09:18:41 /model/train                                       POST                           train
2022-12-28 09:18:41 /conversations/<conversation_id:path>/trigger_intent POST                           trigger_intent
2022-12-28 09:18:41 /model                                             DELETE                         unload_model
2022-12-28 09:18:41 /version                                           GET                            version
2022-12-28 09:18:41 2022-12-28 09:18:41 INFO     root  - Starting Rasa server on http://0.0.0.0:5005
2022-12-28 09:18:41 2022-12-28 09:18:41 DEBUG    rasa.core.utils  - Using the default number of Sanic workers (1).
2022-12-28 09:18:43 2022-12-28 09:18:43 DEBUG    urllib3.connectionpool  - Starting new HTTPS connection (1): api.segment.io:443
2022-12-28 09:18:44 2022-12-28 09:18:44 DEBUG    urllib3.connectionpool  - https://api.segment.io:443 "POST /v1/track HTTP/1.1" 200 21
2022-12-28 09:18:44 /opt/venv/lib/python3.10/site-packages/rasa/core/tracker_store.py:998: SADeprecationWarning: Calling URL() directly is deprecated and will be disabled in a future release.  The public constructor for URL is now the URL.create() method.
2022-12-28 09:18:44   return sa.engine.url.URL(
2022-12-28 09:18:44 2022-12-28 09:18:44 DEBUG    rasa.core.tracker_store  - Attempting to connect to database via 'postgresql://rasa:***@postgres/rasa'.
2022-12-28 09:18:44 2022-12-28 09:18:44 DEBUG    rasa.core.tracker_store  - Connection to SQL database 'rasa' successful.
2022-12-28 09:18:44 2022-12-28 09:18:44 DEBUG    rasa.core.tracker_store  - Connected to SQLTrackerStore.
2022-12-28 09:18:44 2022-12-28 09:18:44 DEBUG    rasa.core.lock_store  - Connected to lock store 'InMemoryLockStore'.
2022-12-28 09:18:44 2022-12-28 09:18:44 DEBUG    rasa.core.nlg.generator  - Instantiated NLG to 'TemplatedNaturalLanguageGenerator'.
2022-12-28 09:18:44 2022-12-28 09:18:44 INFO     rasa.core.processor  - Loading model models/20221228-064301-weighted-account.tar.gz...
2022-12-28 09:18:46 2022-12-28 09:18:46 DEBUG    rasa.engine.storage.local_model_storage  - Extracted model to '/tmp/tmpz5ah2yw6'.
2022-12-28 09:18:46 2022-12-28 09:18:46 DEBUG    rasa.engine.graph  - Node 'nlu_message_converter' loading 'NLUMessageConverter.load' and kwargs: '{}'.
2022-12-28 09:18:46 2022-12-28 09:18:46 DEBUG    rasa.engine.graph  - Node 'run_WhitespaceTokenizer0' loading 'WhitespaceTokenizer.load' and kwargs: '{}'.
2022-12-28 09:18:46 2022-12-28 09:18:46 DEBUG    rasa.engine.graph  - Node 'run_RegexFeaturizer1' loading 'RegexFeaturizer.load' and kwargs: '{}'.
2022-12-28 09:18:46 2022-12-28 09:18:46 DEBUG    rasa.engine.storage.local_model_storage  - Resource 'train_RegexFeaturizer1' was requested for reading.
2022-12-28 09:18:46 2022-12-28 09:18:46 DEBUG    rasa.engine.graph  - Node 'run_LexicalSyntacticFeaturizer2' loading 'LexicalSyntacticFeaturizer.load' and kwargs: '{}'.
2022-12-28 09:18:46 2022-12-28 09:18:46 DEBUG    rasa.engine.storage.local_model_storage  - Resource 'train_LexicalSyntacticFeaturizer2' was requested for reading.
2022-12-28 09:18:46 2022-12-28 09:18:46 DEBUG    rasa.engine.graph  - Node 'run_CountVectorsFeaturizer3' loading 'CountVectorsFeaturizer.load' and kwargs: '{}'.
2022-12-28 09:18:46 2022-12-28 09:18:46 DEBUG    rasa.engine.storage.local_model_storage  - Resource 'train_CountVectorsFeaturizer3' was requested for reading.
2022-12-28 09:18:46 2022-12-28 09:18:46 DEBUG    rasa.engine.graph  - Node 'run_CountVectorsFeaturizer4' loading 'CountVectorsFeaturizer.load' and kwargs: '{}'.
2022-12-28 09:18:46 2022-12-28 09:18:46 DEBUG    rasa.engine.storage.local_model_storage  - Resource 'train_CountVectorsFeaturizer4' was requested for reading.
2022-12-28 09:18:46 2022-12-28 09:18:46 DEBUG    rasa.engine.graph  - Node 'run_DIETClassifier5' loading 'DIETClassifier.load' and kwargs: '{}'.
2022-12-28 09:18:46 2022-12-28 09:18:46 DEBUG    rasa.engine.storage.local_model_storage  - Resource 'train_DIETClassifier5' was requested for reading.
2022-12-28 09:18:46 2022-12-28 09:18:46 DEBUG    rasa.utils.tensorflow.models  - Loading the model from /tmp/tmp8pp47mqy/train_DIETClassifier5/DIETClassifier.tf_model with finetune_mode=False...
2022-12-28 09:18:46 2022-12-28 09:18:46 DEBUG    rasa.nlu.classifiers.diet_classifier  - You specified 'DIET' to train entities, but no entities are present in the training data. Skipping training of entities.
2022-12-28 09:18:46 2022-12-28 09:18:46 DEBUG    rasa.nlu.classifiers.diet_classifier  - Following metrics will be logged during training: 
2022-12-28 09:18:46 2022-12-28 09:18:46 DEBUG    rasa.nlu.classifiers.diet_classifier  -   t_loss (total loss)
2022-12-28 09:18:46 2022-12-28 09:18:46 DEBUG    rasa.nlu.classifiers.diet_classifier  -   i_acc (intent acc)
2022-12-28 09:18:46 2022-12-28 09:18:46 DEBUG    rasa.nlu.classifiers.diet_classifier  -   i_loss (intent loss)
2022-12-28 09:18:55 2022-12-28 09:18:55 DEBUG    rasa.utils.tensorflow.models  - Finished loading the model.
2022-12-28 09:18:55 /opt/venv/lib/python3.10/site-packages/rasa/utils/train_utils.py:528: UserWarning: constrain_similarities is set to `False`. It is recommended to set it to `True` when using cross-entropy loss.
2022-12-28 09:18:55   rasa.shared.utils.io.raise_warning(
2022-12-28 09:18:55 2022-12-28 09:18:55 DEBUG    rasa.engine.graph  - Node 'run_EntitySynonymMapper6' loading 'EntitySynonymMapper.load' and kwargs: '{}'.
2022-12-28 09:18:55 2022-12-28 09:18:55 DEBUG    rasa.engine.storage.local_model_storage  - Resource 'train_EntitySynonymMapper6' was requested for reading.
2022-12-28 09:18:55 2022-12-28 09:18:55 DEBUG    rasa.nlu.extractors.entity_synonyms  - Failed to load ABCMeta from model storage. Resource 'train_EntitySynonymMapper6' doesn't exist.
2022-12-28 09:18:55 2022-12-28 09:18:55 DEBUG    rasa.engine.graph  - Node 'run_ResponseSelector7' loading 'ResponseSelector.load' and kwargs: '{}'.
2022-12-28 09:18:55 2022-12-28 09:18:55 DEBUG    rasa.engine.storage.local_model_storage  - Resource 'train_ResponseSelector7' was requested for reading.
2022-12-28 09:18:55 2022-12-28 09:18:55 DEBUG    rasa.nlu.classifiers.diet_classifier  - Failed to load ABCMeta from model storage. Resource 'train_ResponseSelector7' doesn't exist.
2022-12-28 09:18:55 2022-12-28 09:18:55 DEBUG    rasa.engine.storage.local_model_storage  - Resource 'train_ResponseSelector7' was requested for reading.
2022-12-28 09:18:55 2022-12-28 09:18:55 DEBUG    rasa.nlu.selectors.response_selector  - Failed to load ResponseSelector from model storage. Resource 'train_ResponseSelector7' doesn't exist.
2022-12-28 09:18:55 2022-12-28 09:18:55 DEBUG    rasa.engine.graph  - Node 'run_FallbackClassifier8' loading 'FallbackClassifier.load' and kwargs: '{}'.
2022-12-28 09:18:55 2022-12-28 09:18:55 DEBUG    rasa.engine.graph  - Node 'run_RegexMessageHandler' loading 'RegexMessageHandler.load' and kwargs: '{}'.
2022-12-28 09:18:55 2022-12-28 09:18:55 DEBUG    rasa.engine.graph  - Node 'domain_provider' loading 'DomainProvider.load' and kwargs: '{}'.
2022-12-28 09:18:55 2022-12-28 09:18:55 DEBUG    rasa.engine.storage.local_model_storage  - Resource 'domain_provider' was requested for reading.
2022-12-28 09:18:55 <frozen importlib._bootstrap>:283: DeprecationWarning: the load_module() method is deprecated and slated for removal in Python 3.12; use exec_module() instead
2022-12-28 09:18:55 2022-12-28 09:18:55 DEBUG    rasa.engine.graph  - Node 'run_RulePolicy0' loading 'RulePolicy.load' and kwargs: '{}'.
2022-12-28 09:18:55 2022-12-28 09:18:55 DEBUG    rasa.engine.storage.local_model_storage  - Resource 'train_RulePolicy0' was requested for reading.
2022-12-28 09:18:55 2022-12-28 09:18:55 DEBUG    rasa.engine.graph  - Node 'rule_only_data_provider' loading 'RuleOnlyDataProvider.load' and kwargs: '{}'.
2022-12-28 09:18:55 2022-12-28 09:18:55 DEBUG    rasa.engine.storage.local_model_storage  - Resource 'train_RulePolicy0' was requested for reading.
2022-12-28 09:18:55 2022-12-28 09:18:55 DEBUG    rasa.engine.graph  - Node 'select_prediction' loading 'DefaultPolicyPredictionEnsemble.load' and kwargs: '{}'.
2022-12-28 09:18:55 2022-12-28 09:18:55 INFO     root  - Rasa server is up and running.
2022-12-28 09:18:55 2022-12-28 09:18:55 INFO     root  - Enabling coroutine debugging. Loop id 94895141360464.
2022-12-28 09:19:07 2022-12-28 09:19:07 DEBUG    rasa.core.lock_store  - Issuing ticket for conversation 'jitesh97'.
2022-12-28 09:19:07 2022-12-28 09:19:07 DEBUG    rasa.core.lock_store  - Acquiring lock for conversation 'jitesh97'.
2022-12-28 09:19:07 2022-12-28 09:19:07 DEBUG    rasa.core.lock_store  - Acquired lock for conversation 'jitesh97'.
2022-12-28 09:19:07 2022-12-28 09:19:07 DEBUG    rasa.core.tracker_store  - Can't retrieve tracker matching sender id 'jitesh97' from SQL storage. Returning `None` instead.
2022-12-28 09:19:07 2022-12-28 09:19:07 DEBUG    rasa.core.tracker_store  - Tracker with sender_id 'jitesh97' stored to database
2022-12-28 09:19:07 2022-12-28 09:19:07 DEBUG    rasa.core.processor  - Starting a new session for conversation ID 'jitesh97'.
2022-12-28 09:19:07 2022-12-28 09:19:07 DEBUG    rasa.core.actions.action  - Calling action endpoint to run action 'action_session_start'.
2022-12-28 09:19:07 2022-12-28 09:19:07 DEBUG    rasa.core.processor  - Policy prediction ended with events '[]'.
2022-12-28 09:19:07 2022-12-28 09:19:07 DEBUG    rasa.core.processor  - Action 'action_session_start' ended with events '[BotUttered('Welcome! I'm the your AI Assistant. You can ask me news related to crypto', {"elements": null, "quick_replies": null, "buttons": null, "attachment": null, "image": null, "custom": null}, {}, 1672219147.768477), BotUttered('You can ask me questions related to technical analysis, for example.', {"elements": null, "quick_replies": null, "buttons": null, "attachment": null, "image": null, "custom": null}, {}, 1672219147.7684824), BotUttered('Or any recent news! Try out. Not financial advice.', {"elements": null, "quick_replies": null, "buttons": null, "attachment": null, "image": null, "custom": null}, {}, 1672219147.7684865)]'.
2022-12-28 09:19:07 2022-12-28 09:19:07 DEBUG    rasa.core.processor  - Current slot values: 
2022-12-28 09:19:07     session_started_metadata: None
2022-12-28 09:19:07 2022-12-28 09:19:07 DEBUG    rasa.engine.runner.dask  - Running graph with inputs: {'__message__': [<rasa.core.channels.channel.UserMessage object at 0x7fc5c43233a0>]}, targets: ['run_RegexMessageHandler'] and ExecutionContext(model_id='849665039abf47fd91da19828a72d013', should_add_diagnostic_data=False, is_finetuning=False, node_name=None).
2022-12-28 09:19:07 2022-12-28 09:19:07 DEBUG    rasa.engine.graph  - Node 'nlu_message_converter' running 'NLUMessageConverter.convert_user_message'.
2022-12-28 09:19:07 2022-12-28 09:19:07 DEBUG    rasa.engine.graph  - Node 'run_WhitespaceTokenizer0' running 'WhitespaceTokenizer.process'.
2022-12-28 09:19:07 2022-12-28 09:19:07 DEBUG    rasa.engine.graph  - Node 'run_RegexFeaturizer1' running 'RegexFeaturizer.process'.
2022-12-28 09:19:07 2022-12-28 09:19:07 DEBUG    rasa.engine.graph  - Node 'run_LexicalSyntacticFeaturizer2' running 'LexicalSyntacticFeaturizer.process'.
2022-12-28 09:19:07 2022-12-28 09:19:07 DEBUG    rasa.engine.graph  - Node 'run_CountVectorsFeaturizer3' running 'CountVectorsFeaturizer.process'.
2022-12-28 09:19:07 2022-12-28 09:19:07 DEBUG    rasa.engine.graph  - Node 'run_CountVectorsFeaturizer4' running 'CountVectorsFeaturizer.process'.
2022-12-28 09:19:07 2022-12-28 09:19:07 DEBUG    rasa.engine.graph  - Node 'run_DIETClassifier5' running 'DIETClassifier.process'.
2022-12-28 09:19:07 2022-12-28 09:19:07 DEBUG    rasa.engine.graph  - Node 'run_EntitySynonymMapper6' running 'EntitySynonymMapper.process'.
2022-12-28 09:19:07 2022-12-28 09:19:07 DEBUG    rasa.engine.graph  - Node 'run_ResponseSelector7' running 'ResponseSelector.process'.
2022-12-28 09:19:07 2022-12-28 09:19:07 DEBUG    rasa.nlu.classifiers.diet_classifier  - There is no trained model for 'ResponseSelector': The component is either not trained or didn't receive enough training data.
2022-12-28 09:19:07 2022-12-28 09:19:07 DEBUG    rasa.nlu.selectors.response_selector  - Adding following selector key to message property: default
2022-12-28 09:19:07 2022-12-28 09:19:07 DEBUG    rasa.engine.graph  - Node 'run_FallbackClassifier8' running 'FallbackClassifier.process'.
2022-12-28 09:19:07 2022-12-28 09:19:07 DEBUG    rasa.engine.graph  - Node 'domain_provider' running 'DomainProvider.provide_inference'.
2022-12-28 09:19:07 2022-12-28 09:19:07 DEBUG    rasa.engine.graph  - Node 'run_RegexMessageHandler' running 'RegexMessageHandler.process'.
2022-12-28 09:19:07 2022-12-28 09:19:07 DEBUG    rasa.core.processor  - Received user message '/welcome' with intent '{'name': 'welcome', 'confidence': 1.0}' and entities '[]'
2022-12-28 09:19:07 2022-12-28 09:19:07 DEBUG    rasa.core.processor  - Logged UserUtterance - tracker now has 5 events.
2022-12-28 09:19:07 2022-12-28 09:19:07 DEBUG    rasa.core.actions.action  - Validating extracted slots: 
2022-12-28 09:19:07 2022-12-28 09:19:07 DEBUG    rasa.core.processor  - Default action 'action_extract_slots' was executed, resulting in 0 events: 
2022-12-28 09:19:07 2022-12-28 09:19:07 DEBUG    rasa.engine.runner.dask  - Running graph with inputs: {'__tracker__': <rasa.shared.core.trackers.DialogueStateTracker object at 0x7fc5e2dbe530>}, targets: ['select_prediction'] and ExecutionContext(model_id='849665039abf47fd91da19828a72d013', should_add_diagnostic_data=False, is_finetuning=False, node_name=None).
2022-12-28 09:19:07 2022-12-28 09:19:07 DEBUG    rasa.engine.graph  - Node 'rule_only_data_provider' running 'RuleOnlyDataProvider.provide'.
2022-12-28 09:19:07 2022-12-28 09:19:07 DEBUG    rasa.engine.graph  - Node 'domain_provider' running 'DomainProvider.provide_inference'.
2022-12-28 09:19:07 2022-12-28 09:19:07 DEBUG    rasa.engine.graph  - Node 'run_RulePolicy0' running 'RulePolicy.predict_action_probabilities'.
2022-12-28 09:19:07 2022-12-28 09:19:07 DEBUG    rasa.core.policies.rule_policy  - Current tracker state:
2022-12-28 09:19:07 [state 1] user intent: welcome | previous action name: action_session_start
2022-12-28 09:19:07 2022-12-28 09:19:07 DEBUG    rasa.core.policies.rule_policy  - There is no applicable rule.
2022-12-28 09:19:07 2022-12-28 09:19:07 DEBUG    rasa.engine.graph  - Node 'select_prediction' running 'DefaultPolicyPredictionEnsemble.combine_predictions_from_kwargs'.
2022-12-28 09:19:07 2022-12-28 09:19:07 DEBUG    rasa.core.policies.ensemble  - Predicted next action using RulePolicy.
2022-12-28 09:19:07 2022-12-28 09:19:07 DEBUG    rasa.core.processor  - Predicted next action 'action_default_fallback' with confidence 0.30.
2022-12-28 09:19:07 2022-12-28 09:19:07 DEBUG    rasa.core.processor  - Policy prediction ended with events '[]'.
2022-12-28 09:19:07 2022-12-28 09:19:07 DEBUG    rasa.core.processor  - Action 'action_default_fallback' ended with events '[<rasa.shared.core.events.UserUtteranceReverted object at 0x7fc5e271c250>]'.
2022-12-28 09:19:07 2022-12-28 09:19:07 DEBUG    rasa.core.processor  - Current slot values: 
2022-12-28 09:19:07     session_started_metadata: None
2022-12-28 09:19:07 2022-12-28 09:19:07 DEBUG    rasa.core.processor  - Predicted next action 'action_listen' with confidence 1.00.
2022-12-28 09:19:07 2022-12-28 09:19:07 DEBUG    rasa.core.processor  - Policy prediction ended with events '[]'.
2022-12-28 09:19:07 2022-12-28 09:19:07 DEBUG    rasa.core.processor  - Action 'action_listen' ended with events '[]'.
2022-12-28 09:19:07 2022-12-28 09:19:07 DEBUG    rasa.core.tracker_store  - Tracker with sender_id 'jitesh97' stored to database
2022-12-28 09:19:07 2022-12-28 09:19:07 DEBUG    rasa.core.lock_store  - Deleted lock for conversation 'jitesh97'.
2022-12-28 09:19:14 2022-12-28 09:19:14 DEBUG    rasa.core.lock_store  - Issuing ticket for conversation 'jitesh97'.
2022-12-28 09:19:14 2022-12-28 09:19:14 DEBUG    rasa.core.lock_store  - Acquiring lock for conversation 'jitesh97'.
2022-12-28 09:19:14 2022-12-28 09:19:14 DEBUG    rasa.core.lock_store  - Acquired lock for conversation 'jitesh97'.
2022-12-28 09:19:14 2022-12-28 09:19:14 DEBUG    rasa.core.tracker_store  - Recreating tracker from sender id 'jitesh97'
2022-12-28 09:19:14 2022-12-28 09:19:14 DEBUG    rasa.core.actions.action  - Validating extracted slots: 
2022-12-28 09:19:14 2022-12-28 09:19:14 DEBUG    rasa.core.processor  - Default action 'action_extract_slots' was executed, resulting in 0 events: 
2022-12-28 09:19:14 2022-12-28 09:19:14 DEBUG    rasa.engine.runner.dask  - Running graph with inputs: {'__tracker__': <rasa.shared.core.trackers.DialogueStateTracker object at 0x7fc5c4321960>}, targets: ['select_prediction'] and ExecutionContext(model_id='849665039abf47fd91da19828a72d013', should_add_diagnostic_data=False, is_finetuning=False, node_name=None).
2022-12-28 09:19:14 2022-12-28 09:19:14 DEBUG    rasa.engine.graph  - Node 'rule_only_data_provider' running 'RuleOnlyDataProvider.provide'.
2022-12-28 09:19:14 2022-12-28 09:19:14 DEBUG    rasa.engine.graph  - Node 'domain_provider' running 'DomainProvider.provide_inference'.
2022-12-28 09:19:14 2022-12-28 09:19:14 DEBUG    rasa.engine.graph  - Node 'run_RulePolicy0' running 'RulePolicy.predict_action_probabilities'.
2022-12-28 09:19:14 2022-12-28 09:19:14 DEBUG    rasa.core.policies.rule_policy  - Current tracker state:
2022-12-28 09:19:14 [state 1] user text: EXTERNAL: EXTERNAL_notification_fundamentals | previous action name: action_listen
2022-12-28 09:19:14 2022-12-28 09:19:14 DEBUG    rasa.core.policies.rule_policy  - There is no applicable rule.
2022-12-28 09:19:14 2022-12-28 09:19:14 DEBUG    rasa.core.policies.rule_policy  - Current tracker state:
2022-12-28 09:19:14 [state 1] user intent: EXTERNAL_notification_fundamentals | previous action name: action_listen
2022-12-28 09:19:14 2022-12-28 09:19:14 DEBUG    rasa.core.policies.rule_policy  - There is a rule for the next action 'action_notification_fundamentals'.
2022-12-28 09:19:14 2022-12-28 09:19:14 DEBUG    rasa.engine.graph  - Node 'select_prediction' running 'DefaultPolicyPredictionEnsemble.combine_predictions_from_kwargs'.
2022-12-28 09:19:14 2022-12-28 09:19:14 DEBUG    rasa.core.policies.ensemble  - Made prediction using user intent.
2022-12-28 09:19:14 2022-12-28 09:19:14 DEBUG    rasa.core.policies.ensemble  - Added `DefinePrevUserUtteredFeaturization(False)` event.
2022-12-28 09:19:14 2022-12-28 09:19:14 DEBUG    rasa.core.policies.ensemble  - Predicted next action using RulePolicy.
2022-12-28 09:19:14 2022-12-28 09:19:14 DEBUG    rasa.core.processor  - Predicted next action 'action_notification_fundamentals' with confidence 1.00.
2022-12-28 09:19:14 2022-12-28 09:19:14 DEBUG    rasa.core.actions.action  - Calling action endpoint to run action 'action_notification_fundamentals'.
2022-12-28 09:19:16 2022-12-28 09:19:16 DEBUG    rasa.core.processor  - Policy prediction ended with events '[<rasa.shared.core.events.DefinePrevUserUtteredFeaturization object at 0x7fc5c46ca440>]'.
2022-12-28 09:19:16 2022-12-28 09:19:16 DEBUG    rasa.core.processor  - Action 'action_notification_fundamentals' ended with events '[BotUttered('Fundamentals Notification:', {"elements": null, "quick_replies": null, "buttons": null, "attachment": null, "image": null, "custom": null}, {}, 1672219156.49152), BotUttered('Wishing everyone a Merry Christmas and Happy Holidays, this message conveys the importance of spending time with family to celebrate the season. The sender also expresses their own festive mood, with green and red lights in celebration of the Christmas colors.', {"elements": null, "quick_replies": null, "buttons": null, "attachment": null, "image": null, "custom": null}, {}, 1672219156.491526), BotUttered('Mark Cuban recently stated that Bitcoin is a good investment for institutional investors and compared XRP to gold, silver, and copper. He also suggested that he would like Bitcoin to go down further so he could buy more. Ripple's lawyer Stuart Aldorady recently tweeted about the SEC admitting assets from FTX were used to bail out BlockFi.', {"elements": null, "quick_replies": null, "buttons": null, "attachment": null, "image": null, "custom": null}, {}, 1672219156.49153), BotUttered('
2022-12-28 09:19:16 Cardano is experiencing an increase in adoption, with more users and transactions, as the crypto market cycle continues. The number of developments for Cardano, such as scaling capabilities, will drive further growth. Solana is still recovering from its bear market and should be watched closely.', {"elements": null, "quick_replies": null, "buttons": null, "attachment": null, "image": null, "custom": null}, {}, 1672219156.4915338)]'.
2022-12-28 09:19:16 2022-12-28 09:19:16 DEBUG    rasa.core.processor  - Current slot values: 
2022-12-28 09:19:16     session_started_metadata: None
2022-12-28 09:19:16 2022-12-28 09:19:16 DEBUG    rasa.engine.runner.dask  - Running graph with inputs: {'__tracker__': <rasa.shared.core.trackers.DialogueStateTracker object at 0x7fc5c4321960>}, targets: ['select_prediction'] and ExecutionContext(model_id='849665039abf47fd91da19828a72d013', should_add_diagnostic_data=False, is_finetuning=False, node_name=None).
2022-12-28 09:19:16 2022-12-28 09:19:16 DEBUG    rasa.engine.graph  - Node 'rule_only_data_provider' running 'RuleOnlyDataProvider.provide'.
2022-12-28 09:19:16 2022-12-28 09:19:16 DEBUG    rasa.engine.graph  - Node 'domain_provider' running 'DomainProvider.provide_inference'.
2022-12-28 09:19:16 2022-12-28 09:19:16 DEBUG    rasa.engine.graph  - Node 'run_RulePolicy0' running 'RulePolicy.predict_action_probabilities'.
2022-12-28 09:19:16 2022-12-28 09:19:16 DEBUG    rasa.core.policies.rule_policy  - Current tracker state:
2022-12-28 09:19:16 [state 1] user intent: EXTERNAL_notification_fundamentals | previous action name: action_listen
2022-12-28 09:19:16 [state 2] user intent: EXTERNAL_notification_fundamentals | previous action name: action_notification_fundamentals
2022-12-28 09:19:16 2022-12-28 09:19:16 DEBUG    rasa.core.policies.rule_policy  - There is a rule for the next action 'action_listen'.
2022-12-28 09:19:16 2022-12-28 09:19:16 DEBUG    rasa.engine.graph  - Node 'select_prediction' running 'DefaultPolicyPredictionEnsemble.combine_predictions_from_kwargs'.
2022-12-28 09:19:16 2022-12-28 09:19:16 DEBUG    rasa.core.policies.ensemble  - Predicted next action using RulePolicy.
2022-12-28 09:19:16 2022-12-28 09:19:16 DEBUG    rasa.core.processor  - Predicted next action 'action_listen' with confidence 1.00.
2022-12-28 09:19:16 2022-12-28 09:19:16 DEBUG    rasa.core.processor  - Policy prediction ended with events '[]'.
2022-12-28 09:19:16 2022-12-28 09:19:16 DEBUG    rasa.core.processor  - Action 'action_listen' ended with events '[]'.
2022-12-28 09:19:16 2022-12-28 09:19:16 DEBUG    rasa.core.tracker_store  - Tracker with sender_id 'jitesh97' stored to database
2022-12-28 09:19:16 2022-12-28 09:19:16 DEBUG    rasa.core.lock_store  - Deleted lock for conversation 'jitesh97'.