Day 6 – FastAPI + llama.cpp Integration

Posted on Sat 18 April 2026 in GenAI • Tagged with GenAI, FastAPI, LLM, llama.cpp

Introduction

Day 6 of my GenAI Learning Challenge.

Today, I integrated a local LLM with FastAPI to build a usable AI backend. Instead of running the model separately, user input is sent through an API and processed by llama.cpp.

This is a key step toward building real AI applications …


Continue reading

Day 5 – Running LLM Locally with llama.cpp

Posted on Fri 17 April 2026 in GenAI • Tagged with GenAI, llama.cpp, LLM, LocalAI

Introduction

In Generative AI systems, most models are accessed through APIs. However, running models locally is becoming increasingly important for privacy, cost efficiency, and offline usage.

To understand how local inference works, I ran a Large Language Model (LLM) on my system using llama.cpp.

In this session, I focused …


Continue reading

Day 3 – Building an End-to-End AI Pipeline

Posted on Wed 15 April 2026 in GenAI • Tagged with GenAI, AI Pipeline, llama.cpp, MongoDB

Introduction

In real-world AI systems, models alone are not enough. They need memory, structured outputs, and backend logic to work effectively.

To understand this, I built a simple end-to-end AI pipeline using a local model (llama.cpp) and MongoDB.

In this session, I focused on:

  • Running a local AI model …

Continue reading