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

Why i cant Specify logic adapters on the Construtor #11

Open
JanuaryThomas opened this issue Mar 28, 2020 · 0 comments
Open

Why i cant Specify logic adapters on the Construtor #11

JanuaryThomas opened this issue Mar 28, 2020 · 0 comments

Comments

@JanuaryThomas
Copy link

`from chatterbot import ChatBot

Create a new chat bot

chatbot = ChatBot(
'Weather Bot',
logic_adapters=[
'chatterbot_weather.weather_adapter.WeatherLogicAdapter'
]
)

Ask a question about the weather

response = chatbot.get_response('What is the weather like today?')

print(response)`

And it does return Type error init() takes 1 positional argument but 2 were given

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

1 participant