TF-IDF: Term Frequency-Inverse Document Frequency

Posted on Tue 06 October 2026 in AI / Machine Learning

What is TF-IDF?

TF-IDF (Term Frequency-Inverse Document Frequency) — is a numerical technique used in Natural Language Processing (NLP) to measure how important a word is within a document compared with a collection of documents.

Instead of treating every word as equally important, TF-IDF gives higher scores to words that are …

Continue reading

HNSW: Hierarchical Navigable Small World

Posted on Mon 05 October 2026 in AI / Machine Learning

What is HNSW?

HNSW (Hierarchical Navigable Small World) — is a graph-based algorithm used for fast approximate nearest neighbor (ANN) search. It is widely used in vector databases and AI applications to quickly find vectors that are most similar to a given query.

When an AI system stores thousands or millions …

Continue reading

LangChain Project Setup & First Execution

Posted on Sun 17 May 2026 in AI & Machine Learning

Setting up a LangChain project correctly from the start saves hours of debugging later. Here's how to build a solid foundation — from Python environments to your first working LLM call.


Why Setup Matters More Than You Think

Most LangChain tutorials skip straight to the exciting part: calling an LLM. But …

Continue reading

Understanding the LangChain Landscape: A Beginner Guide

Posted on Sat 16 May 2026 in AI & Machine Learning

From prompt experiments to production-ready AI systems — here's what LangChain actually is, what it isn't, and why it matters.


Why LangChain Exists

Large Language Models are impressive — but raw LLM API access is not an application. Out of the box, an LLM can generate text, answer questions, and follow instructions …

Continue reading