Skip to main content

Posts

Featured

Vector Search in AI: A Complete Beginner's Guide

Vector Search 1. What is Vector Search? Vector Search is a method of finding the most similar information by comparing vectors. Since embeddings convert text into vectors, we can use those vectors to search for information based on meaning , not just exact words. The basic idea is: Text ↓ Embedding ↓ Vector ↓ Search similar vectors ↓ Relevant information 2. Why Normal Search Is Not Always Enough Imagine you have this document: "React is a JavaScript library used for building user interfaces." Now the user searches: "What is used to create UI with JavaScript?" A traditional keyword search may struggle because the exact words don't match. The document says: "building user interfaces" while the question says: "create UI" The meaning is similar , even though the words are different. Vector Search is designed to find this kind of similarity. 3. How Vector Search Works Suppose we have three documents: D...

Latest posts

Embeddings in LLMs Explained: How Text Becomes Meaningful Numbers

LLM Temperature Explained: How It Controls AI Output and Randomness

What Are Tokens in LLMs? Complete Guide to Tokenization

Large Language Models (LLMs): A Beginner's Guide

Searching for a software engineering job? Here's a strategy that has worked better for me than relying only on LinkedIn.

TypeScript Interview Questions and Answers

Understanding Memoization in react

Code Splitting