Interface CreateIndexOptions

Hierarchy

Properties

dimension: number

The dimensions of the vectors to be inserted in the index.

Memberof

CreateIndexRequest

The distance metric to be used for similarity search. You can use 'euclidean', 'cosine', or 'dotproduct'. Defaults to 'cosine'.

name: string

The name of the index. Resource name must be 1-45 characters long, start and end with an alphanumeric character, and consist only of lower case alphanumeric characters or '-'.

Memberof

CreateIndexRequest

spec: null | CreateIndexRequestSpec

Memberof

CreateIndexRequest

suppressConflicts?: boolean

This option tells the client not to throw if you attempt to create an index that already exists.

waitUntilReady?: boolean

This option tells the client not to resolve the returned promise until the index is ready to receive data.