Embedding

What is an Embedding?

If we were to describe this feature in one sentence, we would say that text embeddings represent text strings as vectors in high-dimensional space, enabling the measurement of similarity between them.

Embeddings, in general, are commonly used for tasks such as finding the most relevant results for a search query, grouping text strings based on their similarity, recommending items with similar text, identifying text strings that greatly differ from others, analyzing the differences between text strings, and labeling text strings based on their closest match.

From a practical standpoint, embeddings represent real-world objects and relationships in the form of vectors (lists of numbers). This same vector space measures ...

Get OpenAI GPT For Python Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.