Tag Archives: Python

AI – Using Python for RAG (Part IV) over Database

By | 20/08/2025

In this post, we will see how to create a specialized RAG system over SQLite database, using a table called “movies” where we will store movies information.Before we dive into the code, we have to install all the necessary dependencies: Now, let’s see how to define our RAG pipeline: [STEP 1] – Database Setup and… Read More: AI – Using Python for RAG (Part IV) over Database »

AI – Using Python for RAG (Part III) over Dataset

By | 23/07/2025

In this post, we will see how to create a specialized RAG system using a large CSV contains details of 1000 more movies, including titles, genres, descriptions, and ratings.The system will process structured CSV data, create semantic embeddings for each record, build a searchable vector index, and provide an interactive query interface based on a local… Read More: AI – Using Python for RAG (Part III) over Dataset »

AI – Using Python for RAG (Part II) over PDFs

By | 09/07/2025

In this post, we will see how to create a specialized RAG system called “Gemma3_Rag_Model”, using three foundational papers in natural language processing:“Attention Is All You Need” by Vaswani et al. (2017) – The seminal paper introducing the Transformer architecture “BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding” by Devlin et al. (2018) –… Read More: AI – Using Python for RAG (Part II) over PDFs »

AI – Using Python for a RAG (Part I)

By | 25/06/2025

In this post, we will see what a RAG is and how to execute it locally using Python, Ollama, and Google’s Gemma3 model with three differents projects: But first of all, what is a RAG?“Retrieval Augmented Generation (RAG) is a hybrid approach that integrates an information retrieval system with a generative language model to produce… Read More: AI – Using Python for a RAG (Part I) »

Python – Pandas

By | 30/04/2025

In this post, we will see what Pandas is and how we can use it in our Python projects.Pandas is an open-source Python library that provides high-performance, easy-to-use data structures and data analysis tools.Built on top of NumPy and provides easy-to-use data structures and data analysis tools. It is particularly well-suited for handling structured data,… Read More: Python – Pandas »