Urgent.News

What's breaking now, across thousands of outlets.

AI

Day 11: Embeddings and Vector Representations — How Machines Map Meaning

To make an AI work with your own company data, you first have to turn that data into something a machine can measure . Words are not measurable. Numbers are. The bridge between the two is the embedding . In plain terms: Imagine a giant map where every sentence in your company has a pin. Sentences about the same topic are pinned close together, and unrelated ones are far apart. An embedding is the…

Day 11: Embeddings and Vector Representations — How Machines Map Meaning

To enable an AI to work with your company's data, you must convert that data into measurable form. Words are unquantifiable; numbers are. The intermediary is the embedding. Visualize a colossal map with each sentence in your company assigned a pin. Sentences sharing a topic are clustered together, while unrelated ones are spread apart. An embedding pin's coordinates is the pin's location.

An embedding model transforms a text snippet into a dense vector, typically a list of 768 or 1536 numbers. You never read these numbers directly; their relationships matter. Similar meanings produce similar vectors, effectively placing them close together on the map. The term "network latency" and "packet drop" are near each other, whereas "financial forecast" is far removed. The same holds true for a question you pose; it too is converted into a vector and lands next to the text that answers it.

The key to embeddings lies in the distance measure known as cosine similarity. It compares the direction of two vectors. A score approaching 1 indicates the vectors point in the same direction, meaning the texts have similar meanings. A score close to 0 signifies the vectors are unrelated. In essence, embedding search surpasses keyword search in relevance.

If you ask, "Why is the site slow?", a keyword search would miss a document discussing high latency on the web tier. However, an embedding search would locate that paragraph because the meaning is synonymous, even if the words differ.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in AI

How I built an AI that takes over my job search

Jede Woche durchsucht meine Software etwa zwanzig Stellenbörsen. Sie sammelt ein paar hundert Stellenanzeigen. Ein einziger LinkedIn-Sweep brachte kürzlich 112 Ergebnisse.

  • AI developed to assist job applications
  • Software scans 20 job boards weekly, collects 100+ listings
  • Four-stage system filters and evaluates positions

🌿 WildStep: I Built an AI That Wants You to Close the App"

🌿 WildStep: I Built an AI That Wants You to Close the App Most apps want your attention. More scrolling. More recommendations. More time spent looking at a screen.

  • WildStep AI app personalizes outdoor missions for users
  • Users earn Grass Points for completing tasks and tracking progress
  • Open innovation allows developers to experiment with mission prompts

More from Sunday 11 October →