ChatterBot icon indicating copy to clipboard operation
ChatterBot copied to clipboard

The data received from twitter is not copied to the database

Open queengineer opened this issue 9 years ago • 7 comments

I am creating a twitter bot with your project but The data received from twitter is not copied to the database. self.storage.(statement) part is not working ?

queengineer avatar Dec 10 '16 18:12 queengineer

@engineer34 Could you please let me know type adapter are you using for example Terminal/django/etc

vkosuri avatar Dec 10 '16 19:12 vkosuri

storage_adapter = "chatterbot.adapters.storage.TwitterAdapter"

queengineer avatar Dec 10 '16 19:12 queengineer

@engineer34 I think you are using an old version of ChatterBot. The twitter storage adapter has been removed because it had a number of issues. There is a new training module that replaces it and it should work much better: http://chatterbot.readthedocs.io/en/latest/training.html#training-with-the-twitter-api

gunthercox avatar Dec 10 '16 19:12 gunthercox

I try this example but I get an error message : ImportError: No module named input

queengineer avatar Dec 10 '16 19:12 queengineer

Maybe that module doesn't exist in the version you have?

You can install the latest version of chatterbot by running:

pip install chatterbot --upgrade

gunthercox avatar Dec 10 '16 19:12 gunthercox

thank you so much

queengineer avatar Dec 10 '16 20:12 queengineer

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[bot] avatar Mar 10 '19 09:03 lock[bot]