create_vector_index
Speed up vector similarity search by creating HNSW or IVFFlat indexes on a vector column.
Instructions
Create an HNSW or IVFFlat approximate-nearest-neighbor index on a vector column.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | ||
| column | Yes | ||
| hnsw_m | No | ||
| method | No | hnsw | |
| metric | No | cosine | |
| schema | No | public | |
| ivfflat_lists | No | ||
| hnsw_ef_construction | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||