AWS SDK Version 4 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Represents a request to perform a vector search in a DynamoDB table using the Document Model.

Inheritance Hierarchy

System.Object
  Amazon.DynamoDBv2.DocumentModel.DocumentOperationRequest
    Amazon.DynamoDBv2.DocumentModel.SearchVectorsOperationRequest

Namespace: Amazon.DynamoDBv2.DocumentModel
Assembly: AWSSDK.DynamoDBv2.dll
Version: 3.x.y.z

Syntax

C#
public class SearchVectorsOperationRequest : DocumentOperationRequest

The SearchVectorsOperationRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property IndexName System.String

Gets or sets the index name to query against.

Public Property ProjectionExpression Amazon.DynamoDBv2.DocumentModel.Expression

Gets or sets the projection expression specifying which attributes should be retrieved.

Public Property ReturnConsumedCapacity Amazon.DynamoDBv2.ReturnConsumedCapacity

Controls whether DynamoDB returns vector capacity consumption details for each SearchVectors request. Defaults to NONE. Set to TOTAL or INDEXES to capture consumed capacity metrics in SearchVectors.Metrics.

Public Property SearchConditionExpression Amazon.DynamoDBv2.DocumentModel.Expression

Gets or sets the filter expression specifying which items should be returned.

Public Property SearchVector System.Collections.Generic.List<System.Single>

Gets or sets the required query vector as a list of numeric (N) values. Values must be f32-compatible and the vector length must match the index dimensions.

Public Property TopK System.Int32

Gets or sets the number of top results to return from the vector search.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.7.2 and newer