{"id":3648,"date":"2022-08-12T10:50:37","date_gmt":"2022-08-12T15:50:37","guid":{"rendered":"https:\/\/osric.com\/chris\/accidental-developer\/?p=3648"},"modified":"2022-08-12T10:50:37","modified_gmt":"2022-08-12T15:50:37","slug":"diy-gist-chatbots","status":"publish","type":"post","link":"https:\/\/osric.com\/chris\/accidental-developer\/2022\/08\/diy-gist-chatbots\/","title":{"rendered":"DIY Gist Chatbots"},"content":{"rendered":"<p>[This was originally posted at the now-defunct impractical.bot on 23 Feb 2019]<\/p>\n<p>I created a tool that will allow anyone to experiment with NLTK (Natural Language Toolkit) chatbots without writing any Python code. The repository for the backend code is available on GitHub: <a href=\"https:\/\/github.com\/cherdt\/docker-nltk-chatbot\">Docker NLTK chatbot<\/a>.<\/p>\n<p>I plan to expand on this idea, but it is usable now. In order to create your own bot:<\/p>\n<ul>\n<li>Create a <a href=\"https:\/\/github.com\">GitHub<\/a> account<\/li>\n<li>Create a &#8220;gist&#8221; or fork my demo gist: <a href=\"https:\/\/gist.github.com\/cherdt\/f29a847a08fdc24a42a8e427e079310c\">Greetings Bot Source<\/a><\/li>\n<li>Customize the name, match, and replies elements<\/li>\n<li>Note your username and the unique ID of your gist (a hash value, a 32-character string of letters and numbers)<\/li>\n<li>Visit http:\/\/osric.com\/chat\/user\/hash, replacing <em>user<\/em> with your GitHub username and <em>hash<\/em> with the unique ID of your gist. For an example, see <a href=\"http:\/\/osric.com\/chat\/cherdt\/f29a847a08fdc24a42a8e427e079310c\">Greetings Bot<\/a>.<\/li>\n<\/ul>\n<p>You can now interact with your custom bot, or share the link with your friends!<\/p>\n<p>One more thing: if you update your gist, you&#8217;ll need to let the site know to update the code. Just click the &#8220;Reload Source&#8221; link on the chat page.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[This was originally posted at the now-defunct impractical.bot on 23 Feb 2019] I created a tool that will allow anyone to experiment with NLTK (Natural Language Toolkit) chatbots without writing any Python code. The repository for the backend code is available on GitHub: Docker NLTK chatbot. I plan to expand on this idea, but it &hellip; <a href=\"https:\/\/osric.com\/chris\/accidental-developer\/2022\/08\/diy-gist-chatbots\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">DIY Gist Chatbots<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[86],"tags":[570,487],"class_list":["post-3648","post","type-post","status-publish","format-standard","hentry","category-python","tag-chatbots","tag-nltk"],"_links":{"self":[{"href":"https:\/\/osric.com\/chris\/accidental-developer\/wp-json\/wp\/v2\/posts\/3648","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/osric.com\/chris\/accidental-developer\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/osric.com\/chris\/accidental-developer\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/osric.com\/chris\/accidental-developer\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/osric.com\/chris\/accidental-developer\/wp-json\/wp\/v2\/comments?post=3648"}],"version-history":[{"count":2,"href":"https:\/\/osric.com\/chris\/accidental-developer\/wp-json\/wp\/v2\/posts\/3648\/revisions"}],"predecessor-version":[{"id":3650,"href":"https:\/\/osric.com\/chris\/accidental-developer\/wp-json\/wp\/v2\/posts\/3648\/revisions\/3650"}],"wp:attachment":[{"href":"https:\/\/osric.com\/chris\/accidental-developer\/wp-json\/wp\/v2\/media?parent=3648"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/osric.com\/chris\/accidental-developer\/wp-json\/wp\/v2\/categories?post=3648"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/osric.com\/chris\/accidental-developer\/wp-json\/wp\/v2\/tags?post=3648"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}