[{"data":1,"prerenderedAt":134},["ShallowReactive",2],{"i-lucide:menu":3,"i-lucide:arrow-up-right":8,"i-lucide:moon":10,"i-lucide:sun":12,"i-lucide:rss":14,"i-simple-icons:github":16,"i-simple-icons:linkedin":18,"post-\u002F2010\u002Fchatty-ai":21,"surround-\u002F2010\u002Fchatty-ai":121,"i-lucide:arrow-left":130,"i-lucide:arrow-right":132},{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":7},0,24,false,"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 5h16M4 12h16M4 19h16\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":9},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M7 7h10v10M7 17L17 7\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":11},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":13},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Ccircle cx=\"12\" cy=\"12\" r=\"4\"\u002F>\u003Cpath d=\"M12 2v2m0 16v2M4.93 4.93l1.41 1.41m11.32 11.32l1.41 1.41M2 12h2m16 0h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41\"\u002F>\u003C\u002Fg>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":15},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Cpath d=\"M4 11a9 9 0 0 1 9 9M4 4a16 16 0 0 1 16 16\"\u002F>\u003Ccircle cx=\"5\" cy=\"19\" r=\"1\"\u002F>\u003C\u002Fg>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":17},"\u003Cpath fill=\"currentColor\" d=\"M12 .297c-6.63 0-12 5.373-12 12c0 5.303 3.438 9.8 8.205 11.385c.6.113.82-.258.82-.577c0-.285-.01-1.04-.015-2.04c-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729c1.205.084 1.838 1.236 1.838 1.236c1.07 1.835 2.809 1.305 3.495.998c.108-.776.417-1.305.76-1.605c-2.665-.3-5.466-1.332-5.466-5.93c0-1.31.465-2.38 1.235-3.22c-.135-.303-.54-1.523.105-3.176c0 0 1.005-.322 3.3 1.23c.96-.267 1.98-.399 3-.405c1.02.006 2.04.138 3 .405c2.28-1.552 3.285-1.23 3.285-1.23c.645 1.653.24 2.873.12 3.176c.765.84 1.23 1.91 1.23 3.22c0 4.61-2.805 5.625-5.475 5.92c.42.36.81 1.096.81 2.22c0 1.606-.015 2.896-.015 3.286c0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":19,"hidden":20},"\u003Cpath fill=\"currentColor\" d=\"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037c-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85c3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.06 2.06 0 0 1-2.063-2.065a2.064 2.064 0 1 1 2.063 2.065m1.782 13.019H3.555V9h3.564zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0z\"\u002F>",true,{"id":22,"title":23,"body":24,"category":100,"comments":101,"date":102,"description":30,"excerpt":101,"extension":103,"image":101,"meta":104,"navigation":20,"path":105,"readingTime":106,"seo":107,"stem":108,"subtitle":101,"tags":109,"wordCount":119,"__hash__":120},"posts\u002F2010\u002Fchatty-ai.md","Talky-AI",{"type":25,"value":26,"toc":95},"minimark",[27,31,48,51,56,59,64,70,74,79,83,88],[28,29,30],"p",{},"This script makes two AI-s have a conversation with each other.",[28,32,33,34,41,42,47],{},"Things can go quite out of hand. Thanks to the ",[35,36,40],"a",{"href":37,"rel":38},"http:\u002F\u002Fwww.catonmat.net\u002Fblog\u002Fpython-library-for-google-translate\u002F",[39],"nofollow","xgoogle"," library it's also possible to have the text translated. A logfile is automatically generated with all the spoken text. Robots and API provided by ",[35,43,46],{"href":44,"rel":45},"http:\u002F\u002Fwww.pandorabots.com",[39],"www.pandorabots.com",".",[28,49,50],{},"There are some bugs (like missing punctuation when trimming the text), comments on those are welcome.",[52,53,55],"h1",{"id":54},"examples","Examples",[28,57,58],{},"I recorded some example sessions.",[60,61,63],"h2",{"id":62},"topic-cats","Topic: Cats",[65,66,67],"blockquote",{},[28,68,69],{},"Enter a topic: cats\nGetter: Yes I love them.\nMihkel: Ah.  You love  them. What do you like about  it so much?\nGetter: Ah hah.   Sometimes I think love is just a biological urge. Other times  it seems like a spiritual quality. Love, unlike energy or matter, seems limitless.   The melodramatic touch.\nMihkel:  Good\nGetter: Thanks for the compliment.\nMihkel: Oh don't mention it.\nGetter: Yay.  The pleasure was all mine.\nMihkel: I'm glad your impressed, .   I like you because are so polite.",[52,71,73],{"id":72},"topic-cookies","Topic: Cookies",[65,75,76],{},[28,77,78],{},"Enter a topic: cookies\nGetter: ?? ????????????????\nMihkel: ? ?? ???? ?? ? ??? ??? ???????????????. ? ????? ??????? ??? ??.\nGetter: ?? ?????? ?????? ? ?? ??????????????. ?? ?????? ???????, ???? ??? ? ???????? ?????????? ?????????????? ??????????.\nMihkel: ??, ??????????, ???????? ???. ?????, ?? ?? ????????? ??, ??? ??? ? ???? ? ????, ?? ?????\nGetter: ??????? ?? ??????? ??????\nMihkel: ??? ???????.\nGetter: ?????? ?? ???? ?????????\nMihkel: ???? ??????? ???????.",[52,80,82],{"id":81},"topic-romans-are-brave","Topic: Romans are brave",[65,84,85],{},[28,86,87],{},"Enter a topic: Romans are brave.\nGetter: Kas sulle meeldib olla number üks?\nMihkel: Hmm, ma ei ole kindel, kas ma tahan olla number üks, et palju. Mis see on?\nGetter: Kas te olete kunagi olla kindel\nMihkel: Olen sama kindel kui ma saan olla.\nGetter: Sa kõlad väga enesekindel.\nMihkel: Mil moel saan tunduda, et?\nGetter: Esimene neist, arvan ma.\nMihkel: Mis oli teine?\nGetter: Ma ei mõtle enam kui ühe sekundi jooksul.\nMihkel: Võibolla mõtted on vaid elektri impulsid.",[28,89,90],{},[35,91,94],{"href":92,"rel":93},"https:\u002F\u002Fgithub.com\u002Fanroots\u002Fprojects-archive\u002Ftree\u002Fmaster\u002Ftalky-AI",[39],"Download the source from GitHub",{"title":96,"searchDepth":97,"depth":97,"links":98},"",2,[99],{"id":62,"depth":97,"text":63},"Projects",null,"2010-07-25","md",{},"\u002F2010\u002Fchatty-ai","about 1 minute",{"title":23,"description":30},"2010\u002Fchatty-ai",[110,111,112,113,114,115,116,117,118],"python","ai","chat","chatterbot","automatic","conversation","robot","silly","vestlus",356,"BOVqkU411XNdYrGE5ZAi-q044nGVDSL8nD13v9iDH68",[122,126],{"title":123,"path":124,"stem":125,"children":-1},"Chatting with a ChatterBot AI in Python","\u002F2010\u002Fchatting-with-a-chatterbot-ai-in-python","2010\u002Fchatting-with-a-chatterbot-ai-in-python",{"title":127,"path":128,"stem":129,"children":-1},"eki-otsing","\u002F2010\u002Feki-otsing","2010\u002Feki-otsing",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":131},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m12 19l-7-7l7-7m7 7H5\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":133},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7-7l7 7l-7 7\"\u002F>",1790886933890]