Tag Archives: Python

Python – Unit Testing

By | 03/09/2025

In this post, we will see how to manage Unit Testing in our Python projects.I just want to remember that Unit Testing is the process of testing individual components (units) of our code to verify that each part functions as intended. By isolating and testing the smallest parts of our application, we can catch bugs… Read More »

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 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 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 »

Python – Lambda Functions

By | 28/05/2025

In this post, we will see what the Lambda Functions are and how we can use them in our projects.But first of all: what are “Lambda functions”?“Lambda Functions are small, anonymous functions defined with the “lambda” keyword. Unlike regular functions defined with “def”, a Lambda Function is typically one line of code, used to perform… Read More »

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 – Streamlit (Part III)

By | 19/03/2025

Python – Streamlit (Part I)Python – Streamlit (Part II) In this last post on Streamlit, we will see how to manage a form Data, how to manage Buttons and Events and finally we will see how to manage the Session State. FORMForms in Streamlit allow us to group multiple input widgets and submit them together,… Read More »

Python – Streamlit (Part II)

By | 05/03/2025

In the previous post, we introduced Streamlit and covered some basic features. In this post, we’ll explore more advanced features, including navigation, tabs, columns and containers that allow us to create more complex and organized web apps. SIDEBARA sidebar can be added to our applications to house widgets, menus, or inputs that organize the user… Read More »