{"id":652,"date":"2023-03-13T09:24:00","date_gmt":"2023-03-13T09:24:00","guid":{"rendered":"https:\/\/wp.memri.io\/?p=652"},"modified":"2023-03-13T09:24:00","modified_gmt":"2023-03-13T09:24:00","slug":"how-does-the-memri-app-work","status":"publish","type":"post","link":"http:\/\/159.223.219.139\/index.php\/2023\/03\/13\/how-does-the-memri-app-work\/","title":{"rendered":"How does the Memri app work?"},"content":{"rendered":"\n<p>When you use the Memri app it might feel as if the magic&nbsp; is happening right there and then, while in reality that is not the case.&nbsp; A front-end app, like the one you\u2019re using, is very important and allows you to interact with the system we\u2019ve created; but without the other parts, it would be useless. In this blog you will&nbsp; learn more about what those parts are and how they work together.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/wp.memri.io\/wp-content\/uploads\/2023\/10\/image.png\" alt=\"\" class=\"wp-image-653\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading has-4-x-font-size\">What is the Personal Online Datastore and why do you need one?&nbsp;<\/h2>\n\n\n\n<p>For you to be able to use our app a lot of different elements need to work together in harmony. One of the most vital elements is the Personal Online Datastore or POD.&nbsp;<\/p>\n\n\n\n<p>Let\u2019s say you\u2019re opening up the app and want to spend 10 minutes only to browse through tweets related to Machine Learning. To do so those tweets (or any other social-media post for that matter) need to be stored somewhere. That somewhere is the POD.&nbsp;<\/p>\n\n\n\n<p>The POD is your own online vault that only you can access. The information stored in there is encrypted and can only be used with the key you have. Meaning that if someone unplugs the server, takes it home and tries to access it, they won\u2019t be able to access or understand any of the information stored i n there.&nbsp;<\/p>\n\n\n\n<p>As you can see in the image above, the POD is the central part of our entire system. It stores your data in a safe and organized way so that nobody can access it and so that the Machine-Learning models that we build can do their magic. More on those later.&nbsp;<\/p>\n\n\n\n<p>For the POD to be of any use it\u2019s vital that the data that is stored in there is constantly imported from the external sources. There\u2019s not much use if you\u2019re only seeing tweets from 2 years ago and miss out on all the new things, right?&nbsp;<\/p>\n\n\n\n<p>For the POD to import and interact with external services, we created two types of plugins:&nbsp;<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Importer-plugins: those, you guessed it, import your data from external parties. E.g. getting in and storing all tweets from your timeline.&nbsp;<\/li>\n\n\n\n<li>Action-plugins: which action things. E.g. sending a message using Whatsapp without having to leave the Memri-app.&nbsp;<\/li>\n<\/ol>\n\n\n\n<p>Creating those plugins can be really complicated. External parties store their data in different ways which can make it hard to pull information and put it in the right context and do something with it. Something as simple as someone\u2019s name can be very complicated to understand from the data that has been pulled: , is it their twitter handle or is it the one the email address they created when they were 12?&nbsp;<\/p>\n\n\n\n<p>Keeping your data scattered across different service vendors is the equivalent of \u201cI will throw this thing in an attic in a random house and when I need it again, I will just knock some doors to see if it\u2019s there.\u201d<\/p>\n\n\n\n<p>Since we not only want you to be able to store data on the POD but also enable you to use it in a meaningful way, the data that\u2019s imported needs to first be organized. Instead of throwing it in the attic of a random neighbor, you put it safely in your own attic, in a specific location, labeled and easy to find, and with nobody being able to move it around or misplace it for you. (If only that would be possible for your Christmas decorations!)<\/p>\n\n\n\n<h2 class=\"wp-block-heading has-4-x-font-size\">Machine Learning Magic Enabled by Indexing Your Data<\/h2>\n\n\n\n<p>By organizing the data from all those different sources in the same way, Machine Learning (ML) models can be trained and used to make your life easier. Before they can do so a process called \u201cindexing\u201d needs to happen. This indexing is done by a mixture of importing information from the source (\u201cdate\u201d \u201cUsername\u201d \u201clikes\u201d), but also by Machine Learning models that are trained to provide specific context (\u201cTopic\u201d \u201cBot or Human\u201d \u201cInteresting for you\u201d)<\/p>\n\n\n\n<p>So when a tweet is imported to the POD, the indexers add labels such as: \u201ctwitter\u201d \u201cusername\u201d \u201cTopic\u201d \u201cdate\u201d \u201cLikes\u201d \u201cFriend\u201d \u201cBot or Human\u201d or any other label you\u2019d find interesting.&nbsp;<\/p>\n\n\n\n<p>By combining the labels and information from other sources it becomes possible to build tools that can help you in your daily life.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading has-4-x-font-size\">How Machine Learning can be used to make your life easier<\/h2>\n\n\n\n<p>Those Machine Learning tools can make your life easier is probably no surprise, the question is how!? The options are endless, but below you find some examples that hopefully also spark your creativity.&nbsp;<\/p>\n\n\n\n<p>Sticking with the tweet example for now; Let\u2019s say you import a new piece of data: a tweet about cats. An indexer will then label it as a tweet and another adds a label with the topic: \u201ccats\u201d. Now that you have that it would allow you to only see cat-related tweets and nothing else if you chose to do so. Not good enough? Add another filter and only see red cats! More of a dog-person? Do the exact opposite and see no cat-related tweets ever! (Or filter out the Elon Musk Twitter drama when you had enough of that for the week)&nbsp;<\/p>\n\n\n\n<p>This way you take control of what you see and don\u2019t get the distractions you have when browsing Twitter normally. You just see things that you really want to see at that moment in time, no more time wasted on scrolling until you find the next interesting post.&nbsp;<\/p>\n\n\n\n<p>A more complex use case: You\u2019re receiving messages from a friend about an upcoming birthday party. Those messages go in the POD and labels are added. The indexers collect the most important information such as the date, person and location of the party. The tool creates a calendar event and places it in your calendar directly (Action-plugin). It will remind you to buy a gift for that person and since the app recognizes who the birthday-girl is, it can even do a suggestion or remind you of the present you gave her last year.&nbsp; No more giving the same gift twice!<\/p>\n\n\n\n<h2 class=\"wp-block-heading has-4-x-font-size\">All Components Working Together&nbsp;<\/h2>\n\n\n\n<p>In this blog we introduced the different components of our system in the most basic way possible and have given some potential use cases for how our tool could make your life better. The POD, the importer-plugins, action-plugins, indexing-plugins and ML-models work together and all have an essential role in making our app work well, and besides that, they provide the infrastructure we need to keep expanding our product over time and allowing others to build their own tools on it as well. Want to know more about that?&nbsp; Have a look at some of our other blogs! .<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When you use the Memri app it might feel as if the magic&nbsp; is happening right there and then, while in reality that is not the case.&nbsp; A front-end app, like the one you\u2019re using, is very important and allows you to interact with the system we\u2019ve created; but without the other parts, it would [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-652","post","type-post","status-publish","format-standard","hentry","category-product"],"_links":{"self":[{"href":"http:\/\/159.223.219.139\/index.php\/wp-json\/wp\/v2\/posts\/652","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/159.223.219.139\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/159.223.219.139\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/159.223.219.139\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/159.223.219.139\/index.php\/wp-json\/wp\/v2\/comments?post=652"}],"version-history":[{"count":0,"href":"http:\/\/159.223.219.139\/index.php\/wp-json\/wp\/v2\/posts\/652\/revisions"}],"wp:attachment":[{"href":"http:\/\/159.223.219.139\/index.php\/wp-json\/wp\/v2\/media?parent=652"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/159.223.219.139\/index.php\/wp-json\/wp\/v2\/categories?post=652"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/159.223.219.139\/index.php\/wp-json\/wp\/v2\/tags?post=652"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}