Ro·Nov 16Embeddings and Cosine Similarity: How an AI Knows That “Car” and “Vehicle” Mean the Same ThingLLMs solve this with embeddings, which convert text into a list of numbers that represents its meaning.
Ro·Nov 15Idempotency in APIs — Avoiding duplicate chargesImagine a user clicking a button for payments called “pay”. Instead, the connection to the internet dies, the user retries multiple times…
Ro·Nov 3Message Queue — The Key to Absorbing Spikes, Decoupling Services, and Enabling Asynchronous…A message queue is an intermediary (broker) that receives messages from producers and stores them until consumers process them.
Ro·Oct 27CDN (Content Deivery Network) — Reducing LatencyCDN is a server network distributed geographically (called edges or PoPs), allowing save a copy of your content near the users. The request…
Ro·Oct 21Caching — What It Is, How Can I Use It, and What Errors Can Occur When Using CachingCaching is a way to save a copy of data in a place that is faster than the database.
Ro·Oct 4Why an isolated LLM model doesn’t work: Building real sentiment analysis with LangChainAn LLM works to generate text. It doesn’t clean user input, can’t execute multiple tasks without adding latency or can’t change the output…
Ro·Sep 25RAG with LangChain: How it works from the insideA RAG system (Retrieval-Augmented Generation) allows an LLM to answer multiple questions using external data, e.g. docs, PDFs, or internal…
Ro·Sep 24GPT-2 and Attention MechanismBehind GPT-2 and LLM models, there is a key part: the Attention mechanism. This mechanism allows the model to join words with each other in…
Ro·Sep 20Multi-Layer Perceptron — The Core of Neural NetworksBefore understanding an MLP, it is useful to understand the Perceptron, because it is its fundamental unit. A perceptron receives inputs…
Ro·Sep 17How does it functionality of LLMs? Explained easilyWe have been using AI every moment, but… ¿How about behind the scene, when you press Enter?