DiscoverBuilder

DSL for a discovery query: a target plus context example pairs.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun context(positive: VectorInput, negative: VectorInput)

Add a positive/negative context pair that constrains the search region.

Link copied to clipboard
fun target(id: PointId)

The target to rank by: an existing point's stored vector.

fun target(input: VectorInput)

The target to rank by: any VectorInput.

fun target(values: List<Float>)

The target to rank by: a dense vector.