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.98k stars 4.64k forks source link

Fix unicode handling in JSON serialization for SQLTrackerStore #12990

Open droogg opened 10 months ago

droogg commented 10 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 10 months ago

CLA assistant check
All committers have signed the CLA.