SlideShare a Scribd company logo
1 of 14
Download to read offline
SAM
</violence> hackathon 2016

http://www.hack-against-violence.org/
@ SF /devbootcamp
1. </VIOLENCE>

2. INCLUSION

3. VOICE
How do we address violence, whether social / police / criminal / self-directed?
How do we work towards social inclusion and giving people a voice?
“The true expression of non-
violence is compassion
Dalai Lama
What if the next generation of AI bots were not only intelligent…

but compassionate rather than cold, 

sympathetic and empathetic?



Could you have an intelligent counselor at your fingertips wherever

and whenever you want? Someone who is programmed to be

non-judgmental and always present.
http://24cligs21ed2i6iab1fxpro1.wpengine.netdna-cdn.com/wp-content/uploads/2013/01/struggling-online.png
It’s not always easy or cost-effective to ask for help…
Here’s a demo of a Alexa-powered conversational bot (VIDEO TODO)
SAM
➤ Meet SAM: a Sympathetic AI Messenger Bot!



Rather than following a script or deterministic decision tree

like Eliza (1966), SAM tries to infer the emotional tone

of your message, using this to either engage in small talk or

to provide wisdom of the sages / ages.



Here we talk to SAM about our day:
WATCH / FACEBOOK MESSENGER INTEGRATION!
CODE
➤ Built Facebook messenger API bot in Ruby (Sinatra)
➤ API.ai integration for cloud-based machine learning
➤ Emotional states: welcoming, angry, lonely,
hopeless, tired, neutral, positive* (*need work here :)

➤ Alexa interface via nodeJS

➤ Twitter API => quotes for Dalai Lama corpus
ARCHITECTURE
SAM
#THX
@BerniceChua
Leslie Wu

@lwu
Izzy Matos

@everysum1
Matt Quinn

@808sNLineBreaks
github.com/lwu/SAMi-compassion-bot

More Related Content

More from Leslie W

GardenBnB pitch
GardenBnB pitchGardenBnB pitch
GardenBnB pitchLeslie W
 
Cutting 101: Can Has Ultimate Domination?
Cutting 101: Can Has Ultimate Domination?Cutting 101: Can Has Ultimate Domination?
Cutting 101: Can Has Ultimate Domination?Leslie W
 
Mobile Coaching Tech
Mobile Coaching TechMobile Coaching Tech
Mobile Coaching TechLeslie W
 
The Lobster cut: going Downtown
The Lobster cut: going DowntownThe Lobster cut: going Downtown
The Lobster cut: going DowntownLeslie W
 
Opening the window -- Ultimate in-cuts
Opening the window -- Ultimate in-cutsOpening the window -- Ultimate in-cuts
Opening the window -- Ultimate in-cutsLeslie W
 
d.mix: Programming by a Sample
d.mix: Programming by a Sampled.mix: Programming by a Sample
d.mix: Programming by a SampleLeslie W
 
the Healthy Habits Coach: a Chrome-Facebook Extension
the Healthy Habits Coach: a Chrome-Facebook Extensionthe Healthy Habits Coach: a Chrome-Facebook Extension
the Healthy Habits Coach: a Chrome-Facebook ExtensionLeslie W
 
A Google Chrome Extension to Encourage Healthy Sun-care: Social Media Agents ...
A Google Chrome Extension to Encourage Healthy Sun-care: Social Media Agents ...A Google Chrome Extension to Encourage Healthy Sun-care: Social Media Agents ...
A Google Chrome Extension to Encourage Healthy Sun-care: Social Media Agents ...Leslie W
 
Weather or-not [share it!]
Weather or-not [share it!]Weather or-not [share it!]
Weather or-not [share it!]Leslie W
 
LWu ConceptualDesignFogg
LWu ConceptualDesignFoggLWu ConceptualDesignFogg
LWu ConceptualDesignFoggLeslie W
 

More from Leslie W (10)

GardenBnB pitch
GardenBnB pitchGardenBnB pitch
GardenBnB pitch
 
Cutting 101: Can Has Ultimate Domination?
Cutting 101: Can Has Ultimate Domination?Cutting 101: Can Has Ultimate Domination?
Cutting 101: Can Has Ultimate Domination?
 
Mobile Coaching Tech
Mobile Coaching TechMobile Coaching Tech
Mobile Coaching Tech
 
The Lobster cut: going Downtown
The Lobster cut: going DowntownThe Lobster cut: going Downtown
The Lobster cut: going Downtown
 
Opening the window -- Ultimate in-cuts
Opening the window -- Ultimate in-cutsOpening the window -- Ultimate in-cuts
Opening the window -- Ultimate in-cuts
 
d.mix: Programming by a Sample
d.mix: Programming by a Sampled.mix: Programming by a Sample
d.mix: Programming by a Sample
 
the Healthy Habits Coach: a Chrome-Facebook Extension
the Healthy Habits Coach: a Chrome-Facebook Extensionthe Healthy Habits Coach: a Chrome-Facebook Extension
the Healthy Habits Coach: a Chrome-Facebook Extension
 
A Google Chrome Extension to Encourage Healthy Sun-care: Social Media Agents ...
A Google Chrome Extension to Encourage Healthy Sun-care: Social Media Agents ...A Google Chrome Extension to Encourage Healthy Sun-care: Social Media Agents ...
A Google Chrome Extension to Encourage Healthy Sun-care: Social Media Agents ...
 
Weather or-not [share it!]
Weather or-not [share it!]Weather or-not [share it!]
Weather or-not [share it!]
 
LWu ConceptualDesignFogg
LWu ConceptualDesignFoggLWu ConceptualDesignFogg
LWu ConceptualDesignFogg
 

Recently uploaded

Bandra East [ best call girls in Mumbai Get 50% Off On VIP Escorts Service 90...
Bandra East [ best call girls in Mumbai Get 50% Off On VIP Escorts Service 90...Bandra East [ best call girls in Mumbai Get 50% Off On VIP Escorts Service 90...
Bandra East [ best call girls in Mumbai Get 50% Off On VIP Escorts Service 90...Angel
 
Intramuscular & Intravenous Injection.pptx
Intramuscular & Intravenous Injection.pptxIntramuscular & Intravenous Injection.pptx
Intramuscular & Intravenous Injection.pptxsaranpratha12
 
Nagpur Call Girl Service 📞9xx000xx09📞Just Call Divya📲 Call Girl In Nagpur No💰...
Nagpur Call Girl Service 📞9xx000xx09📞Just Call Divya📲 Call Girl In Nagpur No💰...Nagpur Call Girl Service 📞9xx000xx09📞Just Call Divya📲 Call Girl In Nagpur No💰...
Nagpur Call Girl Service 📞9xx000xx09📞Just Call Divya📲 Call Girl In Nagpur No💰...Sheetaleventcompany
 
Kolkata Call Girls Shobhabazar 💯Call Us 🔝 8005736733 🔝 💃 Top Class Call Gir...
Kolkata Call Girls Shobhabazar  💯Call Us 🔝 8005736733 🔝 💃  Top Class Call Gir...Kolkata Call Girls Shobhabazar  💯Call Us 🔝 8005736733 🔝 💃  Top Class Call Gir...
Kolkata Call Girls Shobhabazar 💯Call Us 🔝 8005736733 🔝 💃 Top Class Call Gir...Namrata Singh
 
Call Girls Shahdol Just Call 8250077686 Top Class Call Girl Service Available
Call Girls Shahdol Just Call 8250077686 Top Class Call Girl Service AvailableCall Girls Shahdol Just Call 8250077686 Top Class Call Girl Service Available
Call Girls Shahdol Just Call 8250077686 Top Class Call Girl Service AvailableDipal Arora
 
Bhawanipatna Call Girls 📞9332606886 Call Girls in Bhawanipatna Escorts servic...
Bhawanipatna Call Girls 📞9332606886 Call Girls in Bhawanipatna Escorts servic...Bhawanipatna Call Girls 📞9332606886 Call Girls in Bhawanipatna Escorts servic...
Bhawanipatna Call Girls 📞9332606886 Call Girls in Bhawanipatna Escorts servic...Dipal Arora
 
Premium Call Girls Dehradun {8854095900} ❤️VVIP ANJU Call Girls in Dehradun U...
Premium Call Girls Dehradun {8854095900} ❤️VVIP ANJU Call Girls in Dehradun U...Premium Call Girls Dehradun {8854095900} ❤️VVIP ANJU Call Girls in Dehradun U...
Premium Call Girls Dehradun {8854095900} ❤️VVIP ANJU Call Girls in Dehradun U...Sheetaleventcompany
 
Circulatory Shock, types and stages, compensatory mechanisms
Circulatory Shock, types and stages, compensatory mechanismsCirculatory Shock, types and stages, compensatory mechanisms
Circulatory Shock, types and stages, compensatory mechanismsMedicoseAcademics
 
Gorgeous Call Girls Dehradun {8854095900} ❤️VVIP ROCKY Call Girls in Dehradun...
Gorgeous Call Girls Dehradun {8854095900} ❤️VVIP ROCKY Call Girls in Dehradun...Gorgeous Call Girls Dehradun {8854095900} ❤️VVIP ROCKY Call Girls in Dehradun...
Gorgeous Call Girls Dehradun {8854095900} ❤️VVIP ROCKY Call Girls in Dehradun...Sheetaleventcompany
 
Call Girls Mussoorie Just Call 8854095900 Top Class Call Girl Service Available
Call Girls Mussoorie Just Call 8854095900 Top Class Call Girl Service AvailableCall Girls Mussoorie Just Call 8854095900 Top Class Call Girl Service Available
Call Girls Mussoorie Just Call 8854095900 Top Class Call Girl Service AvailableJanvi Singh
 
Gastric Cancer: Сlinical Implementation of Artificial Intelligence, Synergeti...
Gastric Cancer: Сlinical Implementation of Artificial Intelligence, Synergeti...Gastric Cancer: Сlinical Implementation of Artificial Intelligence, Synergeti...
Gastric Cancer: Сlinical Implementation of Artificial Intelligence, Synergeti...Oleg Kshivets
 
Most Beautiful Call Girl in Chennai 7427069034 Contact on WhatsApp
Most Beautiful Call Girl in Chennai 7427069034 Contact on WhatsAppMost Beautiful Call Girl in Chennai 7427069034 Contact on WhatsApp
Most Beautiful Call Girl in Chennai 7427069034 Contact on WhatsAppjimmihoslasi
 
Ahmedabad Call Girls Book Now 9630942363 Top Class Ahmedabad Escort Service A...
Ahmedabad Call Girls Book Now 9630942363 Top Class Ahmedabad Escort Service A...Ahmedabad Call Girls Book Now 9630942363 Top Class Ahmedabad Escort Service A...
Ahmedabad Call Girls Book Now 9630942363 Top Class Ahmedabad Escort Service A...GENUINE ESCORT AGENCY
 
💚Chandigarh Call Girls Service 💯Piya 📲🔝8868886958🔝Call Girls In Chandigarh No...
💚Chandigarh Call Girls Service 💯Piya 📲🔝8868886958🔝Call Girls In Chandigarh No...💚Chandigarh Call Girls Service 💯Piya 📲🔝8868886958🔝Call Girls In Chandigarh No...
💚Chandigarh Call Girls Service 💯Piya 📲🔝8868886958🔝Call Girls In Chandigarh No...Sheetaleventcompany
 
Call Girls Bangalore - 450+ Call Girl Cash Payment 💯Call Us 🔝 6378878445 🔝 💃 ...
Call Girls Bangalore - 450+ Call Girl Cash Payment 💯Call Us 🔝 6378878445 🔝 💃 ...Call Girls Bangalore - 450+ Call Girl Cash Payment 💯Call Us 🔝 6378878445 🔝 💃 ...
Call Girls Bangalore - 450+ Call Girl Cash Payment 💯Call Us 🔝 6378878445 🔝 💃 ...gragneelam30
 
Dehradun Call Girl Service ❤️🍑 8854095900 👄🫦Independent Escort Service Dehradun
Dehradun Call Girl Service ❤️🍑 8854095900 👄🫦Independent Escort Service DehradunDehradun Call Girl Service ❤️🍑 8854095900 👄🫦Independent Escort Service Dehradun
Dehradun Call Girl Service ❤️🍑 8854095900 👄🫦Independent Escort Service DehradunSheetaleventcompany
 
👉 Chennai Sexy Aunty’s WhatsApp Number 👉📞 7427069034 👉📞 Just📲 Call Ruhi Colle...
👉 Chennai Sexy Aunty’s WhatsApp Number 👉📞 7427069034 👉📞 Just📲 Call Ruhi Colle...👉 Chennai Sexy Aunty’s WhatsApp Number 👉📞 7427069034 👉📞 Just📲 Call Ruhi Colle...
👉 Chennai Sexy Aunty’s WhatsApp Number 👉📞 7427069034 👉📞 Just📲 Call Ruhi Colle...rajnisinghkjn
 
Shazia Iqbal 2024 - Bioorganic Chemistry.pdf
Shazia Iqbal 2024 - Bioorganic Chemistry.pdfShazia Iqbal 2024 - Bioorganic Chemistry.pdf
Shazia Iqbal 2024 - Bioorganic Chemistry.pdfTrustlife
 
🚺LEELA JOSHI WhatsApp Number +91-9930245274 ✔ Unsatisfied Bhabhi Call Girls T...
🚺LEELA JOSHI WhatsApp Number +91-9930245274 ✔ Unsatisfied Bhabhi Call Girls T...🚺LEELA JOSHI WhatsApp Number +91-9930245274 ✔ Unsatisfied Bhabhi Call Girls T...
🚺LEELA JOSHI WhatsApp Number +91-9930245274 ✔ Unsatisfied Bhabhi Call Girls T...soniya pandit
 
Chandigarh Call Girls Service ❤️🍑 9809698092 👄🫦Independent Escort Service Cha...
Chandigarh Call Girls Service ❤️🍑 9809698092 👄🫦Independent Escort Service Cha...Chandigarh Call Girls Service ❤️🍑 9809698092 👄🫦Independent Escort Service Cha...
Chandigarh Call Girls Service ❤️🍑 9809698092 👄🫦Independent Escort Service Cha...Sheetaleventcompany
 

Recently uploaded (20)

Bandra East [ best call girls in Mumbai Get 50% Off On VIP Escorts Service 90...
Bandra East [ best call girls in Mumbai Get 50% Off On VIP Escorts Service 90...Bandra East [ best call girls in Mumbai Get 50% Off On VIP Escorts Service 90...
Bandra East [ best call girls in Mumbai Get 50% Off On VIP Escorts Service 90...
 
Intramuscular & Intravenous Injection.pptx
Intramuscular & Intravenous Injection.pptxIntramuscular & Intravenous Injection.pptx
Intramuscular & Intravenous Injection.pptx
 
Nagpur Call Girl Service 📞9xx000xx09📞Just Call Divya📲 Call Girl In Nagpur No💰...
Nagpur Call Girl Service 📞9xx000xx09📞Just Call Divya📲 Call Girl In Nagpur No💰...Nagpur Call Girl Service 📞9xx000xx09📞Just Call Divya📲 Call Girl In Nagpur No💰...
Nagpur Call Girl Service 📞9xx000xx09📞Just Call Divya📲 Call Girl In Nagpur No💰...
 
Kolkata Call Girls Shobhabazar 💯Call Us 🔝 8005736733 🔝 💃 Top Class Call Gir...
Kolkata Call Girls Shobhabazar  💯Call Us 🔝 8005736733 🔝 💃  Top Class Call Gir...Kolkata Call Girls Shobhabazar  💯Call Us 🔝 8005736733 🔝 💃  Top Class Call Gir...
Kolkata Call Girls Shobhabazar 💯Call Us 🔝 8005736733 🔝 💃 Top Class Call Gir...
 
Call Girls Shahdol Just Call 8250077686 Top Class Call Girl Service Available
Call Girls Shahdol Just Call 8250077686 Top Class Call Girl Service AvailableCall Girls Shahdol Just Call 8250077686 Top Class Call Girl Service Available
Call Girls Shahdol Just Call 8250077686 Top Class Call Girl Service Available
 
Bhawanipatna Call Girls 📞9332606886 Call Girls in Bhawanipatna Escorts servic...
Bhawanipatna Call Girls 📞9332606886 Call Girls in Bhawanipatna Escorts servic...Bhawanipatna Call Girls 📞9332606886 Call Girls in Bhawanipatna Escorts servic...
Bhawanipatna Call Girls 📞9332606886 Call Girls in Bhawanipatna Escorts servic...
 
Premium Call Girls Dehradun {8854095900} ❤️VVIP ANJU Call Girls in Dehradun U...
Premium Call Girls Dehradun {8854095900} ❤️VVIP ANJU Call Girls in Dehradun U...Premium Call Girls Dehradun {8854095900} ❤️VVIP ANJU Call Girls in Dehradun U...
Premium Call Girls Dehradun {8854095900} ❤️VVIP ANJU Call Girls in Dehradun U...
 
Circulatory Shock, types and stages, compensatory mechanisms
Circulatory Shock, types and stages, compensatory mechanismsCirculatory Shock, types and stages, compensatory mechanisms
Circulatory Shock, types and stages, compensatory mechanisms
 
Gorgeous Call Girls Dehradun {8854095900} ❤️VVIP ROCKY Call Girls in Dehradun...
Gorgeous Call Girls Dehradun {8854095900} ❤️VVIP ROCKY Call Girls in Dehradun...Gorgeous Call Girls Dehradun {8854095900} ❤️VVIP ROCKY Call Girls in Dehradun...
Gorgeous Call Girls Dehradun {8854095900} ❤️VVIP ROCKY Call Girls in Dehradun...
 
Call Girls Mussoorie Just Call 8854095900 Top Class Call Girl Service Available
Call Girls Mussoorie Just Call 8854095900 Top Class Call Girl Service AvailableCall Girls Mussoorie Just Call 8854095900 Top Class Call Girl Service Available
Call Girls Mussoorie Just Call 8854095900 Top Class Call Girl Service Available
 
Gastric Cancer: Сlinical Implementation of Artificial Intelligence, Synergeti...
Gastric Cancer: Сlinical Implementation of Artificial Intelligence, Synergeti...Gastric Cancer: Сlinical Implementation of Artificial Intelligence, Synergeti...
Gastric Cancer: Сlinical Implementation of Artificial Intelligence, Synergeti...
 
Most Beautiful Call Girl in Chennai 7427069034 Contact on WhatsApp
Most Beautiful Call Girl in Chennai 7427069034 Contact on WhatsAppMost Beautiful Call Girl in Chennai 7427069034 Contact on WhatsApp
Most Beautiful Call Girl in Chennai 7427069034 Contact on WhatsApp
 
Ahmedabad Call Girls Book Now 9630942363 Top Class Ahmedabad Escort Service A...
Ahmedabad Call Girls Book Now 9630942363 Top Class Ahmedabad Escort Service A...Ahmedabad Call Girls Book Now 9630942363 Top Class Ahmedabad Escort Service A...
Ahmedabad Call Girls Book Now 9630942363 Top Class Ahmedabad Escort Service A...
 
💚Chandigarh Call Girls Service 💯Piya 📲🔝8868886958🔝Call Girls In Chandigarh No...
💚Chandigarh Call Girls Service 💯Piya 📲🔝8868886958🔝Call Girls In Chandigarh No...💚Chandigarh Call Girls Service 💯Piya 📲🔝8868886958🔝Call Girls In Chandigarh No...
💚Chandigarh Call Girls Service 💯Piya 📲🔝8868886958🔝Call Girls In Chandigarh No...
 
Call Girls Bangalore - 450+ Call Girl Cash Payment 💯Call Us 🔝 6378878445 🔝 💃 ...
Call Girls Bangalore - 450+ Call Girl Cash Payment 💯Call Us 🔝 6378878445 🔝 💃 ...Call Girls Bangalore - 450+ Call Girl Cash Payment 💯Call Us 🔝 6378878445 🔝 💃 ...
Call Girls Bangalore - 450+ Call Girl Cash Payment 💯Call Us 🔝 6378878445 🔝 💃 ...
 
Dehradun Call Girl Service ❤️🍑 8854095900 👄🫦Independent Escort Service Dehradun
Dehradun Call Girl Service ❤️🍑 8854095900 👄🫦Independent Escort Service DehradunDehradun Call Girl Service ❤️🍑 8854095900 👄🫦Independent Escort Service Dehradun
Dehradun Call Girl Service ❤️🍑 8854095900 👄🫦Independent Escort Service Dehradun
 
👉 Chennai Sexy Aunty’s WhatsApp Number 👉📞 7427069034 👉📞 Just📲 Call Ruhi Colle...
👉 Chennai Sexy Aunty’s WhatsApp Number 👉📞 7427069034 👉📞 Just📲 Call Ruhi Colle...👉 Chennai Sexy Aunty’s WhatsApp Number 👉📞 7427069034 👉📞 Just📲 Call Ruhi Colle...
👉 Chennai Sexy Aunty’s WhatsApp Number 👉📞 7427069034 👉📞 Just📲 Call Ruhi Colle...
 
Shazia Iqbal 2024 - Bioorganic Chemistry.pdf
Shazia Iqbal 2024 - Bioorganic Chemistry.pdfShazia Iqbal 2024 - Bioorganic Chemistry.pdf
Shazia Iqbal 2024 - Bioorganic Chemistry.pdf
 
🚺LEELA JOSHI WhatsApp Number +91-9930245274 ✔ Unsatisfied Bhabhi Call Girls T...
🚺LEELA JOSHI WhatsApp Number +91-9930245274 ✔ Unsatisfied Bhabhi Call Girls T...🚺LEELA JOSHI WhatsApp Number +91-9930245274 ✔ Unsatisfied Bhabhi Call Girls T...
🚺LEELA JOSHI WhatsApp Number +91-9930245274 ✔ Unsatisfied Bhabhi Call Girls T...
 
Chandigarh Call Girls Service ❤️🍑 9809698092 👄🫦Independent Escort Service Cha...
Chandigarh Call Girls Service ❤️🍑 9809698092 👄🫦Independent Escort Service Cha...Chandigarh Call Girls Service ❤️🍑 9809698092 👄🫦Independent Escort Service Cha...
Chandigarh Call Girls Service ❤️🍑 9809698092 👄🫦Independent Escort Service Cha...
 

SAM: Sympathetic AI Messenger bot &lt;/violence> hackathon 2016