<story><title>Bottery – A conversational agent prototyping platform</title><url>https://github.com/google/bottery</url></story><parent_chain></parent_chain><comment><author>jeswin</author><text>Last year, we had built almost the same thing. It&amp;#x27;s Open Source but unfortunately, haven&amp;#x27;t added any documentation (will do when I get time) - &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;yak-ai&amp;#x2F;wild-yak&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;yak-ai&amp;#x2F;wild-yak&lt;/a&gt;&lt;p&gt;Lessons learnt:&lt;p&gt;- Works much better than AI driven bots at the moment&lt;p&gt;- Don&amp;#x27;t pretend to do intelligent things. Be just a dumb textbot.&lt;p&gt;- Force people into selecting options as much as you can&lt;p&gt;- When accepting data as text, give an example of what they should type&lt;p&gt;- Fancy Cards and Carousels are crappy UX. Stick to text.&lt;p&gt;- Super powerful when exposed to semi-technical users. Basically CLI for non-computer folks.&lt;p&gt;- An effective UI pattern for desktop usecases is to have a messenger pane on the left (or right), and a larger details window next to it. eg: You could say- tickets to Tokyo, and the right pane would display a bunch of options.</text></comment>
<story><title>Bottery – A conversational agent prototyping platform</title><url>https://github.com/google/bottery</url></story><parent_chain></parent_chain><comment><author>jaymzcampbell</author><text>Creating the rules for it reminds me a little bit of writing a text adventure game from days gone by:&lt;p&gt;&lt;pre&gt;&lt;code&gt;    ...
    name: {
      onEnter: &amp;quot;&amp;#x27;What do you want to name your kitten?&amp;#x27;&amp;quot;,
      exits: &amp;quot;&amp;#x27;*&amp;#x27; -&amp;gt;respond_to_name name=INPUT&amp;quot;,
    },
    respond_to_name: {
      onEnterSay: &amp;quot;The kitten purrs happily, I guess it likes the name #&amp;#x2F;name#!&amp;quot;,
    },
    ...
&lt;/code&gt;&lt;/pre&gt;
The readme for it is nice and detailed which I always appreciate and it&amp;#x27;s turned me onto &lt;a href=&quot;http:&amp;#x2F;&amp;#x2F;tracery.io&amp;#x2F;&quot; rel=&quot;nofollow&quot;&gt;http:&amp;#x2F;&amp;#x2F;tracery.io&amp;#x2F;&lt;/a&gt;, which I&amp;#x27;d not heard of but looks like a lot of fun (&lt;i&gt;&amp;quot;A super-simple tool and language to generate text&amp;quot;&lt;/i&gt;).</text></comment>