I want to save all the user conversations to Microsoft sql server.
or can I save locally the conversations to a YML file , similar to stories.md file
Please help me with steps regarding the same .
I tried with SQL tracker store
endpoint.yml file
tracker_store:
type: SQL
dialect: "mssql+pyodbc" # the dialect used to interact with the db
url: "localhost" # (optional) host of the sql db, e.g. "localhost"
db: "rasa_conversations" # path to your db
username: "**" # username used for authentication
password: '****' # password used for authentication
query: # optional dictionary to be added as a query string to the connection URL
driver: "SQL+Server+Native+Client+11.0"
link create
2020-03-25 11:44:10 DEBUG rasa.core.tracker_store - Attempting to connect to database via 'mssql+pyodbc://**:****@localhost/rasa_conversations?driver=SQL+Server+Native+Client+11.0'.
ERROR
pyodbc.InterfaceError: ('IM002', '[IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified (0) (SQLDriverConnect)')
Since SQLAlchemy supports MSQL, the export should work fine.
How exactly are you extracting data?
Quick googling shows me that there’s a configuration issue. Are you sure the DB is accesable? It’s also possible that some tweak has to be made within Rasa itself in case it won’t work.
I will surely try to do the same, For now I am able to store the data in json file on local disk
I have my rasa running perfectly on local machine, I want to put it on server and make is available for tester. I am not a developer hence finding it difficult to do so can you please provide me a guide to do so .