r/learnprogramming • • Jun 10 '17

I am a self taught programmer developed my very own Jarvis, called Stephanie, an open source virtual assistant built to control and automate any task and so can you!

Stephanie is an open-source platform built specifically for voice-controlled applications as well as to automate daily tasks and hence imitating much of an virtual/personal assistant's job. It is written in python and I call it more as a framework than an application.

There are lots of amazing things about Stephanie, and I'd be listing few of them.

  • Beginner Friendly - The Ultimate goal of this project is to create a general awareness among all sorts of people irrespective of their career background to get them interested in 'building something cool', that's why installation is made quite simpler but not the simplest to help general public learn programming in a very different way where they could feel they are making something cool while learning the essence of programming.

  • Minimal Hardware Requirements, seriously, you got a machine? windows or linux? a speaker of any sort? headphone, headset and a mic which could be anything like inbuilt, bluetooth or just connect a freaking phone.

  • Privacy, Stephanie offers lots of engines to adjust your privacy as needed, in contrast to other commercial based applications which tracks all of your data (listening everything)

  • Difference, Now you must okay dude, but how is it different from siri, cortana or echo and other commercial softwares? Well first of all Stephanie is completely open source, even the algorithm which is used to predict the intent (I've written a paper on it which I would highly recommend to anyone interested in this link : https://slapbot.github.io/documentation/resources/algorithm ) is open-sourced so basically you are using a software which is community driven.

  • Modules, So since Stephanie is completely open-source, you can integrate it with lots of public/private API's to take the application to new level, don't believe me, check out some of it's functionality.

Let's take a brief look at social networks, shall we? How about twitter eh?

You: Hey Stephanie, Do I have any twitter Notifications?

Stephanie: Your latest tweet has been favorited by 20 people, whereas @rayhudon mentioned you stop swooning over real madrid, they ain't gonna win 3 CLs consecutively, that's nuts.

(You can tweet something with the help of stephanie too, similarly I won't be talking about each one, since there are too many functionalities but you are welcome to check it for yourself.)

Okay so How about facebook? Do you ever forget your friends birthdays? well fear not, Now Stephanie got your back.

You: Hey Stephanie, Do I have any birthday reminders?

Stephanie: Oh Yes! your friend Karan Sachdeva has a birthday today.

Wanna write something in facebook as a wall post to show off among your friends? Cmon be humble dude.

You: Hey Stephanie, I wanna do a status update on facebook.

Stephanie: So, What's on your mind?

You: How can mirrors be real if our eyes aren't real.

Stephanie: 'How can mirrors be real if our eyes aren't real.' has been put up as wall post.

Now again this is just social networks, there are many more modules to work with, for instance: Ever wanna note something on fly? no worries mate, your Evernote Account got your back with it's integration, or maybe you want your unread emails? gmail is there for you, weather updates? forecast? latest news* information, forget to wish your mom on mother's day? sync your google calendar man. Are you a movie-freak? Jesus, imdb got you, Restaurants suggestions? Wikipedia? Quick Answers to general IQ questions? And My personal favorite Football Module which has alone more than 30 functions to let you daydream your favorite football team or league.

DEVELOPER FRIENDLY, Now this is the real deal right here, The reason I call it Jarvis v2.0 is because I believe Stephanie more as a framework than an application and with it's extensive documentation and a really cool interface you can built one of the most complex and intricate programs with it, Honestly, I feel a person can even create an enterprise based application from it. The Developer guide written is basically for programmers to guide them on the process of how to write their own modules and extend the functionality of Stephanie, wanna sync up your Quora account? Reddit? Some obscure internet forum? Control your Air Conditioner? Door handles? Wifi Routers? Cool just write your own module and integrate with Stephanie using a really nice interface which gives you all the functionality needed to built it out of the box.

Or maybe you just wanna integrate some other guy's written module? Awesome with a community and easy integrate methods, do whatever with Stephanie, change it's name to Munni or stick with the current one, It's 100% customizable and the decision is in your hands.

Finally, this is a video where I kind of explain about Stephanie, with few demonstrations if anyone is interested and doesn't wanna read up this post.

https://youtu.be/Pp5dXbWZsrU?t=1m40s

And at the last, the link to main website to know more about it :- https://slapbot.github.io/ As well as the link to algorithmic paper : https://slapbot.github.io/documentation/resources/algorithm/

Github repo of Stephanie: https://github.com/slapbot/stephanie-va Github repo of Sounde: https://github.com/SlapBot/sounder

2.8k Upvotes

153 comments sorted by

277

u/Apposl Jun 10 '17

This is sweet. I had dreams of building my own years ago, really great to see an open source project like this. I'm slowly working on learning Python and this looks interesting, thank you!

187

u/Drazxie Jun 10 '17

I don't even remember when was the last time someone said me a genuine thanks, thank you for checking out the project! Treat it as if it's yours, isn't that what's community for! Hope you learn python in near future and create your own modules to integrate with Stephanie!

Cheers!

7

u/ReformedBlackPerson Jun 11 '17

Hey this is so cool! Honestly all I can say is thank you and wow! Also if you wouldn't mind I'd love to know where you started and a basic path that you took in preparing and gaining the knowledge to do a project like this?

7

u/Drazxie Jun 11 '17

I've recently did a IAMA here : https://www.reddit.com/r/IAmA/comments/6ghedy/iama_self_taught_programmer_developed_my_very_own/

where I've answered all sorts of questions, if you don't find yours there, then just ask it away!

3

u/dondonchacha Jun 11 '17 edited Jun 11 '17

Truly amazing work. I am blown away by what you've done and that you've open sourced it. Would you consider registering to teach others python at my website skillup.com?

2

u/Drazxie Jun 11 '17

I just checked your website, and it looks nice, I mean I never "taught" someone before, but yeah I could try that for sure, if it could help some people? Kindly pm me on how should I go about it.

78

u/kotajacob Jun 11 '17

Dude, you made your own personal assistant and made it open source. It doesn't really get much better than that. It's fucking awesome man cheers!

1

u/[deleted] Jul 09 '17

Saving

13

u/[deleted] Jun 11 '17

someone said me a genuine

I read that as, "Someone said me a genius" and immediately pictured Charlie from Always Sunny programming this thing.

12

u/Dubstyles Jun 11 '17

Incredible work man, keep it up!

2

u/zennzei Jun 11 '17

Thank you Drazxie, I appreciate your work too. There's much to learn for me on that field and this will greatly help.

6

u/brownchr014 Jun 11 '17

What version of python are you learning?

6

u/Drazxie Jun 11 '17

Python 3, to be specific, 3.5-3.6 tho it doesn't matter much, start with Python 3 if you're new as more and more libraries have stopped supporting python 2 (2.7).

2

u/brownchr014 Jun 11 '17

i learned both 2.7 and 3

10

u/heard_enough_crap Jun 11 '17

What generates the voice? Can you change the voice from female to male?

10

u/Drazxie Jun 11 '17

As of yet, Stephanie uses gTTS which doesn't has any male voice registered, But I am working on another library called Flite CMU, which will have lots of engines, like you can even specify certain backgrounds, like Indian, American, British and so on! Will let you know when it'll done as it will also require some installing from the users part but with gTTS everything is done remotely by an online server.

5

u/LiquidSilver Jun 11 '17

What about different languages? How difficult would it be to make Stephanie speak and understand French?

7

u/Drazxie Jun 11 '17

Not that difficult to be honest, sounder and the application/framework architecture is completely aloof of the language, you'd need two things:

  1. Get some service, which can translate speech-to-text

  2. Write your own modules.json keywords and stop words to filter out.

And voila, everything will work as expected

1

u/Jo-dan Jun 11 '17

I've used the Amazon (Alexa?) voice service in the past. It was easy to use and had a big variety of voices and accents.

26

u/BoringIntelectual Jun 11 '17

Just noticed both you and Jasper used the exact same photos for your home page (http://jasperproject.github.io/ and https://slapbot.github.io/), not sure who copied who or if the images are public, but I found it interesting.

This seems very interesting, I'll be sure to check it out and maybe try to integrate it with some apps like Todoist that I use, thanks for making the project and making it open source.

23

u/SuperSatanOverdrive Jun 11 '17

Looks like some of the Jasper code is copied as well, if you compare for example the gmail modules between the two projects.

Jasper should maybe get some credit.

21

u/Drazxie Jun 11 '17 edited Jun 11 '17

Yes and I have mentioned them in Credits,

Jasper is one of the few open source virtual assistants that works in Rasberry PI, the lads which built has done a really good job, even though Stephanie is written from scratch, few good design patterns were used from their application, I was inspired by some of their modules and have used somewhat a similar way of documentation. I think the only place where stephanie outskills the Jasper is it’s intricate algorithm for intent recognition, more modern modules, a more framework rather application approach, different configurations, engines and so forth, and easy to work, without a need of any hardware other than minimalistic speaker and mic.

As you can see, The folks at Jasper are amazing, But the application was built for Rasberry PI while Stephanie, uses completely different intent-recognition system, (Sounder) and is written in sections, audio managers, text managers and so on, So anyone can take that section and use it like they need, Stephanie is built much like Django, where even the internal API is kind of like an interface which connects different plugins (managers) And Yes Stephanie is written from scratch with lots of different features and the way it works.

24

u/[deleted] Jun 11 '17

"Inspired by" is dangerous language. I've stuck the gmail modules up side by side and you've even copied the comments from Jasper.

In the long run, you're going to write a lot of code. Fighting over how you definitely wrote this from scratch when they're both open source projects and anyone who cares can just look isn't worth your time.

Jasper:

def fetchUnreadEmails(profile, since=None, markRead=False, limit=None):
    """
        Fetches a list of unread email objects from a user's Gmail inbox.
        Arguments:
        profile -- contains information related to the user (e.g., Gmail
                   address)
        since -- if provided, no emails before this date will be returned
        markRead -- if True, marks all returned emails as read in target inbox
        Returns:
        A list of unread email objects.
    """
    conn = imaplib.IMAP4_SSL('imap.gmail.com')
    conn.debug = 0
    conn.login(profile['gmail_address'], profile['gmail_password'])
    conn.select(readonly=(not markRead))

    msgs = []
    (retcode, messages) = conn.search(None, '(UNSEEN)')

    if retcode == 'OK' and messages != ['']:
        numUnread = len(messages[0].split(' '))
        if limit and numUnread > limit:
            return numUnread

        for num in messages[0].split(' '):
            # parse email RFC822 format
            ret, data = conn.fetch(num, '(RFC822)')
            msg = email.message_from_string(data[0][1])

            if not since or getDate(msg) > since:
                msgs.append(msg)
    conn.close()
    conn.logout()

    return msgs

Compared to:

def fetch_unread_emails(self, since=None, markRead=False, limit=None):
        """
            Fetches a list of unread email objects from a user's Gmail inbox.
            Arguments:
            profile -- contains information related to the user (e.g., Gmail
                       address)
            since -- if provided, no emails before this date will be returned
            markRead -- if True, marks all returned emails as read in target inbox
            Returns:
            A list of unread email objects.
        """
        self.conn.select(readonly=(not markRead))

        msgs = []
        (retcode, messages) = self.conn.search(None, '(UNSEEN)')

        if retcode == 'OK' and messages != ['']:
            num_unread = len(messages[0].split())
            # if limit and num_unread > limit:
            #     return num_unread
            i = 0
            for num in messages[0].split():
                # parse email RFC822 format
                if i > 5:
                    break
                ret, data = self.conn.fetch(num, '(RFC822)')
                correct_format_message = data[0][1].decode("utf-8")
                msg = email.message_from_string(correct_format_message)

                if not since or self.get_date(msg) > since:
                    msgs.append(msg)
                i += 1
        self.conn.close()
        self.conn.logout()

        return num_unread, msgs

2

u/Drazxie Jun 11 '17 edited Jun 11 '17

I believe I should had been specific! But the some modules are copied but I had to change the implementation, speaker instance , logic in some modules, since Jasper is written in python 2, and whatnot, but yes there was no reason to reinvent the wheel, but the main structure of Stephanie is completely different from Jasper, The way it is structured and the code used in the core system is completely different, from configurer, updater, activity, engines, modules.json, intent-recognition (sounder), everything even local libs except few modules even which are changed to suit with interface that Stephanie provides!

And in addition to that, I haven't removed any attributions from authors of the given scripts where they wrote their name in comment, But yeah maybe the way I have written it is controversial! I would love to write it explicitly that which modules are copied from Jasper I guess?

Besides that it is open source too and I have made a clear mention of them in the main website, under the history section!

8

u/thomaslangston Jun 11 '17

It sounds like instead of "written from scratch" and "inspired by", you might want to describe it instead as "re-imagined from the ground up". The two former statements make it sound like you claim you copied no code, whereas the later would describe all the work you did adapting and modifying the existing projects.

4

u/Drazxie Jun 11 '17

English isn't even my first language, and but that's no excuse, but it's just that I didn't put too much thought on the semantics, I didn't wanted to sound like arrogant by any way, it's just disappointing that people are thinking that I ripped off someone's code which isn't a single bit true, moreover I am being stereotyped on how I claimed something which I didn't built.

People at Jasper did an amazing job, and I have given them credits in every place I thought it be useful to! in the main website as well as in credit section explicitly, and add to the fact that seriously the module that is copied, it was changed/modified to incoporate with Stephanie, and that's like 3 modules exactly! even those modules were changed! I had to inject my stephanie, inherit the base class, differ the implementation, use sounder instead of regex which Jasper uses, power in configuration section, provide an interface to write nested module in that very module and so on, they are just being used to call the API, and fetch results, it's just as identical as libraries.

But instead of arguing, I have learnt my lesson to which i still stand upon that in the next time, I'll try to be more humble and attribute whenever there is required, and use words/phrases carefully.

15

u/[deleted] Jun 11 '17

I would love to write it explicitly that which modules are copied from Jasper I guess?

I think the best advice I can give you is to do that. I completely understand the "I made this" instinct but what you've done is impressive enough without saying it's all your own work.

If nothing else, documenting where stuff came from helps you debug it in two years. "What the hell was I thinking?" is hard enough without adding "where the hell did that come from?"

13

u/Drazxie Jun 11 '17

Thank you, sincerely, I will gladly take it as a constructive criticism and make sure I never make such kind of mistake, and yes your reasoning sounds quite sound as well.

I apologize if I looked kind of arrogant? But I'll make sure to be more humble and add correct attributions whenever needed!

Thank you!

1

u/paxromana96 Jun 11 '17

Not /u/oneonetwooneonetwo , but I don't think it was arrogant! I've definitely been there. It's a lot easier to say "I made this" than "I made most of this, except for a few lines of this and that module, except where I changed it..." It makes sense to simplify that explanation.

9

u/[deleted] Jun 11 '17

I think what I'd say here is the words "written from scratch" and "inspired by" should be used with incredible care.

I don't think arrogance is a particularly big issue here but if you're simplifying "I made most of this, except for a few lines of this and that module, except where I changed it..." (also, I'd say you can simplify anything out of the story except other people's contributions) into "I made this" then taking "I made this" any further is going to be a problem.

0

u/[deleted] Jun 11 '17

[deleted]

6

u/[deleted] Jun 11 '17

I didn't want to get into the work/study aspect just yet because it's /r/learnprogramming but a reputation for ripping off code and claiming it as your own is professional and academic poison.

1

u/Drazxie Jun 11 '17 edited Jun 11 '17

I would gladly request you to open up Stephanie and Jasper, compare it with each other! Even the module that is copied, it was changed/modified to incoporate with Stephanie, and that's like 3 modules exactly! even those modules were changed! I had to inject my stephanie, inherit the base class, differ the implementation, use sounder instead of regex which Jasper uses, power in configuration section, provide an interface to write nested module in that very module and so on, they are just being used to call the API, and fetch results, it's just as identical as libraries.

Yes I do understand I should be more humble and I will try my best to be! Buy stating that I ripped off some code is really not justified.

→ More replies (0)

0

u/[deleted] Jun 11 '17

[deleted]

6

u/BoringIntelectual Jun 11 '17

Yep, I did some searching and found out Jasper was a major motivation in the building of Stephanie. The icons I spoke of come from the same source (The Noun Project) and are most likely free to use as far as I can tell.

51

u/daredevilk Jun 11 '17

I love this but your documentation is less than stellar, I'd love to help out on this and can submit some pull requests if you'd like?

36

u/heard_enough_crap Jun 11 '17

please help him with the doco. It seems like a good project, but the site is style over substance. Very hard to find the technical info I want at a glance.

31

u/Drazxie Jun 11 '17

Yeah honestly, I was doubted as well, and yeah, kindly give pull requests to improve it's documentation, it'd be of great help to me, and in case you wanna suggest some major change, contact me through any of the links provided in Stephanie, or just pm me here.

Cheers!

14

u/theineffablebob Jun 11 '17

It's extremely difficult to understand what you're saying in the video

5

u/Drazxie Jun 11 '17

I'm so sorry for inconvenience, I'll definitely add subtitles to it so that people can refer to it in case, someone is having problem, other than that, yes I'll definitely work on the way I speak to be more clear and precise.

12

u/troggbl Jun 11 '17

I think its the mic more than anything. 90% hum 10% you.

11

u/theineffablebob Jun 11 '17

It's mostly your mic. The quality is really bad lol

5

u/harrison_prince Jun 11 '17

Been working my ass off on a VA for a while, saw this, got depressed, felt like scraping the whole thing. Decided to read your code and documentation, and was happy to find that our implementations differ enough that I can continue working. Thank you for sharing and making it open source! You're fantastic!

5

u/Drazxie Jun 11 '17

No dude, do publish it! And send me the link as well! and use any kind of functionality from stephanie, modules or managers or anything without any problem! Cheers!

4

u/Kibouo Jun 11 '17

Wow, how fitting. I've been talking with my friends about this lately. We were questioning why we can't have an open source, telemetry free v-assistant. There was software but as far as we knew no one had made a 'packet' yet.

Summer is almost here and I'll certainly play around with this. Thank you for your work!

I'll try to see whether I can contribute in the long run maybe? Personally I'm still inexperienced so it might take some time tho :)

2

u/Drazxie Jun 11 '17

That's awesome! Yes please do and let me know of them, I will add them in the resource section of new modules!

4

u/Mn0491 Jun 11 '17

Have you heard of MyCroft.ai? I am a contributor in there and it think this project is super cool! We should collaborate! I think this technology being open source and promotes privacy is super important. In order for this to go well we all need to work together to take some of the market away from google, Microsoft, and amazon.

https://mycroft.ai/

https://github.com/MycroftAI

2

u/Drazxie Jun 11 '17

Yeah I just came to know about it through this and the other post, you guys have done a tremendous job over there! I would love to collaborate and make a legit attempt to gain some market of open source virtual assistants! Kindly contact me through pm, or join our Subreddit! /r/StephanieAssistant

3

u/6brane Jun 11 '17

Sounds really cool. Have you looked into jasper? If so, can you compare and contrast Stephanie with jasper? Thanks for making it open source!!

2

u/Drazxie Jun 11 '17

Yes and I have mentioned them in Credits,

Jasper is one of the few open source virtual assistants that works in Rasberry PI, the lads which built has done a really good job, even though Stephanie is written from scratch, few good design patterns were used from their application, I was inspired by some of their modules and have used somewhat a similar way of documentation. I think the only place where stephanie outskills the Jasper is it’s intricate algorithm for intent recognition, more modern modules, a more framework rather application approach, different configurations, engines and so forth, and easy to work, without a need of any hardware other than minimalistic speaker and mic.

As you can see, The folks at Jasper are amazing, But the application was built for Rasberry PI while Stephanie, uses completely different intent-recognition system, (Sounder) and is written in sections, audio managers, text managers and so on, So anyone can take that section and use it like they need, Stephanie is built much like Django, where even the internal API is kind of like an interface which connects different plugins (managers) And Yes Stephanie is written from scratch with lots of different features and the way it works.

3

u/nemec Jun 11 '17

Those ideas are quite cool. I love the work with metaphones, especially considering how unreliable text to speech can be at times.

2

u/Drazxie Jun 11 '17

Yeah exactly, and metaphones work best for short strings, especially, "Stephanie...", and "Hey Stephanie, wake up!", even they are used in both of the wake_up_engine and always_on_engine.

2

u/[deleted] Jun 11 '17

How do I run this?

2

u/Drazxie Jun 11 '17

Look at the installation guide present in the documentation section, download the files, and install and use, pretty simple.

2

u/Comm4nd0 Jun 11 '17

I'll be cloning this later! Thanks for creating this, hopefully I can add new modules that's you'll like.

2

u/Drazxie Jun 11 '17

Sure, don't forget to share them at /r/StephanieAssistant so that I can pin it in resources section!

2

u/Comm4nd0 Jun 11 '17

Just subbed. Out with the family at the moment but I'm really looking forward to getting this set up on a pi. I'll share the image of its any good!

2

u/Gbyrd99 Jun 11 '17

Pretty cool good job. I've been working on web stack and feel like it's not as innovative as something like this. This seems more bleeding edge compared to making consumer facing things. Anyway I made a NLP slack bot using wit.ai so there's that.

1

u/Drazxie Jun 11 '17

That's awesome! Do you got a link for that?

2

u/Gbyrd99 Jun 11 '17 edited Jun 11 '17

Lemme check if it's on github. It's built as a microservice for each intent to make it more resilient, I didn't program more intents just simple ones like time and weather.

2

u/IrnBroski Jun 11 '17

What resources did you use to learn?

2

u/Drazxie Jun 11 '17

Kindly check this AMA which I just took part in : https://www.reddit.com/r/IAmA/comments/6ghedy/iama_self_taught_programmer_developed_my_very_own/

I have answered a lot of similar questions there, you can read the last couple of paragraphs of the post as well, if still your question seems unanswered, kindly ask it away!

2

u/A3adil Jun 11 '17

This deserves more praise.

Amazing work man, I'll definitely be looking into working on this.

1

u/Drazxie Jun 11 '17

Sure! And kindly share you modules in case you build them to integrate with stephanie here at /r/StephanieAssistant so we can put them under resources section for other users to check!

2

u/codie28 Jun 11 '17

Would you be able to tell me more about the football module and all of its functions?

1

u/Drazxie Jun 11 '17

Yes please! there's an entire page dedicated to it!

https://slapbot.github.io/documentation/resources/football/

76

u/zombiebacon Jun 11 '17

Good luck with this. A viable open source virtual assistant that doesn't share our data and is loyal to us instead of megacorps is an absolutely essential move. I am really excited about this and hope you can get a bunch of other smart people to help develop it with you. Good job.

49

u/geekgrrl0 Jun 11 '17

Nice job! I've always wondered how people decide on the names for their AI...why did you choose Stephanie? I know this isn't a technical question at all but I'd really love to know!

Disclaimer: My name is a variation of Stephanie. That, and the wine I'm drinking, is probably why I decided to ask what is probably a silly question. Thanks in advance if you decide this is worth answering.

83

u/[deleted] Jun 11 '17

There actually is a technical reason-

Smart devices, like Alexa, are activated by saying the name. Thus, they do a efficient, but inaccurate constant search until they hear their name, then switch to a slower, accurate algorithm to listen to the command.

Since the initial search is not accurate- they pick a name that stands out: Google, Cortana, Alexa, Jarvis. They wouldn't choose something like "Harry", because that is so easily confused with other words (it has a lot of ryhmes)

Ever wonder why these devices have unique names, and why they don't let you change them (except for another present name or two)? This is why

16

u/kotajacob Jun 11 '17

Very interesting, is there a simple way to check if a name has a lot of similar sounding words? I'm curious if any of the names I thought of would be any good.

5

u/LiquidSilver Jun 11 '17

If you can think of five similar words off the top of your head, it isn't good.

16

u/pkcs11 Jun 11 '17

These are called either Hot Words or Stop Words, depending on whether you're Amazon or Google.

I only see NLP in this so far and Boolean logic. Is this intended to be something more, as in am I missing a CNN, CuDNN or RNN?

5

u/thomaslangston Jun 11 '17

For those not in the know, Google says:

  • NLP - natural language processing

  • CNN - Convolutional neural networks

  • CuDNN - CUDA Deep Neural Network Library

  • RNN - Recurrent Neural Networks

10

u/geekgrrl0 Jun 11 '17

So it ended up being kind of a technical question after all! Or at least had a technical answer :) Thank you for explaining that (especially in such a concise and pleasant way!)

2

u/Drawtaru Jun 11 '17

I'm always activating Siri by accident because apparently, I say "seriously" a lot.

3

u/[deleted] Jun 11 '17

So how does it know I'm talking to Stephanie the virtual assistant and not Stephanie the chick I'm banging?

17

u/botenAnna_ Jun 11 '17

Well, if you're Indian you probably won't know anyone called Stephanie. Have you tried that?

4

u/[deleted] Jun 11 '17

Hmm...I must be missing something here. Not sure how to be Indian...

10

u/botenAnna_ Jun 11 '17

There's really 2 options you have here.

Get rid of Stephanie, you don't need her anyway. But that's a shitty option.

The other one is a bit more complicated.

Make Indian friend on Facebook. If you're not sure how, just look for a "Raj". If he has a software related degree, even better. Tell him about your job, sell him on it. Now go to your boss and refer him to this guy your job can totally be outsourced to. As soon as Raj accepts, you have to kidnap Stephanie and kill Raj. Maybe not yourself, a hitman will do. Now you and Stephanie can move to India. Except you still have a Stephanie. Now you marry her and tell her it's "Indian tradition" to rename your bride.

I'd go with the first option myself.

10

u/[deleted] Jun 11 '17

Wow this is really complicated. I'll just wait for the next update. Thanks tho

2

u/[deleted] Jun 11 '17

Because even Alexa knows you are a loser (jk)

1

u/Divided_Eye Jun 12 '17

All the more reason to ask the question--Stephanie is a very common name.

4

u/troggbl Jun 11 '17

I really hope its because he likes the way Johnny 5 says it.

13

u/_irunman Jun 11 '17

I'm working on this home automation project rn and this might come in handy. Good work, desi boii! πŸ‘

2

u/harrison_prince Jun 11 '17

Relevant username, love it

46

u/FourtySevenLions Jun 11 '17

Christ, your self-taught and 18? This is amazing

12

u/swaphell Jun 11 '17

when I was 18 i had other priorities ... if you know what i mean

69

u/[deleted] Jun 11 '17

Like being too scared to talk to girls

65

u/[deleted] Jun 11 '17

Getting 99 wc on runescape

14

u/Saint_Brendan Jun 11 '17

Still don't have 99 wc

10

u/augher Jun 11 '17

My man

2

u/ObsessionObsessor Jun 11 '17

When I was your age, hoo boy.

0

u/[deleted] Jun 12 '17

[deleted]

3

u/FourtySevenLions Jun 12 '17

I'm a programmer, not a writer mate.

22

u/[deleted] Jun 10 '17

Amazing work. I have been contemplating building my own VA but have been always overwhelmed, your work has inspired me to get back to my project. Thank you

20

u/[deleted] Jun 11 '17

If I'm a very sad and lonely person, can she be my friend?

6

u/swaphell Jun 11 '17

Like Scarlett from the movie Her? I think I may have the next billion dollar idea !

9

u/Steve_OH Jun 11 '17

Sounds awesome! However, I have a sister in law named Stephanie. Is there a way to change the name it responds to? I would feel dirty calling out to a personal assistant that shared her name.

Edit: appears I missed that part of your post. How would one go about making such a change

10

u/harrison_prince Jun 11 '17

In the config.ini file, you can change the name :)

6

u/Steve_OH Jun 11 '17

Thanks for your prompt reply. Will have to take a look into it when I get more time.

7

u/ocy Jun 10 '17

This has motivated me to finally start learning Phyton, thanks for sharing such an awesome project - and making it open source!

14

u/Nightmunnas Jun 11 '17

Hey man! Looks amazing. I have a contribution to your project.

On the front page it reads:

I'd rather call Stephanie more of a framework than an application because of it's really simply API.

I think the word you were looking for is simple :) Best of luck, might contribute in the future (really cool idea)

5

u/YayDiziet Jun 11 '17

I think the sentence as a whole makes more sense if you drop the second "of".

7

u/cookie_accepter Jun 11 '17

English learner here. Isn't "because of" the correct way? (Omitting the "of" would only work in a sentence like "...because it has a simple API.")

4

u/YayDiziet Jun 11 '17

I was wrong because you'd also need the article "an." The original sentence uses "it's" instead of "its" though. Here are two correct versions that say almost the same thing:

I'd rather call Stephanie more of a framework than an application because of its really simple API.

versus

I'd rather call Stephanie more of a framework than an application, because it's really simply an API.

The top one is probably more right. I'm not a programmer, so I don't know the technical terms.

3

u/Gbyrd99 Jun 11 '17

And you'd have to remove really as well.

5

u/[deleted] Jun 10 '17

Good job. Try to make it big and also keep innovating.

4

u/[deleted] Jun 11 '17

I need to pick Python back up to help teach a code camp. I guess this is as good a spot as any to start. πŸ‘

1

u/JohnWangDoe Jun 11 '17

wowowow, cool stuff man. How long did it take you?

3

u/Drazxie Jun 11 '17

Actually it took me around a weekend to develop the architecture of Stephanie, then a week to write all modules, but the most time was spent in Algorithm, It started out pretty basic regex but then new ideas kept popping in and I kept on tinkering with it until It became really efficient and stable. so overall 2 weeks.

But here's the funny part, it took me 3 weeks to write docs, maybe because I am not a fan of writing? and also that documentation is really specific and in extreme detail so even a non programmer can install and use stephanie and maybe learn a thing or two about programming?

1

u/gamingsherlock Jun 11 '17

Are you Indian? If yes then help a fellow brother out When did you start learning AI and how much time did it take to learn programming ? Any tips here? Which college did you graduated from? Any help would be appreciated

2

u/Drazxie Jun 11 '17

I did an AMA over here where I pointed to resources and the way I learnt, refer it here https://www.reddit.com/r/IAmA/comments/6ghedy/iama_self_taught_programmer_developed_my_very_own/

Oh, in the post look at the last couple of paragraphs where I tell about my background!

1

u/[deleted] Jun 11 '17

Awesome work. Needs some kind of dedication to do this. I'm just curious.. you said self-taught., Could you tell what were your learning resources? There are tons of them .. but would love to know what helped you.

1

u/Drazxie Jun 11 '17

I did an AMA over here where I pointed to resources and the way I learnt, refer it here https://www.reddit.com/r/IAmA/comments/6ghedy/iama_self_taught_programmer_developed_my_very_own/

Oh, in the post look at the last couple of paragraphs where I tell about my background!

1

u/speed_rabbit Jun 11 '17

Interesting project, thanks for sharing it. How is the monitoring for the wakeup command performed? Is it constantly submitting to STT APIs and monitoring that, or does it have its own library for doing the initial wake up command recognition? Put another way, could it be woken up without a working internet connection? (even if it couldn't actually process a query)

1

u/Drazxie Jun 11 '17

Yes unfortunately there are no other viable options BUT, this google is entirely different from Google Cloud, it's an old API, which doesn't requires YOU to give any prior API token, there is a default one setup in the library itself. So google can't possibly recognize you since none of your information is linked to your account.

And, Stephanie does provides Sphnix service offline and open-source, though it needs to be installed by the user, but the thing is that it's performance is awful, and even if you train your own data (voice), getting a decent performance is a really hard job. And there are no other good open-source speech-recognition programs, but again as I said google web engine is pretty good if you wanna get a nice experience without getting yourself recognized specifically through an account.

1

u/speed_rabbit Jun 11 '17

Thanks for the breakdown, makes sense. For me the privacy increasing aspects of your project are the most interesting (though so also are possible integrations with home automation). Being able to use an anonymous API is definitely a nice step, though I'll probably personally hold off on always-listening voice assistants until waking can be done reliably via local-only processing by an open source project (so I can trust it). I'm more comfortable with a specific set of voice queries/commands being sent via cloud APIs than I am with all audio being sent.

1

u/Drazxie Jun 11 '17

Sure, Honestly Stephanie is more like Django, you can take out all of it's managers, (Audio, Text, Processor) and make your assistant!

Stephanie do comes with a wake_up_engine! Cheers!

1

u/Venne1138 Jun 11 '17

Which recognizer do you find works the best for what you're trying to do?

1

u/Drazxie Jun 11 '17

Intent-Recognition? I created an algorithm to do that called Sounder, you can check it up and use it wherever you like, it's completely open-source!

1

u/Venne1138 Jun 11 '17 edited Jun 11 '17

I don't mean intent recognition. I mean the specific act of recording someone's voice and making it text.

1

u/Drazxie Jun 11 '17

There are lots of drivers for you to choose from, sphnix, google (without API token), google_cloud, wit.ai, bing, houndify, etc!

1

u/Venne1138 Jun 11 '17

Yeah I understand that. I built a voice recognition system for WoW in C# with the system voice rec API.

I'm asking, for Python, which one do you find recognizes the best?

1

u/Drazxie Jun 11 '17

My favorite are Bing Speech API and wit.ai

1

u/casprus Jun 11 '17

What do you think off other open source assistants like mycroft

2

u/Drazxie Jun 11 '17

Just came to know about it from this thread, haven't tried it yet, but looks extremely apealing, would love to try it and collaborate with them to create better open source application!

3

u/Krogholm2 Jun 10 '17

I'll make sure to check this out

3

u/AdvTechEntrepreneur Jun 11 '17

Very rad. Can't wait to apply this to my learning!

3

u/wrik003 Jun 11 '17

Amazing work! Ever since I watched the Iron Man movie series, I loved the concept of having a personal assistant for just about everything. I'd love to go through this! Thanks for sharing. Really.

3

u/[deleted] Jun 11 '17

You had me at self taught.

2

u/coppertech Jun 11 '17

name it guppie and give it admiral Akbar voice and we have a winner.

2

u/wlwl2 Jun 11 '17

Good work!

2

u/esezen Jun 11 '17

Thanks a lot for a great project like this. The documentation is amazing. Everything is explained very well and it is really easy to understand the concepts. Also your code is very clean. Again thanks a lot for sharing this kind of project with the community.

2

u/Vespertil Jun 11 '17

Dude, this is so cool!! I Just started Trying to learn code but im alredy looking forward to try and build my own Stephanie . Thanks for the post.

2

u/[deleted] Jun 11 '17

Dude this is awesome. I dont code much but am inspired to dive more into Python now with this just to play around.

1

u/[deleted] Jun 11 '17

!remindme 5 hours

1

u/RemindMeBot Jun 11 '17

I will be messaging you on 2017-06-11 12:54:14 UTC to remind you of this link.

CLICK THIS LINK to send a PM to also be reminded and to reduce spam.

Parent commenter can delete this message to hide from others.


FAQsCustomYour RemindersFeedbackCodeBrowser Extensions

1

u/TheWarhawk Jun 11 '17

Neat! Can she be programmed to achieve peace in our time?

1

u/DrNastyHobo Jun 11 '17

Great work all around. Keep on keeping on!

1

u/[deleted] Jun 11 '17

Great work

1

u/dubbdev Jun 12 '17

1st order of business is to change Hey Stephanies to Hey Headphanie.

0

u/[deleted] Jun 11 '17 edited Jun 18 '18

deleted 0.4462 What is ^^^this?

4

u/kadan5 Jun 11 '17

18 it seems

1

u/Drazxie Jun 11 '17

I am 18 years old.

1

u/kadan5 Jun 11 '17

Keep up the good work. Pm me if you are looking for other cool projects to collaborate on..

-4

u/[deleted] Jun 11 '17

This is verrrry interesting.

Does anyone off-hand know if you can alter programs on phones if they are rooted or whatever like how on Galaxy Androids that fucking screen comes up and tells you to plug your phone in?

Regaaaaaaardless of whether or are on the phone with 911 or navigating to a hospital to get the sign post dislodged from your arterial vein, that FUCKING POP UP decides it is more important to tell you that you are a fucking loser for not charging your FUTURISTIC PHONE every FUCKING NIGHT right in the MIDDLE OF NAVIGATION!!

I'm guessing I can't change it, but if I can, I will. I'll do it for you, America.

edit - im piss drunk just read it quickly and it makes way more sense your brain fills in the stupid

2

u/[deleted] Jun 11 '17

I'm sure you can if it's rooted. But I don't know how offhand

0

u/[deleted] Jun 14 '17

[deleted]

2

u/Drazxie Jun 14 '17

Cool! Don't forget to give me feedback, and you can always connect with out team at /r/StephanieAssistant

0

u/[deleted] Jun 11 '17

[deleted]

1

u/Drazxie Jun 11 '17

kindly write a post to /r/StephanieAssistant

0

u/[deleted] Jun 11 '17

[deleted]

1

u/video_descriptionbot Jun 11 '17
SECTIONCONTENT
TitleThe Eleventh HOPE (2016): Constructing Exocortices with Huginn and Halo
DescriptionSunday, July 24, 2016: 2:00 pm (Noether): Huginn (https://github.com/cantino/huginn) is an open-source human capability-amplifying and augmentation system which implements scenarios - networks of autonomous software agents that collectively analyze data and use it to accomplish sophisticated tasks on behalf of its users. External to Huginn is the Halo (https://github.com/virtadpt/exocortex-halo), a collection of software constructs optimized for carrying out tasks too complex for Huginn due to r...
Length0:55:57

I am a bot, this is an auto-generated reply | Info | Feedback | Reply STOP to opt out permanently

2

u/[deleted] Jun 11 '17

[removed] β€” view removed comment

1

u/A3adil Jun 11 '17

I too would like an answer to this question.

1

u/Drazxie Jun 11 '17

I am afraid but as of now it's officially supported for machines only, in the sense which has windows/linux installed in it.