Introduction
Let's understand some basic concepts and features before using advanced techniques like document grounding. We will first understand the significance of the SAP HANA vector engine and vector embeddings. We will see how the generative AI hub simplifies the usage of these techniques.
Vector Embeddings
A vector is a list of numerical float values with magnitude and direction.
In generative AI, it represents an object such as a book, car, or customer record by describing the object itself, its attributes, or its characteristics for comparison.
An embedding is a number within the vector that represents data by capturing meaningful information, semantic relationships, or contextual characteristics.
![A table showing text-to-embedding pairs. In blue text are: tea [75, 75], coffee [80, 60], milk [130, 80]. In green text are: dog [290, 90], puppy [240, 100], wolf [300, 100]. In orange text is congress [400, 40]. A table showing text-to-embedding pairs. In blue text are: tea [75, 75], coffee [80, 60], milk [130, 80]. In green text are: dog [290, 90], puppy [240, 100], wolf [300, 100]. In orange text is congress [400, 40].](https://learning.sap.com/service/media/topic/cae98683-2ff0-4966-9031-78cb811d8424/AIG03_10_en-US_media/AIG03_10_en-US_images/U3_L1_Fig_1.png)
Vector embeddings in the context of the SAP HANA vector engine refer to numerical representations of objects such as text, images, or audio. The model responsible for converting text to embeddings is called the Text Embeddings model. These embeddings are stored and managed within SAP HANA Cloud's vector engine, which is part of its multimodel processing capabilities.
The vector engine allows for efficient storage, retrieval, and analysis of high-dimensional vectors, enabling advanced applications like semantic search and RAG. This integration supports combining vector embeddings with other data types, facilitating intelligent data applications, and automated decision-making.