I want to send user_name along with sender_id and other attributes via SQL trackerstore but I have not any documentation related to this. I am currently only able store the conversation on mySQL.
The SQL tracker store is a component of the Rasa framework that allows you to store conversation data in an SQL database. By default, Rasa stores conversation data such as user messages, bot responses, and user intents in the SQL tracker store. However, you can also store custom data in the tracker store by using the tracker.update_slot() method.
can you please write the code. I just want to link the user_name to the conversation.
Hi, How are you interacting with the model, Via a chat widget or REST API?
Are you creating the senderID at your side? if so then you can map the senderID and user_name at your side while creating the senderID
or you can use the user_name in place of senderID but it should be unique
- I am interacting using chat widget using (rasa-webchat)
- I send the user_name has an initial payload, and it is mapped into a slot. I have a attribute user_name in my convseration table along with default conversation attributes. All the conversation is logged into the database, but I also want to send the user_name attribute with the conversation so I can later use it to map to user for analysis.
- So how can I add the user_name to query that is sent to the database by rasa tracker store