source | regclass | - | ✔ | The source table that embeddings are generated for |
name | text | Auto-generated | ✖ | Unique name for the vectorizer. Auto-generated based on destination type if not provided. Must follow snake_case pattern ^[a-z][a-z_0-9]*$ |
destination | Destination config | ai.destination_table() | ✖ | How embeddings will be stored: ai.destination_table() (default) or ai.destination_column() |
embedding | Embedding config | - | ✔ | How to embed the data using ai.embedding_*() functions |
loading | Loading config | - | ✔ | How to load data from source table using ai.loading_*() functions |
parsing | Parsing config | ai.parsing_auto() | ✖ | How to parse the data using ai.parsing_*() functions |
chunking | Chunking config | ai.chunking_recursive_character_text_splitter() | ✖ | How to split text data using ai.chunking_*() functions |
indexing | Indexing config | ai.indexing_default() | ✖ | How to index embeddings using ai.indexing_*() functions |
formatting | Formatting config | ai.formatting_python_template() | ✖ | How to format data before embedding |
scheduling | Scheduling config | ai.scheduling_default() | ✖ | How often to run the vectorizer using ai.scheduling_*() functions |
processing | Processing config | ai.processing_default() | ✖ | How to process embeddings |
queue_schema | name | - | ✖ | Schema where the work queue table is created |
queue_table | name | - | ✖ | Name of the work queue table |
grant_to | Grant config | ai.grant_to_default() | ✖ | Which users can use objects created by the vectorizer |
enqueue_existing | bool | true | ✖ | Whether existing rows should be immediately queued for embedding |
if_not_exists | bool | false | ✖ | Avoid error if the vectorizer already exists |