Skip to content

Commit

Permalink
Set terminal adapter as default input and output adapter in example.
Browse files Browse the repository at this point in the history
  • Loading branch information
gunthercox authored Jul 9, 2016
1 parent 1c84414 commit 9f176d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/weather_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# Create a new chat bot
chatbot = ChatBot(
"Weather Bot",
input_adapter="chatterbot.adapters.input.TerminalAdapter",
output_adapter="chatterbot.adapters.output.TerminalAdapter",
logic_adapters=[
chatterbot_weather.weather_adapter.WeatherLogicAdapter
]
Expand Down

0 comments on commit 9f176d4

Please sign in to comment.