surfaceembeddingembed_with_storage
Embeddingscalar · returns double[]

EMBED_WITH_STORAGE

Generate embedding and store with table/column/ID tracking

Per-row — runs once for each row.

embeddingembedding-modelspecialist-zootext

Arguments

nametypedescription
textVARCHARText to embed
model(optional)VARCHAROptional model
source_tableVARCHARSource table name
column_nameVARCHARSource column name
source_idVARCHARSource row ID

About

Generate text embeddings AND store them in lars_embeddings with table/ID tracking. SQL Usage: SELECT id, semantic_embed_with_storage(description, NULL, 'products', 'description', CAST(id AS VARCHAR)) FROM products; This stores: source_table='products', metadata={'column_name': 'description'}, source_id='1'

Nearby rabbit holes

same domain
Climb back to The Looking Glass