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

Importing Terminal fails #41

Closed
asya-bergal opened this issue May 27, 2015 · 4 comments
Closed

Importing Terminal fails #41

asya-bergal opened this issue May 27, 2015 · 4 comments

Comments

@asya-bergal
Copy link

The command from chatterbot import Terminal gives me a cannot import name Terminal error. This also happens with TalkWithCleverBot and I suspect every import except for ChatBot.

@kevin-brown
Copy link
Contributor

I suspect this happened after ffebc96, which was part of the current efforts to split things up into individual modules.

@gunthercox
Copy link
Owner

These classes have been moved out of the package for the latest release. This was done in favor of keeping the main ChatBot class as abstract as possible while simultaneously introducing the concept of adapters for various operations.

Example Classes
All of the classes such as Terminal and TalkWithCleverBot have been moved into the examples directory in the repo.

Adapter Classes
ChatterBot version 0.2.0 introduces the concept of adapters for three categories of operations. ChatterBot defines these three categories as storage, logic, and io. This change will make it possible for future modules to be created that allow ChatterBot to be set up to use any type of database, and communicate with users through any medium such as web apis.

Currently there isn't any documentation on these items since I forgot about updating the readme. I'll add thorough documentation as soon as possible.

@gunthercox
Copy link
Owner

I've updated the documentation in the readme for these changes. Please let me know if anything is unclear or could be improved.

@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

3 participants