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.
DynamoDB property attribute that marks a member as a search vector associated with a vector index on a table. Members marked with this attribute must be of type System.Collections.Generic.List`1 of System.Single.
Namespace: Amazon.DynamoDBv2.DataModel
Assembly: AWSSDK.DynamoDBv2.dll
Version: 3.x.y.z
public sealed class DynamoDBSearchVectorAttribute : DynamoDBPropertyAttribute
The DynamoDBSearchVectorAttribute type exposes the following members
| Name | Description | |
|---|---|---|
|
DynamoDBSearchVectorAttribute() |
Default constructor. |
|
DynamoDBSearchVectorAttribute(string) |
Constructor that specifies the vector index this search vector belongs to. |
| Name | Type | Description | |
|---|---|---|---|
|
AttributeName | System.String | Inherited from Amazon.DynamoDBv2.DataModel.DynamoDBRenamableAttribute. |
|
Converter | System.Type | Inherited from Amazon.DynamoDBv2.DataModel.DynamoDBPropertyAttribute. |
|
IndexName | System.String |
Name of the vector index this search vector belongs to. |
|
StoreAsEpoch | System.Boolean | Inherited from Amazon.DynamoDBv2.DataModel.DynamoDBPropertyAttribute. |
|
StoreAsEpochLong | System.Boolean | Inherited from Amazon.DynamoDBv2.DataModel.DynamoDBPropertyAttribute. |
|
TypeId | System.Object | Inherited from System.Attribute. |
public class Document
{
[DynamoDBSearchVector("VectorIndex")]
public List<float> Embedding { get; set; }
}
.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