Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@abehmiel
Last active October 18, 2017 20:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abehmiel/893067bf978eaad501ca05b70cd55c82 to your computer and use it in GitHub Desktop.
Save abehmiel/893067bf978eaad501ca05b70cd55c82 to your computer and use it in GitHub Desktop.
Notes on Botmakers meetup

Taken at Babycastles in NYC 10/11 NYC Botmakers Meetup for more info: https://www.meetup.com/botmakers/ I make no claims as to the completeness of these notes

Conversational chatbots - Gautam

3 days of full development (idk what a bot is to v0.1)

chatbot client -> chatbot server -> conversation API

What is the weather in nyc? turn that into intent which the server can understand API converts chat into action and parameter which is sent back to sever and service the original request

chatbot server sdk: launch vehicle

event-driven JS SDK

Normalizes text & events

auto-populates user profiles

metric integraton with Dashbot

Dialog flow: what is my api?

converts text-to-intent

performs system and custon entity extraction

performs slot filling for information collection

JS SDK available

chatbot client -> launch-vehicle -> dialog flow

Apply for jobs using a bot

m.me/CondeNastCobot

collects information via FB messager which dumps candidate info into a slack channel which recruiters are watching

How to map questions to conversation types

small talk

pre-built dialog agents

commands

create entities (wired, conde nast, etc) and train new intents in dialog flow

fetch

create entities for all brands, train new intents to all the questions

collect

how to: use slot filling (it’s like a step-by-step validation form) with user sessions to prevent cross-talk client-side validated field slot filling: User bio, user email

post

how to: persist send to a database or slack. Send profile info (from launch vehicle) and user submitted info (from dialog flow) to slack

Generative twitter bots with Glitch - Byron Hulcher @hypirlink

Whats a twitter bot?

cheapbotsdonequick.com

Makes some text, posts it, doesn’t do it often

Tracery.io

generative text by collective probability map for different keywords

Glitch.io

code editor and webhost live updating, forking, remixing allowed

tracery bot example

takes HTTP post/get requests and output tweets using twitter API mad-libs kind of situation

what do the files do?

bot.js starts server witter.js posts to twitter tracery.js builds tweet also, tracery config

corpora

github.com/dariusk/corpora lots of random shit enumerated into a giant dataset

corpora twitter bot

took the tracery code out, put the corpora code in daily_tarot_bot

Why a server?

Free hosting! But your instance sleeps if it hasn’t been active in 5 minutes So you can’t use a cron

solution: use an external service to ake up instance and tweet

uptimerobot.com

getting help

you can highlight lines to ask what things mean

Making bots for good

don’t post too often you’re responsible for the content your bot posts don’t @ people (unless they follow the bot)

Procjam Nov 3-12

Visual recognition - Prince

Dev at clarif.ai @maxcell

pug me - slack bot to send random pug images

artificial intelligence

CNN - convolutional layer model based on convolving image subsets and outputs confidence scores

clarifai API:

pre-trained search build your own model

visual search

glitch bot for slack image lookup

Video bots - Brian

@lanewinfield

@thissummerbot

To be continued bot

@continuedbot

@freezeframebot

where is the sound bite from? on fiver, lmao

how to do it?

pytube - import youtube but pytube can’t search, so use beautifulsoup4 moviepy

ffmpeg-> numpy,scipy, PiL -> ffmpeg random yt video + the meme -> automatically edited, moviepy -> twitter video -> frame commercial -> audio clips (song, scratch, voice-over) @robotpornaddict azure computer vision google tts + moviepy

moviepy

pytube

freezeframebot

https://github.com/lanewinfield/freezeframebot

Poncho.is - Greg Leuch

Poncho - in the push messaging layer

started as a daily email & sms service then apps: alarm clock, weather + commute proprietary tech: poncho brain mostly editors, not developers preview window to mock up content before it goes live post conversations to slack to observe

analyze user conversations:

diagram user paths through poncho’s content trees helps to understand how users interact with the bot

schedule content

broadcast or send content as a follow-on to daily weather forecasts

who is poncho?

define character bible

stats

60% 7-day user retention 8 months after launch

how we became popular

personal notification secret sauce: emotionl connection designing through a characer visual design heavily used to support poncho’s character and content strategy

relate with your users

inauguration therapy engagement 100% increases in message exchanges be real and respectful leverage platform features to improve your ability to reach audience

good conversational design:

be corrective be predictable be fresh

what is your goal?

conversational interfaces can come from many forms you don’t need to start with ML/Ai/NLP don’t be afraid to experiment

chat is more than text

find a good balance of visual and text

your competition

stay at the top of the feed

where to start

rundexter.com botmakers.org howdy’s botkit rivescript

where next?

workplace voice devices virtual influencer poncho everywhere (comics, horoscopes, partnerships) @ponchoIRL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment