Skip to content

Commit

Permalink
Update 2017-07-25-How-I-Used-Deep-Learning-to-Train-a-Chatbot-to-Talk…
Browse files Browse the repository at this point in the history
…-Like-Me-&barryclark#40&#83orta&barryclark#41.html
  • Loading branch information
adeshpande3 authored Jun 13, 2018
1 parent 967a0ee commit 7c34cbb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ <h2><span style="text-decoration: underline;"><strong>Deploying our trained Tens
<h2><strong><span style="text-decoration: underline;">Testing it Out!</span></strong></h2>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong>If you&rsquo;d like to chat with this bot, just go ahead and go to this <a href="https://m.me/Adits-FB-Chatbot-822517037906771/">link</a></strong> <strong>or go to this <a href="https://www.facebook.com/Adits-FB-Chatbot-822517037906771/" target="_blank">Facebook page</a> and hit the Send Message button</strong>. It might take a while to respond for the first time, since the server needs to start up.</p>
<p style="color:#FF0000">UPDATE 6/13/18: FB changed some of their settings with bots so I am not sure if the Messenger bot works. However, you can also send POST requests to the server using CURL in your command prompt. Basically, go to your Terminal/Cmd Prompt and type in:</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; curl -i -X POST -H 'Content-Type: application/json' -d '{"message": "INSERT YOUR MESSAGE HERE"}' https://flask-server-seq2seq-chatbot.herokuapp.com/prediction The response will be the answer that my trained chatbot would send.</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; curl -i -X POST -H 'Content-Type: application/json' -d '{"message": "INSERT YOUR MESSAGE HERE"}' https://flask-server-seq2seq-chatbot.herokuapp.com/prediction</p>
<p style="color:#FF0000">The response will be the answer that my trained chatbot would send.</p>
<p>&nbsp;It&rsquo;s probably difficult to judge whether or not the bot actually does talk like me (since not a lot of you have talked to me online LOL), but I&rsquo;d say it&rsquo;s doing alright! The grammar is passable, considering social media standards. You can cherry pick a couple good results, but most are pretty nonsensical. Here are some of the ones which help me sleep better at night because Skynet definitely isn&rsquo;t happening any time soon.</p>
<img src="/assets/Chatbot11.png">
Expand Down

0 comments on commit 7c34cbb

Please sign in to comment.