<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Valentin Karkouz</title>
    <description>The latest articles on Forem by Valentin Karkouz (@kzkr).</description>
    <link>https://forem.com/kzkr</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F356147%2F46a6f9e6-cde7-4166-97eb-72c952101ee8.jpg</url>
      <title>Forem: Valentin Karkouz</title>
      <link>https://forem.com/kzkr</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/kzkr"/>
    <language>en</language>
    <item>
      <title>How I Created Gnius.ai, an AI-powered WhatsApp Assistant, in Just 4 Days</title>
      <dc:creator>Valentin Karkouz</dc:creator>
      <pubDate>Mon, 10 Apr 2023 11:33:46 +0000</pubDate>
      <link>https://forem.com/kzkr/how-i-created-gniusai-an-ai-powered-whatsapp-assistant-in-just-4-days-epj</link>
      <guid>https://forem.com/kzkr/how-i-created-gniusai-an-ai-powered-whatsapp-assistant-in-just-4-days-epj</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--99MrygFi--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xroneeydtkfh4kqz8v3r.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--99MrygFi--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xroneeydtkfh4kqz8v3r.png" alt="gnius.ai" width="800" height="440"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;As a software engineer, I’m always looking for new challenges to test my skills. Recently, I challenged myself to create an AI-powered &lt;strong&gt;WhatsApp&lt;/strong&gt; assistant in just four days. The result of this challenge was &lt;a href="https://gnius.ai"&gt;Gnius.ai&lt;/a&gt;, a &lt;strong&gt;WhatsApp&lt;/strong&gt; assistant that uses artificial intelligence to answer users’ questions and provide personalized recommendations.&lt;/p&gt;

&lt;p&gt;In this article, I’ll share the process I followed to create &lt;a href="https://gnius.ai"&gt;Gnius.ai&lt;/a&gt;, including the technologies I employed, the challenges I faced, and how I designed the platform using &lt;strong&gt;Figma&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Day 1: Planning and Research
&lt;/h2&gt;

&lt;p&gt;On the first day, I spent most of my time planning and researching. I started by brainstorming ideas for an AI-powered &lt;strong&gt;WhatsApp&lt;/strong&gt; assistant that could be developed within four days. I eventually settled on the idea of a platform that could provide personalized recommendations to users based on their queries.&lt;/p&gt;

&lt;p&gt;After the research, I began exploring the various technologies and tools available for building the platform. I chose &lt;strong&gt;NodeJS&lt;/strong&gt;, &lt;strong&gt;TypeScript&lt;/strong&gt;, and &lt;strong&gt;MongoDB&lt;/strong&gt; for the backend, &lt;strong&gt;OpenAI&lt;/strong&gt; for the artificial intelligence, and &lt;strong&gt;Twilio&lt;/strong&gt; for the &lt;strong&gt;WhatsApp&lt;/strong&gt; integration.&lt;/p&gt;

&lt;p&gt;I also started designing the platform using &lt;strong&gt;Figma&lt;/strong&gt;, a collaborative design tool. I created wireframes and a rough layout for the landing page.&lt;/p&gt;

&lt;h2&gt;
  
  
  Day 2: Development
&lt;/h2&gt;

&lt;p&gt;With my plan in place, I started development on the second day. I began by setting up a basic &lt;strong&gt;NodeJS&lt;/strong&gt; and &lt;strong&gt;TypeScript&lt;/strong&gt; backend, including the integration with &lt;strong&gt;MongoDB&lt;/strong&gt; and &lt;strong&gt;Twilio&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Next, I integrated the &lt;strong&gt;OpenAI&lt;/strong&gt; GPT-3 model into the platform, allowing users to input their queries and receive personalized recommendations generated by the AI.&lt;/p&gt;

&lt;p&gt;One of the biggest challenges I faced during development was figuring out how to integrate the &lt;strong&gt;Twilio&lt;/strong&gt; API with the backend. It took some trial and error, but I eventually found a solution that worked.&lt;/p&gt;

&lt;p&gt;To ensure that any potential errors would be quickly identified and addressed, I also added &lt;strong&gt;Sentry&lt;/strong&gt;, an error monitoring service, to the platform.&lt;/p&gt;

&lt;p&gt;To cover the cost of using various APIs and ensure the continued development of &lt;a href="https://gnius.ai"&gt;Gnius.ai&lt;/a&gt;, I integrated &lt;strong&gt;Stripe&lt;/strong&gt;, a popular payment gateway, into the platform. With &lt;strong&gt;Stripe&lt;/strong&gt;, users can subscribe to &lt;a href="https://gnius.ai"&gt;Gnius.ai&lt;/a&gt; on a monthly basis and enjoy unlimited messaging. The revenue generated from subscriptions will ensure the long-term viability of the platform.&lt;/p&gt;

&lt;h2&gt;
  
  
  Day 3: Testing and Refinement
&lt;/h2&gt;

&lt;p&gt;On the third day, I spent most of my time testing and refining the platform. I used a combination of manual testing and automated testing using tools like Postman to ensure that the platform was functioning as intended.&lt;/p&gt;

&lt;p&gt;I also spent time refining the AI model, fine-tuning it to provide more accurate and relevant recommendations based on user queries.&lt;/p&gt;

&lt;p&gt;During this phase, I also continued to refine the design of the landing page using &lt;strong&gt;Figma&lt;/strong&gt;, incorporating feedback from early testers and improving the user interface to make it more intuitive and user-friendly.&lt;/p&gt;

&lt;h2&gt;
  
  
  Day 4: Deployment and Launch
&lt;/h2&gt;

&lt;p&gt;On the final day, I focused on deployment and launch. I deployed the platform to a cloud server using &lt;strong&gt;Heroku&lt;/strong&gt; and then launched it to the public.&lt;/p&gt;

&lt;p&gt;To gain insight into user behavior and preferences, I incorporated &lt;strong&gt;Segment&lt;/strong&gt; for tracking. This provided me with data on how users were utilizing the platform. By analyzing this data, I am able to further refine the AI model and enhance the overall user experience.&lt;/p&gt;

&lt;p&gt;The launch was a success, and I received positive feedback from users who appreciated the personalized recommendations provided by the AI.&lt;/p&gt;

&lt;h2&gt;
  
  
  Next Steps
&lt;/h2&gt;

&lt;p&gt;There’s always room for improvement in any project. In the future, I plan to add audio and image support to &lt;a href="https://gnius.ai"&gt;Gnius.ai&lt;/a&gt;, which will make it even more versatile and enhance the user experience. However, since &lt;a href="https://gnius.ai"&gt;Gnius.ai&lt;/a&gt; depends on &lt;strong&gt;OpenAI’s&lt;/strong&gt; third-party API, I may occasionally face slower-than-expected responses. To address this, I’ll continue to monitor the API’s performance and explore ways to optimize its integration with &lt;a href="https://gnius.ai"&gt;Gnius.ai&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Additionally, I’ll keep a close eye on user feedback and make iterative improvements to the platform’s AI model to ensure that it stays accurate and relevant. By being responsive to user needs and leveraging new technologies, I’m confident that &lt;a href="https://gnius.ai"&gt;Gnius.ai&lt;/a&gt; will continue to evolve and grow in exciting new ways.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--8weKb_NR--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vl2yrsjtgd3lsvo1wtfv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--8weKb_NR--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vl2yrsjtgd3lsvo1wtfv.png" alt="gnius.ai" width="800" height="420"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Creating &lt;a href="https://gnius.ai"&gt;Gnius.ai&lt;/a&gt;, an AI-powered &lt;strong&gt;WhatsApp&lt;/strong&gt; assistant, in just four days was a challenging but rewarding experience. By exploring various technologies and tools, conducting user experience research, and designing the landing page using &lt;strong&gt;Figma&lt;/strong&gt;, I was able to develop a functional platform that can help users get personalized recommendations quickly and easily.&lt;/p&gt;

&lt;p&gt;If you’re thinking of embarking on a similar challenge, my advice would be to start with a clear plan, conduct thorough user research, and be willing to experiment with different technologies and tools until you find what works best for you. It’s also important to focus on the user experience and design a platform that is intuitive and easy to use.&lt;/p&gt;

&lt;p&gt;Finally, don’t be afraid to seek feedback from early testers and incorporate their suggestions into your design and development process. With these tips in mind, you too can create a successful AI-powered platform in a short amount of time.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>softwaredevelopment</category>
      <category>productivity</category>
      <category>chatgpt</category>
    </item>
  </channel>
</rss>
