Logo
Variables

PgVectorDistanceMethod

PgVectorDistanceMethod: object

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

Distance methods for PGVector. Docs: https://github.com/pgvector/pgvector?tab=readme-ov-file#query-options

Type declaration

L2

readonly L2: "l2" = "l2"

IP

readonly IP: "ip" = "ip"

COSINE

readonly COSINE: "cosine" = "cosine"

L1

readonly L1: "l1" = "l1"

HAMMING

readonly HAMMING: "hamming" = "hamming"

JACCARD

readonly JACCARD: "jaccard" = "jaccard"