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.89.0/dist/index.d.mts";

Distance metrics for vector similarity search

type DistanceMetric = "cosine" | "euclidean" | "dotproduct";

§Type

§
"cosine" | "euclidean" | "dotproduct"
[src]