1.0.0 (latest) 0.3.0 0.2.3

    VectorIndex(
        name: typing.Optional[str] = None,
        distance_measure: langchain_google_cloud_sql_mysql.indexes.DistanceMeasure = DistanceMeasure.L2_SQUARED,
        num_leaves: typing.Optional[int] = None,
    )

Represents a vector index for storing and querying vectors.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name :noindex:` | `Optional[str]` The name of the index. |
| `distance_measure :noindex:` | `DistanceMeasure` The distance measure to use for the index. Defaults to L2_SQUARED. |
| `num_leaves :noindex:` | `Optional[int]` The number of leaves (partitions) for the index. None for default. |

## Methods

### VectorIndex

    VectorIndex(
        name: typing.Optional[str] = None,
        distance_measure: langchain_google_cloud_sql_mysql.indexes.DistanceMeasure = DistanceMeasure.L2_SQUARED,
        num_leaves: typing.Optional[int] = None,
    )

Initializes a new instance of the VectorIndex class.