Skip to main content

What are embeddings, and what do they mean for your site?

The Tasadr team · ·3 min read

Embeddings are lists of numbers that represent the meaning of a text, so texts close in meaning get close numbers. A system can then search by meaning, not by words alone. A page can reach a question whose words it does not repeat, if its meaning is near, which favours a page that answers the question clearly.

Also known as embeddings · embedding · vector embeddings · text embeddings · التضمينات · المتجهات

On this page (7)
  1. What are embeddings?

    It is a way for an AI model to turn a text into a long list of numbers, called a vector, that represents its meaning. Comparing two texts becomes comparing two vectors. OpenAI's documentation says its text embeddings measure the relatedness of text strings: a small distance between vectors means high relatedness and a large one means low relatedness.

    Uses include search, ranking results by closeness to the query, clustering, which groups similar texts, and recommendations of related items. Google's machine learning course gives the example of a meals app that suggests crepes to someone who likes pancakes.

  2. How do embeddings relate to AI answers and your site?

    When a retrieval system searches with embeddings, as in retrieval-augmented generation, it compares the meaning of your customer's question with the meaning of passages from many pages. It reaches your page if a passage on it is close in meaning to the question, even when the words differ.

    We have no public description of how each engine picks its passages, so do not build a plan on a guess. The safe rule is to write passages that answer one question clearly.

    Searching by word and searching by meaning
    AspectSearching by wordSearching with embeddings
    What it comparesMatching wordsCloseness of meaning
    The question "cheap braces clinic"Looks for the same wordsMay reach a page on "braces prices in instalments"
    What helps youYour customer's words on the pageA clear answer to one question per passage
  3. An Arab-market example: a real estate office in Dammam

    An illustrative example. A fictional office at dammam-homes.example publishes a page titled "Apartment financing for residents". A customer asks "can I buy an apartment with a loan if I am not Saudi?", and those words are not on the page.

    If the page has a passage that answers directly about a resident buying with financing, that passage is close in meaning to the question. If the page is scattered general talk, the system finds no close passage and may not reach it.

  4. What should you do with your pages about embeddings?

    Write each passage to answer one full question, with the question as its heading and the answer in its first sentence.

    • Make section headings the questions your customers ask.
    • Start each section with a complete answer that stands alone.
    • Do not mix several topics in one section.
    • Use your customer's words and their synonyms naturally.
    • Read your customers' real questions in Answer Tracking.

Sources

  1. Embeddings, Machine Learning Crash Course · Google for Developers ·
  2. Vector embeddings guide · OpenAI ·

Frequently asked questions

Do I need to understand embeddings to write good pages?

No. Writing clear passages that answer one question in your customer's words is enough. Embeddings explain why that works.

Did embeddings end the role of keywords?

No. Words still bring your page close to the search results that Google's generative features rest on. Embeddings add closeness of meaning. See keyword.

Do all AI engines use embeddings?

We have no public description for each engine. The term names a well-known technique in retrieval systems, not what every engine does.