Interface HnswQueryResult

Result from a KNN query.

interface HnswQueryResult {
    id: string;
    distance: number;
}

Properties

Properties

id: string

Trace ID.

distance: number

Distance from query vector (lower = closer for cosine distance).