<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Vijay Nandwani on Medium]]></title>
        <description><![CDATA[Stories by Vijay Nandwani on Medium]]></description>
        <link>https://medium.com/@isthegeek?source=rss-ee5cdaaca6fd------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*e9e-U65-hPM0l7b0ZDQAFw.png</url>
            <title>Stories by Vijay Nandwani on Medium</title>
            <link>https://medium.com/@isthegeek?source=rss-ee5cdaaca6fd------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 17:35:08 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@isthegeek/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Part 2: Build an Action to make Google Assistant find the food you are craving for.]]></title>
            <link>https://medium.com/espresso-labs/part-2-build-actions-app-in-10-mins-to-make-google-assistant-find-your-favorite-food-157879711d6b?source=rss-ee5cdaaca6fd------2</link>
            <guid isPermaLink="false">https://medium.com/p/157879711d6b</guid>
            <category><![CDATA[google-assistant]]></category>
            <category><![CDATA[actions-on-google]]></category>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[zomato-api]]></category>
            <category><![CDATA[dialogflow]]></category>
            <dc:creator><![CDATA[Vijay Nandwani]]></dc:creator>
            <pubDate>Thu, 13 Sep 2018 01:39:48 GMT</pubDate>
            <atom:updated>2018-09-16T16:02:00.078Z</atom:updated>
            <content:encoded><![CDATA[<h3>Part 2: Build an Action to make Google Assistant find the food you are craving for!</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iIC6mgXokLM-LXpYlKw7Sg.png" /></figure><p>In <a href="https://medium.com/espresso-labs/part-1-build-actions-app-in-10-mins-to-make-google-assistant-find-your-favorite-food-36fb5e9c2631">Part 1</a>, we prepared our intent and entity. Now it is time to create the custom webhook for our Find My Food Action.</p><h4>Implementing a custom webhook</h4><p>The webhook can be implemented in two ways:</p><ol><li>Through inline editor that is powered by cloud function (serverless architecture)</li><li>By writing your own functions in the backend (requires a server)</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NZ9yzSN_DCgPzgRITi_76g.png" /></figure><p><em>For our case, we have chosen option 2 because we will be using Zomato’s API for finding restaurants for the particular food and in order to use any external API in cloud functions, one needs to pay $25. So let’s save ourselves some money and use our own server.</em></p><p>In the Fulfillment section, you can put the URL to your server and receive the post request with the parameters mentioned.</p><p><strong>Defining custom webhook with Node.js</strong></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/1ee3b6b959b85da3ff16808ef7f20709/href">https://medium.com/media/1ee3b6b959b85da3ff16808ef7f20709/href</a></iframe><p>Let’s take a deep dive into the code. Let’s say the user said ‘I want to eat Manchurian’, Manchurian would be extracted and sent as a post request to the backend. Our primary aim is to find the current location of the user because a user in Delhi won’t be interested in Manchurian available in Mumbai.</p><pre>if(request.body.originalDetectIntentRequest.payload.device)</pre><p>The line above checks if we have the device information or not because that’s where our location is. In case we don’t have the information, we have to ask the user for the location and that’s what our else statement does (we invoke the getLocation() function). Note that line #6–7 in the above code is for extracting Lat and Long from the device location.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/7d3a49a91c130477f80ae41b5035758c/href">https://medium.com/media/7d3a49a91c130477f80ae41b5035758c/href</a></iframe><p>Let’s explore Line 16–21 in depth with which we are instructing the Assistant to ask the user for their exact location(in lat and long). We are invoking a system intent which is of type-permission and asks the user for DEVICE PRECISE LOCATION to serve the user better.</p><p>Now notice line #17</p><pre>“intent” : “actions.intent.PERMISSION”</pre><p>To better understand how this works, let’s understand what is<strong> Helper Intent</strong>. Webhooks can use <em>helper intents</em> to obtain values such as <strong>user information</strong> to personalize the responses (basically fulfillment calls a helper intent when it wants the Assistant to handle part of a conversation). This returns frequently-requested information such as the user’s name and location.</p><p>Create a new Intent as shown below and enable webhook call in the fulfillment section.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*D8z1J2_1HEGwE0BTy8Q6Sg.png" /></figure><h4>What’s next after getting location and dish from the user?</h4><p>Now that we have the location of the user and the dish user wants to eat today, <strong>lets hit the </strong><a href="https://developers.zomato.com/documentation"><strong>Zomato API</strong></a><strong> </strong>and find out the list of nearest restaurants that will serve the required dish!</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/45fa084485405b9aaaf857a42901c6c7/href">https://medium.com/media/45fa084485405b9aaaf857a42901c6c7/href</a></iframe><h4>That’s it, we are done! Let’s see how it looks in Assistant.</h4><p>This application is live for Google Assistant and you can try it out on your phone. <a href="https://assistant.google.com/services/a/uid/000000deaca14b83?hl=en">Here is the link</a> to the application. Here is a demo video:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FHaK54Are7cY%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DHaK54Are7cY&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FHaK54Are7cY%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/e4fefa96a9bb6fa6c3ba47d1c7007d5c/href">https://medium.com/media/e4fefa96a9bb6fa6c3ba47d1c7007d5c/href</a></iframe><p>We can also provide an additional feature in the app of asking details for a particular restaurant from the suggestions given. It’s simple:</p><ul><li>Add an entity named Restaurant</li><li>Provide 1–2 restaurant names and open it for automated expansion</li><li>Make relevant changes in your index.js and you are done. You can find the entire code <a href="https://github.com/EspressoLabsIN/Find-My-Food">here</a>.</li></ul><h3>What next?</h3><p>I believe that you were able to follow the tutorial till now and have the application running. In case something wasn’t clear or you need help with something, please post a comment down below or write to us at support@espressolabs.in.</p><p>Here are some features which you can try to add yourself to improve your understanding of the Assistant Ecosystem.</p><ul><li>A user might as the action to tell more suggestions</li><li>A user might want to modify the radius of the search</li><li>A user might want to sort the results by cost, rating or distance</li><li>A user might want to see the menu of the place or get its contact details</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=157879711d6b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/espresso-labs/part-2-build-actions-app-in-10-mins-to-make-google-assistant-find-your-favorite-food-157879711d6b">Part 2: Build an Action to make Google Assistant find the food you are craving for.</a> was originally published in <a href="https://medium.com/espresso-labs">Espresso Labs</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Attending DSC Summit 2018 in Goa]]></title>
            <link>https://medium.com/@isthegeek/attending-dsc-summit-2018-in-goa-48af63240ba0?source=rss-ee5cdaaca6fd------2</link>
            <guid isPermaLink="false">https://medium.com/p/48af63240ba0</guid>
            <category><![CDATA[dscsummit]]></category>
            <category><![CDATA[community]]></category>
            <category><![CDATA[google]]></category>
            <dc:creator><![CDATA[Vijay Nandwani]]></dc:creator>
            <pubDate>Thu, 01 Mar 2018 18:27:40 GMT</pubDate>
            <atom:updated>2018-03-01T18:28:33.270Z</atom:updated>
            <content:encoded><![CDATA[<p>As a Developer Student Club Lead of Shiv Nadar University, I got the opportunity to attend World’s first DSC Summit in Goa last weekend. The summit focused on skills/knowledge helpful for the student Leads to impact their campus/community.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U0neLs9Qks-Z87sdN2uF3g.jpeg" /></figure><p>The entire summit experience was transformational. We got a chance to attend and learn essential skills from experts. Here are the sessions which we attended:</p><p><strong>Day 1</strong></p><ol><li>The Persuasive Leader By <a href="https://www.linkedin.com/in/anson-ben-30925612">Anson Ben</a>: Session on effective communication skills.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*biMJACym2BTqueqN-iBQ9w.jpeg" /></figure><p>2. Design Thinking Workshop By University Innovation Fellows: <a href="https://www.linkedin.com/in/ghanashyam/">Ghanashyam S</a> and team of University Innovation Fellows took a session on design thinking. We talked to a local business owner and tried to come up with a prototype of a digital solution which could help their business.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nTHs_yB6ugY8Fl1WDmDExQ.jpeg" /></figure><p>3. Product Excellence By <a href="https://www.linkedin.com/in/dimple-batra-0422196/">Dimple Batra</a>: Session by Program Manager at Google about how to develop fantastic products</p><p>4. Panel Discussion Careers in Tech with a focus on mobile/web - <a href="https://www.linkedin.com/in/anson-ben-30925612/">Anson Ben</a>, Shikha Gupta, <a href="https://www.linkedin.com/in/arjunpratap/">Arjun Pratap</a>, Moderated by <a href="https://www.linkedin.com/in/vaishali-sabhahit-4678857/">Vaishali Sabhahit</a>: Got a chance to understand careers in tech from different perspectives.</p><p><strong>Day 2:</strong></p><p>5. Google’s culture of innovation By <a href="https://www.linkedin.com/in/deepak-raghuwanshi-8464611/">Deepak Raghuwanshi</a>: He talked about the excellent culture at Google how can we develop a similar culture of innovation in our communities and team.</p><p>6. Developing on Android By <a href="https://www.linkedin.com/in/amrit-sanjeev-a4984438/">Amrit Sanjeev</a>: He picked up five commonly asked questions about android and answered them.</p><p>7. Machine Learning/Getting Started with Tensor Flow By <a href="https://www.linkedin.com/in/manoranjanpadhy/">Manoranjan Padhy</a>: Intro session to Machine learning. He mentioned lot of useful resources such as this <a href="https://m.youtube.com/playlist?list=PLOU2XLYxmsIIuiBfYad6rFYQU_jL2ryal">YouTube Playlist</a> and this <a href="http://cs231n.github.io/">CNN Course</a>.</p><p>8. PWA &amp; AMP By <a href="https://www.linkedin.com/in/tyohan/">Yohan Totting</a> &amp; <a href="https://www.linkedin.com/in/kumar-gaurav-garg-b134ab1/">Kumar Gaurav</a>: They talked about PWA and AMP and how can we start using them.</p><p>9. Actions on Google By <a href="https://www.linkedin.com/in/chhavip/">Chhavi Gupta</a>: She talked about Google Actions and how can we easily start to develop apps for that.</p><p>10. Internationalization By <a href="https://www.linkedin.com/in/naveen-nigam/">Naveen Nigam</a>: He is the Head of Developer Relations in Canada and East Coast USA. He talked about how can we develop applications and projects so that they can be adapted to various languages and regions without engineering changes.. It all starts with having a culture and gender inclusive teams.</p><p>11. Delivering Effective Workshops By <a href="https://www.linkedin.com/in/lalit-singh-manral-8813a857/">Lalit Singh Manral</a>: He talked about how we can improve our workshops in campus/community to involve more people.</p><p>12. Storytelling (Amplify your Community ) By <a href="https://www.linkedin.com/in/rafael-guetta-8134b49/">Rafael Guetta</a>: He showed us how Google record experiences of people and how can we start to document the experiences and impact of our sessions.</p><p>13. Panel Discussion Being a Community Lead - <a href="https://www.linkedin.com/in/saxenakaran/">Karan Saxena</a>, <a href="https://www.linkedin.com/in/chhavip/">Chhavi Gupta</a>, <a href="https://www.linkedin.com/in/karthik-ramakrishnan-a3ab2111a/">Karthik Ramakrishnan</a>, and moderated by <a href="https://www.linkedin.com/in/deepaksridhar/">Deepak Sridhar</a>: They gave their views on how they have managed their communities and how can we develop amazing communities.</p><p>14. Jobs @ Google By <a href="https://www.linkedin.com/in/ahsuhail/">Suhail AH</a>: Suhail talked about what Google looks in a candidate before hiring, how can students prepare and how can we as DSC leads spread information regarding this. If you want to know what Google looks for in people before hiring, the answer is the following four qualities:</p><ul><li>How a candidate thinks</li><li>Leadership Skills</li><li>Role related knowledge</li><li>Googleyness</li></ul><p>To prepare for the interviews, students can try following:</p><ul><li><a href="https://code.google.com/codejam/kickstart/">Codejam Kickstart</a></li><li><a href="https://www.youtube.com/user/GoogleDevelopers">Youtube live streams</a></li><li><a href="https://techdevguide.withgoogle.com/">Tech Dev Guide</a></li><li>Developmental workshops</li><li>Internships</li></ul><p>Apart from these sessions, we had standup comedy By Azeem Banatwalla, gala dinners, DJ party, planning sessions etc.</p><p>One of the best part of the summit was the networking with Googlers during dinner. We interacted with all the Googlers personally and asked them various questions about community building, interviews, sharing resources etc. They shared their stories with us and what they were working on. It was phenomenal to talk with each of them for hours and learn from them.</p><p>A big Thank You to Google and its team for conducting an extraordinary summit! The summit was exceptionally amazing and helpful!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X7GPg3b6LK9-LbK12ZR-zw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Zmmn-5Knn6k4lhMjGcdkbg.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=48af63240ba0" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>