Builder

class Builder

Properties

Link copied to clipboard

Metadata filter to apply during the query. For more information about metadata keys, see Metadata filtering in the Amazon S3 User Guide.

Link copied to clipboard

The ARN of the vector index that you want to query.

Link copied to clipboard

The name of the vector index that you want to query.

Link copied to clipboard

The query vector. Ensure that the query vector has the same dimension as the dimension of the vector index that's being queried. For example, if your vector index contains vectors with 384 dimensions, your query vector must also have 384 dimensions.

Link copied to clipboard

Indicates whether to include the computed distance in the response. The default value is false.

Link copied to clipboard

Indicates whether to include metadata in the response. The default value is false.

Link copied to clipboard
var topK: Int?

The number of results to return for each query.

Link copied to clipboard

The name of the vector bucket that contains the vector index.