Live data from Hacker News

Bottery – A conversational agent prototyping platform

github.com

21–30 of 75 posts

Re: Bottery – A conversational agent prototyping platform

#21

Anyone figured out how to get this working? I was able to open the index.html in Chrome to see the various panels, but not to load a bot. I tried pasting the relevant parts from the a raw bot file, but it wouldn't run. Also, having developed and simulated, how would one use the resulting bot in production?

ya there are CORS issues if you just open the html file, you have to have a server to serve them instead. Try something like `python -m SimpleHTTPServer 8000` and then visit `http://localhost:8000/` and you'll be able to see content in the panels and interact w/ the bots.

Re: Bottery – A conversational agent prototyping platform

#22
post #10

Last year, we had built almost the same thing. It's Open Source but unfortunately, haven't added any documentation (will do when I get time) - https://github.com/yak-ai/wild-yak Lessons learnt: - Works much better than AI driven bots at the moment - Don't pretend to do intelligent things. Be just a dumb textbot. - Force people into selecting options as much as you can - When accepting data as text, give an example of…

The first link is showing 404.

Re: Bottery – A conversational agent prototyping platform

#23
post #2

> (This is not an official Google product) It appears that Google's policy is that all open source personal projects be hosted under its GitHub account. Thus, I think "Google open sources" is a bit misleading; that implies that it's an official project being used by Google, whereas this just looks like a personal project being hosted by Google due to their requirements.

I am also confused with that statement because the files appear to have Google Copyright in them. Example https://github.com/google/bottery/blob/master/js/bots.js So its not official Google Product yet has Google Copyright. Not sure how that works.

A Googler once told me that any code he writes during his employment with Google belongs to Google copyright-wise.

If they want to open source anything they have to ask Google for permission. It doesn't have to be hosted under the Google GitHub organization though (take Camlistore[1] as an example, although their primary repository is still hosted at googlesource.com).

This also means that if you want to contribute code to an open source project started by a Googler you will have to sign the Google CLA.

1: https://camlistore.org/

Re: Bottery – A conversational agent prototyping platform

#25
post #2

> (This is not an official Google product) It appears that Google's policy is that all open source personal projects be hosted under its GitHub account. Thus, I think "Google open sources" is a bit misleading; that implies that it's an official project being used by Google, whereas this just looks like a personal project being hosted by Google due to their requirements.

Yes, we've updated the title “Google open sources Bottery – bot-making language/platform” to that of the project. This is one reason we ask submitters not to editorialized titles: it's all too easy to mislead.

Re: Bottery – A conversational agent prototyping platform

#26

Creating the rules for it reminds me a little bit of writing a text adventure game from days gone by: ... name: { onEnter: "'What do you want to name your kitten?'", exits: "'*' ->respond_to_name name=INPUT", }, respond_to_name: { onEnterSay: "The kitten purrs happily, I guess it likes the name #/name#!", }, ... The readme for it is nice and detailed which I always appreciate and it's turned me onto http://tracery.io…

I'm starting to introduce someone to programming and am putting together a MUD-style game in Typescript for them to hack on. I kind of wish that instead of magic strings in JSON this was a JS object where the values could be functions. Introducing more than one syntax for variables, etc., could be confusing at the beginning.

Re: Bottery – A conversational agent prototyping platform

#29

Anyone figured out how to get this working? I was able to open the index.html in Chrome to see the various panels, but not to load a bot. I tried pasting the relevant parts from the a raw bot file, but it wouldn't run. Also, having developed and simulated, how would one use the resulting bot in production?

ya there are CORS issues if you just open the html file, you have to have a server to serve them instead. Try something like `python -m SimpleHTTPServer 8000` and then visit ` http://localhost:8000/` and you'll be able to see content in the panels and interact w/ the bots.

That did the trick, thanks.

Re: Bottery – A conversational agent prototyping platform

#30
post #22
post #10

Last year, we had built almost the same thing. It's Open Source but unfortunately, haven't added any documentation (will do when I get time) - https://github.com/yak-ai/wild-yak Lessons learnt: - Works much better than AI driven bots at the moment - Don't pretend to do intelligent things. Be just a dumb textbot. - Force people into selecting options as much as you can - When accepting data as text, give an example of…

The first link is showing 404.

Fixed. Thanks.
Post reply on HN