Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

DistanceMetric

import type { DistanceMetric } from "https://esm.sh/@supabase/storage-js@2.105.4/dist/index.d.mts";

Distance metrics for vector similarity search

type DistanceMetric =
| "cosine"
| "euclidean"
| "dotproduct"
| (string & {});

§Type

§
"cosine" | "euclidean" | "dotproduct" | (string & {})
[src]