RasaHQ / rasa

💬 Open source machine learning framework to automate text- and voice-based conversations: NLU, dialogue management, connect to Slack, Facebook, and more - Create chatbots and voice assistants
https://rasa.com/docs/rasa/
Apache License 2.0
18.32k stars 4.57k forks source link

Fix unicode handling in JSON serialization for SQLTrackerStore #12990

Open droogg opened 6 months ago

droogg commented 6 months ago

This pull request updates the JSON serialization within the SQLTrackerStore to preserve non-ASCII characters such as Cyrillic script. By setting ensure_ascii=False in json.dumps, the data is now stored in its original representation, allowing for proper storage and retrieval of non-ASCII characters. This change addresses issues with Unicode encoding in the database, ensuring that intent and action names containing Cyrillic characters are correctly represented.

Proposed changes:

Status (please check what you already did):

CLAassistant commented 6 months ago

CLA assistant check
All committers have signed the CLA.