Type alias BaseNearOptions<T>

BaseNearOptions<T>: SearchOptions<T> & {
    certainty?: number;
    distance?: number;
    targetVector?: TargetVectorInputType;
}

Base options for the near search queries.

Type Parameters

  • T

Type declaration

  • Optional certainty?: number

    The minimum similarity score to return. Incompatible with the distance param.

  • Optional distance?: number

    The maximum distance to search. Incompatible with the certainty param.

  • Optional targetVector?: TargetVectorInputType

    Specify which vector to search on if using named vectors.