Logo
Type aliases

PgVectorHnswSettings

PgVectorHnswSettings = object

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

HNSW settings for PGVector.

Properties

ef_construction?

optional ef_construction: number

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

The number of edges to use during the construction phase.


optional ef_search: number

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

The number of edges to use during the search phase.


m?

optional m: number

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

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:5204

The type of vector to use.


distance_method?

optional distance_method: PgVectorDistanceMethod

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

The distance method to use.