• AI Ad copy generator

    Building an AI-Powered Amazon Ad Copy Generator with Flask and Gemini

    This post is part of the GenAI Series. Back-to-back GenAI-related posts, but I could not resist writing this post instead of a trading-related one. A few days ago, I built a small tool that lets you input an Amazon ASIN and instantly generate marketing copy, including Facebook ads, Amazon A+ content, and SEO product descriptions by using Gemini. The frontend is built with Bootstrap + jQuery, and the backend runs on Python Flask. While this was originally aimed at Amazon sellers, it turned out to be a fun exercise in prompt engineering, tool chaining, and turning structured product data into persuasive, persona-targeted content. If you are in a hurry, then watch…

  • AI Cover letter generator app

    Develop AI Cover letter generator app in Flask using Gemini API

    This post is part of the GenAI Series. In the previous post, I discussed creating a recipe generator AI app in PHP using OpenAI APIs. In this post, I will explain how to use Google’s Gemini LLM APIs to create another text-based AI app: an AI cover letter generator. Let’s dive in! If you are in a hurry you may check the demo video below: I introduced you to Google’s LLM API recently. At that time, it was called Bard, which was later rebranded to Gemini. I automated a WordPress blog with Bard APIs to create financial posts. API Key Generation To use Gemini APIs you need an API Key,…

  • Create Your First Real Estate Lead-Capturing Chatbot Using Voiceflow and Python Flask

    Introduction Chatbots are essential tools because they make communication between people and technology much easier. These clever programs can answer questions, provide helpful information, and even assist with tasks. In various fields like real estate, chatbots play a crucial role by engaging with potential clients, enhancing user experience, and helping businesses capture valuable leads. They’re like smart assistants who work around the clock, making interactions smoother and more efficient for everyone involved. Chatbots come in different levels of complexity, categorized as either stateless or stateful. Stateless chatbots treat each conversation as if it’s a new interaction with a user, while stateful chatbots can remember and consider past exchanges when generating…

  • Create a simple image search engine in OpenCV and Flask

    I recently started playing with OpenCV, an open-source Computer Vision library for image processing. Luckily there are Python bindings available. More luck that the guys like Adrian has done a great service by releasing both book and blog on a similar topic. I have also made a demo which can see below. Conclusion So this was a basic image processing tutorial in OpenCV. It is not a mature product as it can’t tell you about unique colors in a picture. It is just telling you informaiton based on pixel colors rather than performing color segmentation and clustering based on a ML algorithm. So what is it all about? Well, it…

  • Create an Adaptive Customer Behavior Analytics Dashboard with Claude AI and Python

    This post is part of the GenAI Series. In my previous post, I introduced OpenAI’s image APIs and used them to create avatars. Today, I’m diving into another LLM service, ClaudeAI, which has gained traction for its speed and sharp analytical responses. I asked Claude to brainstorm ideas for my next blog post about itself. Among many fantastic suggestions, I chose Customer Behavior Analysis. Finding a suitable dataset on Kaggle was easy, but the real challenge began when I started working on it. I didn’t expect it to take 4–5 hours to achieve my goal. Initially, I had no clear idea how to use Claude for this, but Claude itself guided…

  • Generate Stunning Avatars Using OpenAI APIs

    This post is part of the GenAI Series. So far in the series, we have created AI apps that generate text. In this post, I will introduce OpenAI’s image generation APIs, which can convert a textual prompt into an image and perform many other tasks related to images. I am going to make an app called AvatarAI. It will generate an avatar based on different parameters. Avatars are very common in the digital world. People use them mainly as profile pictures for forums, depicting their digital version. In case you are just interested in watching the demo, you can see it below: Prompt Engineering Like before, we will first create a prompt that…

  • Writer’s Block

    There was a time when I effortlessly wrote multiple blog posts each month, a practice that continued for years. However, for the last two years, I’ve been struggling to write anything. It’s not that I haven’t had anything to write about—look, this blog is a platform where I share whatever I learn. I’ve written on various topics in the past. It’s not like I haven’t done anything new in the last two years; I just haven’t felt the urge to write about them or convert my learnings into blog posts. This eventually made my learning activities somewhat stagnant. On the other hand, I became so occupied with work for others…

  • Getting started with OpenAI Assistant APIs and Python

    Earlier I had discussed using OpenAI Embeddings API to come up with a product recommendation system. In this post, I am going to discuss Assistant APIs, The APIs OpenAI provided to integrate custom GPTs. I am going to create a blog title generator in Flask that will be generating blog titles in the tech/gadget space. In case you are in a hurry you may want to watch the demo video of it: What is a custom GPT? According to OpenAI: …ChatGPT that combine instructions, extra knowledge, and any combination of skills. Custom GPTs, as the name says, are the customized versions of chatGPT that rely on your own data and…

  • Building an E-commerce Product Recommendation System with OpenAI Embeddings in Python

    Earlier I had written a post about using OpenAI APIs to create a stock sentiment analysis by feeding news to GPT models. In this post, I am going to introduce the concepts of Word Embeddings or Embeddings in general. I am going to write a product recommendation system using OpenAI embeddings API that consumes product-related datasets from Kaggle. If you are in hurry or not interested in technical details, check the demo video below:   Before I start developing the system itself, allow me to discuss a few words about embeddings and their need. What are embeddings According to Wikipedia: In natural language processing (NLP), a word embedding is a…