Functions
bm25Score()
FunctionExpression
multiVectorDistance()
Matrix instance. To specify a different matrix type,
use matrix() with valueType.
The optional candidates parameter limits the number of candidate vectors considered during retrieval.
| Parameter | Type |
|---|---|
field | string |
query | Matrix | number[][] |
candidates? | number |
FunctionExpression
semanticSimilarity()
| Parameter | Type |
|---|---|
field | string |
query | string |
FunctionExpression
vectorDistance()
| Parameter | Type |
|---|---|
field | string |
query | | number[] | List | SparseVector | Record<number, number> |
options? | VectorDistanceOptions |
FunctionExpression