Skill 3.1.4
Identify which columns to include in embeddings
Key Concepts
Good candidates are descriptive text columns such as names, titles, descriptions, reviews and article bodies. Several columns can be concatenated with labels, for example CONCAT('Name: ', Name, '. Category: ', Category, '. ', Description), so short fields gain context. Identifiers, prices, quantities, dates and status codes are poor embedding content because numbers and codes carry little semantic meaning; they are applied as exact filters (WHERE clauses or iterative filters with VECTOR_SEARCH) instead.
Columns that change often or contain personal data need care: frequent changes cost re-embedding, and sensitive values in embedded text may be sent to the model provider and can be partly recovered from vectors. The embedded text should match the style of the questions users ask, and storing the source text or a hash next to the vector shows when the embedding is out of date.