QueryVectorsOptions

class QueryVectorsOptions(val vectorBucketName: String, val indexName: String)(source)

Options for querying similar vectors (ANN search)

Constructors

Link copied to clipboard
constructor(vectorBucketName: String, indexName: String)

Properties

Link copied to clipboard
var filter: JsonObject?

Optional JSON filter for metadata

Link copied to clipboard

Name of the index

Link copied to clipboard

Query vector to find similar vectors

Link copied to clipboard

Whether to include distance scores

Link copied to clipboard

Whether to include metadata in results

Link copied to clipboard
var topK: Int?

Number of nearest neighbors to return (default: 10)

Link copied to clipboard

Name of the vector bucket