Category: python

  • FAST API

    FastAPI is a modern, fast (high-performance), web framework for building APIs with Python 3.6+ based on standard Python type hints. Here are several reasons why FastAPI is an excellent choice for building APIs: 1. Speed FastAPI is one of the fastest web frameworks available, thanks to its use of Starlette for the web parts and…

  • Analyzing Wikipedia Articles with Langchain and OpenAI in Databricks

    This blog post will walk you through a project aimed at categorizing Wikipedia articles using OpenAI’s language model integrated into a Databricks notebook. We’ll cover the installation of necessary packages, dataset loading, and the categorization process. Prerequisites Step-by-Step Guide 1. Install Necessary Packages First, we need to install the required libraries, langchain_openai and langchain_core. 2.…

  • RAG: Retrieval-Augmented Generation.

    RAG typically stands for Retrieval-Augmented Generation. It’s a technique used in natural language processing and artificial intelligence that combines information retrieval with text generation. What RAG Here’s a brief overview: Why RAG RAG (Retrieval-Augmented Generation) was developed to address several key challenges in AI and natural language processing: RAG is particularly useful because it allows…

  • Pandas Remove Duplicates

    When dealing with duplicate rows in data analysis, the steps to identify and handle them depend on your specific needs. Here’s a general guide to address duplicate rows in a dataset using Python with pandas: These examples offer greater flexibility for identifying and removing duplicate rows based on your unique needs. Effectively managing duplicates ensures…