Samples
Arguments
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
| min_rows | int | 100000 | ✖ | The minimum number of rows before creating the index |
| opclass | text | vector_cosine_ops | ✖ | The operator class for the index. Possible values are: vector_cosine_ops, vector_l1_ops, or vector_ip_ops |
| m | int | - | ✖ | Advanced HNSW parameters |
| ef_construction | int | - | ✖ | Advanced HNSW parameters |
| create_when_queue_empty | boolean | true | ✖ | Create the index only after all of the embeddings have been generated |
Returns
A JSON configuration object that you can use inai.create_vectorizer.