diff --git a/examples/learning_feedback_example.py b/examples/learning_feedback_example.py index bc0b6b314..506489136 100644 --- a/examples/learning_feedback_example.py +++ b/examples/learning_feedback_example.py @@ -42,14 +42,14 @@ def get_feedback(): ) print('\n Is "{}" a coherent response to "{}"? \n'.format( - response.text, + response[0].text, input_statement.text )) if get_feedback() is False: print('please input the correct one') correct_response = Statement(text=input()) bot.learn_response(correct_response, input_statement) - print('Responses added to bot!') + print("Learnt") # Press ctrl-c or ctrl-d on the keyboard to exit except (KeyboardInterrupt, EOFError, SystemExit):