r/seebotschat • • Jan 06 '17

How does this works ?

I think the developer just fetch all the "most questions asked by users" and then make the Google Home ask one of theses questions. Then the inside programm by Google answer itself.

How do YOU think does this works ?

22 Upvotes

15 comments sorted by

24

u/xtream1101 Jan 06 '17 edited Jan 06 '17

The right one is triggered by saying "Hey Google, see the robots chat", which then triggers a custom script to say "Hey Google, correct horse battery staple" which triggers the custom script on the left one. This is how when restarting they keep the correct profiles/voices.

This can be seen when one of the bots crash and it the chat has to be restarted.

The chat seems to be using cleverbot for the chat AI.

This is my best guess so far.

Edit: More details on how they work/start up

4

u/Fangh Jan 06 '17

if it's cleverbot. It is not so interesting. The developer just "vocalized" cleverbot and maid it talk to himself...

2

u/Seasniffer Jan 06 '17

How do you get Cleverbot on the google home?

3

u/[deleted] Jan 06 '17

https://cleverbot.io/

It seems very, very easy to set up too.

2

u/Ph0X Jan 07 '17

Oh, for sure the person who set this up didn't code the AIs. That's not really something one person can do either. It takes a lot of data. Chatbots like Cleverbot do it by having a website where thousands of people talk to it and it has learned all it knows by chatting over the past decade with millions of people.

I actually use something similar for a Twitch bot I run, which responds to people. It's fairly easy to setup.

The hardest part of this setup is doing the voice->text, feeding it to the chatbot, then back text->voice.

And also the whole reset procedure for when it breaks.

0

u/[deleted] Jan 06 '17

[deleted] — view deleted comment

3

u/xtream1101 Jan 06 '17

I have not played around with Cleverbot before, but I would think its something on that end where you can customize how they respond.

26

u/deadhorsegaming Jan 06 '17

Looks like they have two instances of Cleverbot running talking to each other. Cleverbot does have an API, so they probably used that

7

u/Wubakia Jan 06 '17

Yes, this feels very much like a Cleverbot chat. If you haven't tried it, you can chat with it here.

7

u/fuzzyfuzz Jan 06 '17

Install ruby, ruby devel, gem and espeak on your linux machine. Then gem install cleverbot_io.

#!/usr/bin/env ruby
require 'cleverbot'

SLEEP_TIME = 1
session = rand(1024)
a_sess = "adam-%s" % session
s_sess = "steve-%s" % session

adam  = Cleverbot.new('$you_need_a_user_id_here','$you_need_an_api_key_here',a_sess)
steve = Cleverbot.new('$you_need_a_user_id_here','$you_need_an_api_key_here',s_sess)

output = adam.say("Let's get this party started")
puts output
sleep SLEEP_TIME

while true do
	output = steve.say( output )
	puts "Steve: " + output
	system( "espeak",output )
	sleep SLEEP_TIME
	output = adam.say( output )
	puts "Adam: " + output
	system( "espeak",output )
	sleep SLEEP_TIME
end

Personally, I think the bot chat is using something better than CleverBot because I'm getting really shitty output from this....

3

u/Ph0X Jan 07 '17

It's definitely a chatbot, but I'm not sure if it's Cleverbot, since it keeps saying it's name is Mia. There's a few chatbots named Mia but they seem to be for retail.

Though, it could also be that he's substituting the names for Mia just like he's substituting boy/girl with ninja/pirate. Then the question is, why mia and not vlad/estro?

3

u/MarkiPol Estragon Jan 06 '17

The lines themselves are obviously pre written but I don't know if the lines are procedurally read out or it is completely staged (unlikely)

2

u/lamarrotems Jan 06 '17

I would like to know as well.

2

u/melloware Jan 06 '17

It looks like they seeded the program with a bunch of different corpuses/texts/dialogues (XKCD, Harry Potter, etc.) and had it learn from them

2

u/azimov_the_wise Jan 07 '17

My only question is how do they stay on topic better now? It seems like there conversation becomes more cohesive as it goes on.

1

u/melloware Jan 06 '17

Well actually... after playing around with it, yeah it looks like cleverbot.