Logo
Type aliases

PgVectorHnswSettings

PgVectorHnswSettings = object

Defined in: packages/cloud/src/client/types.gen.ts:4308

HNSW settings for PGVector.

Properties

ef_construction?

optional ef_construction: number

Defined in: packages/cloud/src/client/types.gen.ts:4312

The number of edges to use during the construction phase.


optional ef_search: number

Defined in: packages/cloud/src/client/types.gen.ts:4316

The number of edges to use during the search phase.


m?

optional m: number

Defined in: packages/cloud/src/client/types.gen.ts:4320

The number of bi-directional links created for each new element.


vector_type?

optional vector_type: PgVectorVectorType

Defined in: packages/cloud/src/client/types.gen.ts:4324

The type of vector to use.


distance_method?

optional distance_method: PgVectorDistanceMethod

Defined in: packages/cloud/src/client/types.gen.ts:4328

The distance method to use.

On this page