public sealed class IndexDatapoint : IMessage<IndexDatapoint>, IEquatable<IndexDatapoint>, IDeepCloneable<IndexDatapoint>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud AI Platform v1 API class IndexDatapoint.
A datapoint of Index.
Implements
IMessageIndexDatapoint, IEquatableIndexDatapoint, IDeepCloneableIndexDatapoint, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Assembly
Google.Cloud.AIPlatform.V1.dll
Constructors
IndexDatapoint()
public IndexDatapoint()
IndexDatapoint(IndexDatapoint)
public IndexDatapoint(IndexDatapoint other)
Parameter | |
---|---|
Name | Description |
other | IndexDatapoint |
Properties
CrowdingTag
public IndexDatapoint.Types.CrowdingTag CrowdingTag { get; set; }
Optional. CrowdingTag of the datapoint, the number of neighbors to return in each crowding can be configured during query.
Property Value | |
---|---|
Type | Description |
IndexDatapointTypesCrowdingTag |
DatapointId
public string DatapointId { get; set; }
Required. Unique identifier of the datapoint.
Property Value | |
---|---|
Type | Description |
string |
FeatureVector
public RepeatedField<float> FeatureVector { get; }
Required. Feature embedding vector. An array of numbers with the length of [NearestNeighborSearchConfig.dimensions].
Property Value | |
---|---|
Type | Description |
RepeatedFieldfloat |
Restricts
public RepeatedField<IndexDatapoint.Types.Restriction> Restricts { get; }
Optional. List of Restrict of the datapoint, used to perform "restricted searches" where boolean rule are used to filter the subset of the database eligible for matching. See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
Property Value | |
---|---|
Type | Description |
RepeatedFieldIndexDatapointTypesRestriction |