RasaHQ / financial-demo

A demo for a financial services bot
Apache License 2.0
309 stars 398 forks source link

[Question] How to change the initial values? #171

Closed gupta-shrinath closed 2 years ago

gupta-shrinath commented 2 years ago

I want to change the initial account balance and the currency sign used.

hsm207 commented 2 years ago

The currency can be changed here

The initial account balance is based on the content stored in the database. It is randomly generated. You could create your own sqlite database and connect to it. The starting point to understand the content of the database is here.

gupta-shrinath commented 2 years ago

I did change the currency sign in the domain.yml file and I deleted the profile.db and trained the model change but it didn't change. Thanks for the reference for initial balance.

hsm207 commented 2 years ago

The database initialisation hardcoded the currency here.

You'll have to update accordingly.

gupta-shrinath commented 2 years ago

ok thank you so much for the help and such fast responses