RecommendBuilder

DSL for a recommend query: positive / negative examples plus an optional strategy.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

How positive/negative examples are combined (default: average-vector).

Functions

Link copied to clipboard
fun negative(id: PointId)

A negative example: an existing point's stored vector.

fun negative(input: VectorInput)

A negative example: any VectorInput.

fun negative(values: List<Float>)

A negative example: a dense vector.

Link copied to clipboard
fun positive(id: PointId)

A positive example: an existing point's stored vector.

fun positive(input: VectorInput)

A positive example: any VectorInput (e.g. sparse).

fun positive(values: List<Float>)

A positive example: a dense vector.