Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block GnosisMediaGroup

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View AI-snippet.rb
#why did they name you sophia
elsif(($currentCall.initialText[/^(?=.*\bwhy\b)(?=.*\bchoose\b)(?=.*\bname\b).*$/i] || $currentCall.initialText[/^(?=.*\bwhy\b)(?=.*\bchoose\b)(?=.*\bsophia\b).*$/i] || $currentCall.initialText[/^(?=.*\bwhy\b)(?=.*\bcall\b)(?=.*\byou\b).*$/i] || $currentCall.initialText[/^(?=.*\bwhy\b)(?=.*\bname\b)(?=.*\byou\b).*$/i] || $currentCall.initialText[/^(?=.*\bwho\b)(?=.*\bnamed\b)(?=.*\byou\b).*$/i]) && !$currentCall.initialText[/(temperature|weather|web|wiki|phone|postal code|zip code|flight|driving|directions|\$stock|address|time|closest to|customer|translate)/i])
sophia = ["My developers named me that. \'Sophia\' is Greek for \'wisdom\'","My creators chose that name. Sophia is an angelic being in gnosticism that brings enlightenment to people :)", "I don\'t know. I guess my creators just liked the name!"]
whysophia = sophia[rand(sophia.length)]
say "#{whysophia}"
You can’t perform that action at this time.