Key features
- New table created to store embeddings
- View automatically joins source and embeddings tables
- Supports chunking (multiple chunks per row)
- Separate storage optimizes for different access patterns
Samples
Full configuration
Specify all destination details:Simpler configuration with defaults
Use a base name and let defaults apply:- Table:
my_table_embeddings_store - View:
my_table_embeddings
Arguments
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
destination | NAME | - | ✖ | Base name for view and table. View is named <destination>, table is named <destination>_store |
target_schema | NAME | Source table schema | ✖ | Schema where the embeddings table will be created |
target_table | NAME | <source_table>_embedding_store or <destination>_store | ✖ | Name of the table where embeddings will be stored |
view_schema | NAME | Source table schema | ✖ | Schema where the view will be created |
view_name | NAME | <source_table>_embedding or <destination> | ✖ | Name of the view that joins source and embeddings tables |
Returns
A JSON configuration object for use increate_vectorizer().
Related functions
destination_column(): alternative approach storing embeddings in source tablecreate_vectorizer(): main function using this configuration