• 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…

  • Create Stock Sentiment Analysis in Python using chatGPT

    ChatGPT is a large language model developed by OpenAI that has gained immense popularity for its ability to generate human-like text responses to prompts. With its advanced natural language processing capabilities, ChatGPT has become a powerful tool for a variety of applications, including sentiment analysis. By analyzing text data and identifying the underlying sentiment, ChatGPT can provide valuable insights into customer feedback, social media sentiment, and other aspects of public opinion. In this blog post, I’ll explore how ChatGPT can be used for sentiment analysis without using any library or code to write the main logic. Let’s proceed! If you are in a hurry or not interested in technical details…

  • Create your first NFT Marketplace for selling cars in PHP Laravel and web3.js

    If you are into Crypto then chances are you have heard about NFT, especially after the incidents like Beeple sold his art for $69 million dollars or this friendship meme. NFT is usually considered is suitable for arts like pictures only but this is not true. NFT is all about uniqueness, authority, and the transfer of ownership. We are going to use NFT for selling cars. The video demo of this project can be seen below:   In this post, I will be discussing how to mint ERC721 NFT tokens and then integrate them with new or existing websites. The user who buys a car will pay the amount of…

  • Getting started with FastAPI and MySQL
    Learn how to create Db driven Rest APIs in FastAPI

    This post is part of the FastAPI series. In the first post, I introduced you to FastAPI and how you can create high-performance Python-based applications in it. In this post, we are going to work on Rest APIs that interact with a MySQL DB. We will also be looking at how we can organize routers and models in multiple files to make them maintainable and easier to read. FastAPI does not strict you to use a certain database framework. You may use SQLAlchemy or any other you want. I’d prefer to use peewee since it’s more expressible and easier to use. Installing Peewee and MySQL Drivers Before start using MySQL…

  • Create your first REST API in FastAPI
    A step by step guide creating high performance APIs in Python

    This post is part of the FastAPI series. In this post, I am going to introduce FastAPI: A Python-based framework to create Rest APIs. I will briefly introduce you to some basic features of this framework and then we will create a simple set of APIs for a contact management system. Knowledge of Python is very necessary to use this framework. Before we discuss the FastAPI framework, let’s talk a bit about REST itself. From Wikipedia: Representational state transfer (REST) is a software architectural style that defines a set of constraints to be used for creating Web services. Web services that conform to the REST architectural style, called RESTful Web services,…

  • Create your first sales dashboard in Apache Superset
    Learn how to use Apache Superset to create an interactive e-commerce sales dashboard

    So far You have learned how to acquire data, process it and visualize it. Today I am going to talk about dashboards that what are they and how you can come up your own personal or enterprise dashboard for sales data by using Apache Superset. What is a Dashboard? According to Wikipedia: A dashboard is a type of graphical user interface which often provides at-a-glance views of key performance indicators (KPIs) relevant to a particular objective or business process. In other usage, “dashboard” is another name for “progress report” or “report.”   Basically, a dashboard is an information management tool that could show information both in text and visual format in the form of charts, tables…

  • Getting started with Apache Airflow

    This post is the part of Data Engineering Series. In this post, I am going to discuss Apache Airflow, a workflow management system developed by Airbnb. Earlier I had discussed writing basic ETL pipelines in Bonobo. Bonobo is cool for write ETL pipelines but the world is not all about writing ETL pipelines to automate things. There are other use cases in which you have to perform tasks in a certain order once or periodically. For instance: Monitoring Cron jobs transferring data from one place to other. Automating your DevOps operations. Periodically fetching data from websites and update the database for your awesome price comparison system. Data processing for recommendation based…

  • Develop your first python app integrated with decentralized Stellar network

    In this post I am going to discuss how to create a decentralized blockchain app aka dApp for Stellar Network. I will build a very simple web app, world’s simplest Ecommerce app, called it RocketCommerce where people can buy a single item by paying Lumens(XLM), stellar’s currency. The interface of the app looks like below: Before we get into the development of the application itself, allow me to discuss some background of Blockchain, decentralized apps and Stellar Network itself. What is Blockchain? From Wikipedia: A blockchain, originally block chain is a continuously growing list of records, called blocks, which are linked and secured using cryptography.[1][6] Each block typically contains a cryptographic hash of the previous block,[6] a timestamp and transaction data.[7] By design, a…