i will get the latest data using this–> input = tracker.latest_message.get(‘text’)
I have an array of data, I need to pass this array data as a bot response. how can I do that? I tried Bot is not responding how can we pass the same array output to bot repsonse using diapatcher ? is there any way i can do this ?
example: patterns = [‘ape’, ‘apple’, ‘peach’, ‘puppy’], input=‘appel’ --> from the latest data from the user . i’m using difflib module to find similiar data in the array we get the output as a array as below Output : [‘apple’, ‘ape’] if i use print the outbut is print on the console , not as a bot response
2019-09-02 18:52:26 INFO rasa_sdk.endpoint - Action endpoint is up and running. on (‘0.0.0.0’, 5055) [‘SelectTN’] 127.0.0.1 - - [2019-09-02 18:55:19] “POST /webhook HTTP/1.1” 200 182 0.032001
please some one help me how can i work on this ?