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

Training didn't auto generated the database.db #868

Closed
nggary opened this issue Jul 20, 2017 · 3 comments
Closed

Training didn't auto generated the database.db #868

nggary opened this issue Jul 20, 2017 · 3 comments

Comments

@nggary
Copy link

nggary commented Jul 20, 2017

I used to execute the following code to train my chatbot and the database.db will be auto generated, but It doesn't happen in this version.

from chatterbot.trainers import ListTrainer

chatterbot = ChatBot("Training Example")
chatterbot.set_trainer(ListTrainer)

chatterbot.train([
    "Hi there!",
    "Hello",
])

chatterbot.train([
    "Greetings!",
    "Hello",
])
@vkosuri
Copy link
Collaborator

vkosuri commented Jul 21, 2017

@nggary Chatterbot default storage adapter is SQLStorageAdapter.

It uses database_uri to connect your database, more information available here.

If you want to know table properties use find(statement_text) procedure to check your statements are there or not

@nggary
Copy link
Author

nggary commented Jul 21, 2017

I don't know it is a bug or on purpose on the document modification. There should be something writen about the JsonFileStorageAdapter, but now its gone, and that is what I'm looking for.

@lock
Copy link

lock bot commented Mar 10, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Mar 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants