Package version:

Interface SearchScoreThreshold

The results of the vector query will filter based on the '@search.score' value. Note this is the @search.score returned as part of the search response. The threshold direction will be chosen for higher @search.score.

interface SearchScoreThreshold {
    kind: "searchScore";
    value: number;
}

Hierarchy (view full)

Properties

Properties

kind

Polymorphic discriminator, which specifies the different types this object can be

value: number

The threshold will filter based on the '@search.score' value. Note this is the @search.score returned as part of the search response. The threshold direction will be chosen for higher @search.score.