{"id":132,"date":"2021-06-24T08:07:24","date_gmt":"2021-06-24T04:37:24","guid":{"rendered":"https:\/\/haghiri75.com\/en\/?p=132"},"modified":"2021-06-24T08:07:30","modified_gmt":"2021-06-24T04:37:30","slug":"a-to-z-of-making-an-intelligent-voice-assistant","status":"publish","type":"post","link":"https:\/\/haghiri75.com\/en\/a-to-z-of-making-an-intelligent-voice-assistant\/","title":{"rendered":"A to Z of making an intelligent voice assistant"},"content":{"rendered":"\n<p>It was 2011, a sad year for a lot of apple fans (me included) because Steve Jobs, one of original co-founders of Apple Computers died October that year. Also, it could become sadder if there was no iPhone 4S and its features that year. <\/p>\n\n\n\n<p>A few years prior to the first introduction of Siri (which introduced with iPhone 4S), a movie called <em>Iron Man <\/em>came out from Marvel Studios. Unlike comic books, Jarvis wasn&#8217;t an old man in this movie. Jarvis was an A.I. I&#8217;m not sure if the movie inspired companies to add the voice assistant to their systems or not, but I&#8217;m sure a lot of people just bought those phones or tablets to have their own version of Jarvis! <\/p>\n\n\n\n<p>Long story short, a lot of engineers like me, were under the influence of the MCU (Marvel&#8217;s cinematic universe) and Apple and wanted to have their voice assistant a little bit differently! Instead of buying an iPhone 4S, we preferred to start making our own voice assistants. <\/p>\n\n\n\n<p>In this article, I&#8217;m discussing the basics you need to learn for making your very own version of Siri. I warn you here, there wil be no codes at least in this one!<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-attachment-id=\"133\" data-permalink=\"https:\/\/haghiri75.com\/en\/a-to-z-of-making-an-intelligent-voice-assistant\/apple-siri\/\" data-orig-file=\"https:\/\/haghiri75.com\/en\/wp-content\/uploads\/apple-siri.jpg\" data-orig-size=\"724,351\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"apple-siri\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/haghiri75.com\/en\/wp-content\/uploads\/apple-siri-300x145.jpg\" data-large-file=\"https:\/\/haghiri75.com\/en\/wp-content\/uploads\/apple-siri.jpg\" decoding=\"async\" loading=\"lazy\" width=\"724\" height=\"351\" src=\"https:\/\/haghiri75.com\/en\/wp-content\/uploads\/apple-siri.jpg\" alt=\"\" class=\"wp-image-133\" srcset=\"https:\/\/haghiri75.com\/en\/wp-content\/uploads\/apple-siri.jpg 724w, https:\/\/haghiri75.com\/en\/wp-content\/uploads\/apple-siri-300x145.jpg 300w\" sizes=\"(max-width: 724px) 100vw, 724px\" \/><\/figure>\n\n\n\n<h1 class=\"wp-block-heading\">How does a voice assistant work?<\/h1>\n\n\n\n<p>In order to make something, we first need to learn how on earth that thing works! So, let&#8217;s discuss about voice assistants and how they work. They&#8217;re much simpler than what you think. It&#8217;s guaranteed your mind will be blown by their simplicity! <\/p>\n\n\n\n<ul><li><strong>Listening: <\/strong>a voice assistant, as called, needs to listen to the voices and detects what is a decent human voice. For this, we need <em>speech recognition<\/em> systems. These systems will be discussed further. We just can make one, or we can use one that&#8217;s already made. <\/li><li><strong>Understanding: <\/strong>In the 2015 movie <em>Avengers: Age of Ultron<\/em>, Tony Stark (a.k.a Iron Man) says <em>&#8220;Jarvis is only a natural language understanding matrix&#8221; <\/em>not considering the matrix part, other part of this sentence makes sense to me. Voice assistants need to understand what we tell them. They can have A.I or hard coded answers or a little bit of both. <\/li><li><strong>Responding: <\/strong>after processing what we&#8217;ve said, the voice assistant needs to provide the responses that fit our request. For example, you say &#8220;Hey Alexa, play music&#8221; and your Alexa device will ask you for the title, you say &#8220;Back in Black&#8221; and she&#8217;ll play the song from spotify or youtube music. <\/li><\/ul>\n\n\n\n<p>Now, we know about the functionality. What about the implementation? It&#8217;s a whole other story. The rest of the article, is more about the technical side of making an intelligent chatbot&#8230; <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-attachment-id=\"135\" data-permalink=\"https:\/\/haghiri75.com\/en\/a-to-z-of-making-an-intelligent-voice-assistant\/jarvis-ai-bot\/\" data-orig-file=\"https:\/\/haghiri75.com\/en\/wp-content\/uploads\/jarvis-ai-bot.jpg\" data-orig-size=\"528,352\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"jarvis-ai-bot\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/haghiri75.com\/en\/wp-content\/uploads\/jarvis-ai-bot-300x200.jpg\" data-large-file=\"https:\/\/haghiri75.com\/en\/wp-content\/uploads\/jarvis-ai-bot.jpg\" decoding=\"async\" loading=\"lazy\" width=\"528\" height=\"352\" src=\"https:\/\/haghiri75.com\/en\/wp-content\/uploads\/jarvis-ai-bot.jpg\" alt=\"\" class=\"wp-image-135\" srcset=\"https:\/\/haghiri75.com\/en\/wp-content\/uploads\/jarvis-ai-bot.jpg 528w, https:\/\/haghiri75.com\/en\/wp-content\/uploads\/jarvis-ai-bot-300x200.jpg 300w\" sizes=\"(max-width: 528px) 100vw, 528px\" \/><\/figure>\n\n\n\n<h1 class=\"wp-block-heading\">Implementation of a Voice Assistant<\/h1>\n\n\n\n<h2 class=\"wp-block-heading\">Speech Recognition<\/h2>\n\n\n\n<p>Before we start to make our voice assistant, we have to make sure it can hear. So we need to implement a simple speech recognition system. <\/p>\n\n\n\n<p>Although it&#8217;s not really hard to implement a speech recognition system, I personally prefer to go with something which is already made, like Python&#8217;s speech recognition library (<a href=\"https:\/\/pypi.org\/project\/SpeechRecognition\/\">link<\/a>). This library sends the audio signal directly to IBM, Microsoft or Google API&#8217;s and shows us the transcription of our talk. <\/p>\n\n\n\n<p>In the other hand, we can make our own system with a dataset, which has tons of voices and their transcriptions. But as you may know, you need to make your data diverse af. Why? Let me explain it a little bit better. <\/p>\n\n\n\n<p>When you have your own voice only, your dataset doesn&#8217;t have the decent diversity. If you add your girlfriend, sister, brother, co-workers, etc. You still have no diversity. The result may be decent, but it only limits itself to your own voice, or the voices of your family members and friends! <\/p>\n\n\n\n<p>The second problem is that your very own speech recognition, can&#8217;t understand that much. Because your words and sentences might be limited to the movie dialogues or books you like. We need the diversity to be everywhere in our dataset. <\/p>\n\n\n\n<p>Is there any solution to this problem? Yes. You can use something like Mozilla&#8217;s dataset (<a href=\"https:\/\/commonvoice.mozilla.org\/en\">link<\/a>) for your desired language and make a speech recognition system. These data provided by the people around the world and it&#8217;s as diverse as possible. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-attachment-id=\"136\" data-permalink=\"https:\/\/haghiri75.com\/en\/a-to-z-of-making-an-intelligent-voice-assistant\/automatic-speech-recognition_updated\/\" data-orig-file=\"https:\/\/haghiri75.com\/en\/wp-content\/uploads\/automatic-speech-recognition_updated.png\" data-orig-size=\"1200,533\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"automatic-speech-recognition_updated\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/haghiri75.com\/en\/wp-content\/uploads\/automatic-speech-recognition_updated-300x133.png\" data-large-file=\"https:\/\/haghiri75.com\/en\/wp-content\/uploads\/automatic-speech-recognition_updated-1024x455.png\" decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"455\" src=\"https:\/\/haghiri75.com\/en\/wp-content\/uploads\/automatic-speech-recognition_updated-1024x455.png\" alt=\"\" class=\"wp-image-136\" srcset=\"https:\/\/haghiri75.com\/en\/wp-content\/uploads\/automatic-speech-recognition_updated-1024x455.png 1024w, https:\/\/haghiri75.com\/en\/wp-content\/uploads\/automatic-speech-recognition_updated-300x133.png 300w, https:\/\/haghiri75.com\/en\/wp-content\/uploads\/automatic-speech-recognition_updated-768x341.png 768w, https:\/\/haghiri75.com\/en\/wp-content\/uploads\/automatic-speech-recognition_updated.png 1200w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Natural Language Understanding<\/h2>\n\n\n\n<p>As I told you, a voice assistant should process what we tell her. The best way of processing is artificial intelligence but we also can do a hard coded proof-of-concept as well. <\/p>\n\n\n\n<p>What does that mean? hard coding in programming means when we want some certain input to have a fixed output, we don&#8217;t rely on our logic for that answer, but we just write code like <em>if the input is this, give the user that, with no regard of the logic. <\/em>In this case, the logic can be A.I, but we tell the machine <em>if user said Hi, you simply say Hi! <\/em><\/p>\n\n\n\n<p>But in the real world applications we can&#8217;t just go with the A.I. or hard coded functions. A real voice assistant is usually a combination of both. How? When you ask your voice assistant for the price of bitcoin, it&#8217;s a hard coded function. <\/p>\n\n\n\n<p>But when you just talk to your voice assistant she&#8217;ll may make some answers to you, which may have a <em>human feel<\/em> and that&#8217;s when A.I. comes in. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Responding<\/h2>\n\n\n\n<p>Although providing responses can be considered a part of the understanding process, I prefer to talk about the whole thing in a separate section. <\/p>\n\n\n\n<p>A response is usually what the A.I. will tell us, and the question is <em>how that A.I. knows what we mean? <\/em>and this is an excellent question. Designing the intelligent part of the voice assistant or in general chatbots, is the trickiest part. <\/p>\n\n\n\n<p>The main backbone of responses, is your intention. What is your chatbot for? Is it a college professor assistant or it&#8217;s just something that will give you a Stark feeling? Is it designed to flirt with lonely people or it&#8217;s designed to help the elderly? There are tons of questions you have to answer before designing your own assistant. <\/p>\n\n\n\n<p>After you asked you those questions, you need to classify what people would say to your bot under different categories. These categories are called <em>intents. <\/em>Let me explain by example. <\/p>\n\n\n\n<p>You go to a Cafe, the waiter gives you the menu and you see the menu, right? Your intention is now clear. You want some coffee. So, how you ask about coffee? I will say <em>Sir, a cup of espresso please. <\/em>And that&#8217;s this simple. In order to answer all coffee related questions, we need to consider different states, as much as possible. What if customer asks for Macchiato? What if they ask for Mocha? What if they ask for a cookie with their coffee? and this is where A.I. can help. <\/p>\n\n\n\n<p>A.I. is nothing other than making predictions using math. A long time ago, I used to write the whole A.I. logic myself. But later a YouTuber called NeuralNine developed a library called <em>neural intents <\/em>and it&#8217;s for this purpose! How does this library work? <\/p>\n\n\n\n<p>It&#8217;s simple. We give the library a bunch of questions and our desired answers. The model we train, can classify questions and then simply predict what category our sayings belong to. Let me show you the example. <\/p>\n\n\n\n<p>When you say <em>a cup of espresso please<\/em>, the A.I. sees words cup and espresso. What happens then? she&#8217;ll know these words belong to the <em>coffee <\/em>category, so she&#8217;ll give you one of those <strong>fixed<\/strong> answers from that category. <\/p>\n\n\n\n<p>Keeping answers fixed by the way, is not always a good thing. For some reasons, we may need to make a <em>generative <\/em>chatbot which also can make responses like a human. Those bots are more complex and require more resources, studies and time. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-attachment-id=\"140\" data-permalink=\"https:\/\/haghiri75.com\/en\/a-to-z-of-making-an-intelligent-voice-assistant\/50636_orig\/\" data-orig-file=\"https:\/\/haghiri75.com\/en\/wp-content\/uploads\/50636_orig.jpg\" data-orig-size=\"1440,808\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"50636_orig\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/haghiri75.com\/en\/wp-content\/uploads\/50636_orig-300x168.jpg\" data-large-file=\"https:\/\/haghiri75.com\/en\/wp-content\/uploads\/50636_orig-1024x575.jpg\" decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"575\" src=\"https:\/\/haghiri75.com\/en\/wp-content\/uploads\/50636_orig-1024x575.jpg\" alt=\"\" class=\"wp-image-140\" srcset=\"https:\/\/haghiri75.com\/en\/wp-content\/uploads\/50636_orig-1024x575.jpg 1024w, https:\/\/haghiri75.com\/en\/wp-content\/uploads\/50636_orig-300x168.jpg 300w, https:\/\/haghiri75.com\/en\/wp-content\/uploads\/50636_orig-768x431.jpg 768w, https:\/\/haghiri75.com\/en\/wp-content\/uploads\/50636_orig.jpg 1440w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<h1 class=\"wp-block-heading\">Final Thoughts<\/h1>\n\n\n\n<p>The world of programming is beautiful and vast. When it comes to A.I. it becomes more fun of course. In this article, I tried to explain how a voice assistant can be constructed but I actually didn&#8217;t dig deep to the implementation. <\/p>\n\n\n\n<p>Why so? I guess implementation is good, but in most cases, like every other aspect of programming, it&#8217;s just putting together some tools. So learning the concept, is much more important in most cases, like this. <\/p>\n\n\n\n<p>I hope the article was useful for you. If it is, please share it with your friends and leave a comment for me. I&#8217;d be super thankful. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>It was 2011, a sad year for a lot of apple fans (me included) because Steve Jobs, one of original co-founders of Apple Computers died October that year. Also, it could become sadder if there was no iPhone 4S and its features that year. A few years prior to the first introduction of Siri (which &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/haghiri75.com\/en\/a-to-z-of-making-an-intelligent-voice-assistant\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;A to Z of making an intelligent voice assistant&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_newsletter_tier_id":0,"footnotes":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[1],"tags":[36,41,37,43,44,39,38,45,46,47,48,40,42,51,49,50],"jetpack_publicize_connections":[],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8BkKn-28","jetpack-related-posts":[{"id":391,"url":"https:\/\/haghiri75.com\/en\/lets-build-metaverse-with-ai-building-asset-generator\/","url_meta":{"origin":132,"position":0},"title":"Let&#8217;s build Metaverse with AI: Building asset generator","author":"prp-e","date":"November 27, 2024","format":false,"excerpt":"Look at this: How do you think this apple has been made? Excellent question. After the previous post, I said we should put LLMs out of the picture for now. Also we needed to talk about 3D, because it is important in whole metaverse space, right? Today I just did\u2026","rel":"","context":"In &quot;Projects&quot;","block_context":{"text":"Projects","link":"https:\/\/haghiri75.com\/en\/category\/projects\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mann-e-images.storage.c2.liara.space\/120c3554-8326-4625-a129-50e80bb215da_part_0003.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/mann-e-images.storage.c2.liara.space\/120c3554-8326-4625-a129-50e80bb215da_part_0003.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/mann-e-images.storage.c2.liara.space\/120c3554-8326-4625-a129-50e80bb215da_part_0003.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/mann-e-images.storage.c2.liara.space\/120c3554-8326-4625-a129-50e80bb215da_part_0003.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":335,"url":"https:\/\/haghiri75.com\/en\/privacy-focused-ai-is-all-we-need\/","url_meta":{"origin":132,"position":1},"title":"Privacy-focused AI is all we need","author":"prp-e","date":"November 1, 2024","format":false,"excerpt":"I remember in 2020 and 2021, due to Elon Musk's interest in crypto and also\u00a0The Metaverse Hype\u00a0people, specially the ones who had no idea about crypto or blockchain, started investing in the crypto markets. Although it seemed a little bit of a failure, people made profit out of it. It\u2026","rel":"","context":"In &quot;Projects&quot;","block_context":{"text":"Projects","link":"https:\/\/haghiri75.com\/en\/category\/projects\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":318,"url":"https:\/\/haghiri75.com\/en\/frontbricks-my-llm-based-weekend-project-which-is-inspired-by-vercels-v0\/","url_meta":{"origin":132,"position":2},"title":"FrontBricks, my LLM-based weekend project which is inspired by Vercel&#8217;s V0","author":"prp-e","date":"May 31, 2024","format":false,"excerpt":"Since 2022, there is a hype of\u00a0generative artificial intelligence\u00a0and it resulted in a bunch of cool projects. Although a lot of us may remember that Github's copilot was much older. Those days, I wrote an article about how I was too cheap to pay $10 a month for copilot, so\u2026","rel":"","context":"In &quot;Computer Architecture &amp; Programming&quot;","block_context":{"text":"Computer Architecture &amp; Programming","link":"https:\/\/haghiri75.com\/en\/category\/computer\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/haghiri75.com\/en\/wp-content\/uploads\/frontbricks.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/haghiri75.com\/en\/wp-content\/uploads\/frontbricks.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/haghiri75.com\/en\/wp-content\/uploads\/frontbricks.png?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/haghiri75.com\/en\/wp-content\/uploads\/frontbricks.png?resize=700%2C400 2x, https:\/\/i0.wp.com\/haghiri75.com\/en\/wp-content\/uploads\/frontbricks.png?resize=1050%2C600 3x"},"classes":[]},{"id":399,"url":"https:\/\/haghiri75.com\/en\/you-only-need-python-to-make-ai-agents\/","url_meta":{"origin":132,"position":3},"title":"You only need Python to make AI agents.","author":"prp-e","date":"December 31, 2024","format":false,"excerpt":"In 2022, ChatGPT released and LLMs becoming the hot topic of pretty much every technology related press, event, YouTube video, etc. It was like finding the secret ingredient to a potion which can make you immortal. But Meta didn't let OpenAI becoming the one and only. They also started the\u2026","rel":"","context":"In &quot;Projects&quot;","block_context":{"text":"Projects","link":"https:\/\/haghiri75.com\/en\/category\/projects\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mann-e-images.storage.c2.liara.space\/319996af-289a-4617-8d0c-6580e4793747.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/mann-e-images.storage.c2.liara.space\/319996af-289a-4617-8d0c-6580e4793747.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/mann-e-images.storage.c2.liara.space\/319996af-289a-4617-8d0c-6580e4793747.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/mann-e-images.storage.c2.liara.space\/319996af-289a-4617-8d0c-6580e4793747.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/mann-e-images.storage.c2.liara.space\/319996af-289a-4617-8d0c-6580e4793747.png?resize=1050%2C600&ssl=1 3x"},"classes":[]},{"id":202,"url":"https:\/\/haghiri75.com\/en\/severus-does-the-magic\/","url_meta":{"origin":132,"position":4},"title":"Severus does the magic","author":"prp-e","date":"September 11, 2022","format":false,"excerpt":"It is not too long after I told you that I was too cheap to pay $10 a month for github copilot and I came up with the idea for Severus, my own AI pair programmer. It was something that went boom. My blog usually doesn't have more than 20\u2026","rel":"","context":"In &quot;Computer Architecture &amp; Programming&quot;","block_context":{"text":"Computer Architecture &amp; Programming","link":"https:\/\/haghiri75.com\/en\/category\/computer\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/haghiri75.com\/en\/wp-content\/uploads\/warforged_wizard_by_captdiablo_de2mwm8-pre-1024x724.jpg?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/haghiri75.com\/en\/wp-content\/uploads\/warforged_wizard_by_captdiablo_de2mwm8-pre-1024x724.jpg?resize=350%2C200 1x, https:\/\/i0.wp.com\/haghiri75.com\/en\/wp-content\/uploads\/warforged_wizard_by_captdiablo_de2mwm8-pre-1024x724.jpg?resize=525%2C300 1.5x"},"classes":[]},{"id":192,"url":"https:\/\/haghiri75.com\/en\/i-was-to-cheap-to-pay-10-a-month-for-copilot-so-i-made-my-own\/","url_meta":{"origin":132,"position":5},"title":"I was too cheap to pay $10 a month for copilot, so I made my own","author":"prp-e","date":"September 4, 2022","format":false,"excerpt":"In mid 2021, there was a revolution in coding. As a lazy programmer who always needed a fast and smart assistant, I was really happy to have Github Copilot in my arsenal of coding tools. So I was one of the early adapters of the whole idea of AI pair\u2026","rel":"","context":"In &quot;Computer Architecture &amp; Programming&quot;","block_context":{"text":"Computer Architecture &amp; Programming","link":"https:\/\/haghiri75.com\/en\/category\/computer\/"},"img":{"alt_text":"My own copilot!","src":"https:\/\/i0.wp.com\/haghiri75.com\/en\/wp-content\/uploads\/Screen-Shot-2022-09-03-at-10.46.46-PM.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/haghiri75.com\/en\/wp-content\/uploads\/Screen-Shot-2022-09-03-at-10.46.46-PM.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/haghiri75.com\/en\/wp-content\/uploads\/Screen-Shot-2022-09-03-at-10.46.46-PM.png?resize=525%2C300 1.5x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/haghiri75.com\/en\/wp-json\/wp\/v2\/posts\/132"}],"collection":[{"href":"https:\/\/haghiri75.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/haghiri75.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/haghiri75.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/haghiri75.com\/en\/wp-json\/wp\/v2\/comments?post=132"}],"version-history":[{"count":6,"href":"https:\/\/haghiri75.com\/en\/wp-json\/wp\/v2\/posts\/132\/revisions"}],"predecessor-version":[{"id":142,"href":"https:\/\/haghiri75.com\/en\/wp-json\/wp\/v2\/posts\/132\/revisions\/142"}],"wp:attachment":[{"href":"https:\/\/haghiri75.com\/en\/wp-json\/wp\/v2\/media?parent=132"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/haghiri75.com\/en\/wp-json\/wp\/v2\/categories?post=132"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/haghiri75.com\/en\/wp-json\/wp\/v2\/tags?post=132"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}