Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any option to train data from sql table #5

Closed
PoojaPatel05 opened this issue Dec 4, 2017 · 4 comments
Closed

Is there any option to train data from sql table #5

PoojaPatel05 opened this issue Dec 4, 2017 · 4 comments

Comments

@PoojaPatel05
Copy link

i want to train data which is stored in mysql databse. data is in mysqlyog.

@vkosuri
Copy link
Owner

vkosuri commented Dec 5, 2017

You have to export your data either JSON or YAML from MySQL to train your bot, https://stackoverflow.com/a/5036634/358458

@PoojaPatel05
Copy link
Author

what if I give a path of my data database in (\chatterbot-live-example-master\example_app\settings.py) in below given part of the code.
CHATTERBOT = { 'name': 'Django ChatterBot Example', 'logic_adapters' : [ "chatterbot.logic.BestMatch" ], 'trainer': 'chatterbot.trainers.ChatterBotCorpusTrainer', 'training_data': [ 'chatterbot.corpus' (here the path of database ) ] }

@vkosuri
Copy link
Owner

vkosuri commented Dec 21, 2017

I think this could help you http://chatterbot.readthedocs.io/en/stable/training.html#specifying-corpus-scope

@PoojaPatel05
Copy link
Author

got it. Thank you so much

@vkosuri vkosuri closed this as completed Jan 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants