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

Where is Chat, register_call functions? #21

Closed
dsbyprateekg opened this issue Mar 25, 2020 · 2 comments
Closed

Where is Chat, register_call functions? #21

dsbyprateekg opened this issue Mar 25, 2020 · 2 comments

Comments

@dsbyprateekg
Copy link

Describe the bug
After cloning the code, installing the setup file when I run the demo code for wiki search, I am getting ImportError: cannot import name 'register_call' from 'chatbot' error

To Reproduce
Steps to reproduce the behavior:

  1. run Example.py

Expected behavior
code should run

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: windows 10
  • Python 3.7
  • Browser Chrome

Additional context
from chatbot import Chat, register_call ImportError: cannot import name 'register_call' from 'chatbot'

@ahmadfaizalbh
Copy link
Owner

Looks like you have installed older version of library

Please run below script to upgrade your library version

pip3 install --upgrade chatbotai

@dsbyprateekg
Copy link
Author

Thanks.
After updating the library to 0.2.1.1, I am able to run the code successfully.
Please close the ticket.

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